Bug 235986 - sysutils/lttng-tools: fix build with GCC-based architectures
Summary: sysutils/lttng-tools: fix build with GCC-based architectures
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mahdi Mokhtari
Depends on:
Reported: 2019-02-24 10:05 UTC by Piotr Kubaj
Modified: 2019-02-27 16:21 UTC (History)
2 users (show)

See Also:
mmokhi: maintainer-feedback+

patch (573 bytes, patch)
2019-02-24 10:05 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer 2019-02-24 10:05:30 UTC
Created attachment 202318 [details]

Add USES=compiler:c11 to fix build on GCC architectures (GCC 8 doesn't segfault during build).

While here, add USES=gnome.

Tested on powerpc64 and amd64.

Hardware sponsored by IntegriCloud.
Comment 1 commit-hook freebsd_committer 2019-02-27 16:20:20 UTC
A commit references this bug:

Author: mmokhi
Date: Wed Feb 27 16:20:08 UTC 2019
New revision: 494067
URL: https://svnweb.freebsd.org/changeset/ports/494067

  sysutils/lttng-tools: Fix build GCC (and Tier-2 archs)
  Use compiler:c11 to fix the ld segfault during the build

  PR:		235986
  Reported by:	Piotr Kubaj <pkubaj@anongoth.pl>
  Sponsored by:	The FreeBSD Foundation

Comment 2 Mahdi Mokhtari freebsd_committer freebsd_triage 2019-02-27 16:21:10 UTC
Thanks a lot for helps and contributions dear Piotr :)