Date: Sun, 04 Aug 2019 18:00:48 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239648] lang/gcc9: defines _GNU_SOURCE by default Message-ID: <bug-239648-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239648 Bug ID: 239648 Summary: lang/gcc9: defines _GNU_SOURCE by default Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: gerald@FreeBSD.org Reporter: pkubaj@FreeBSD.org Flags: maintainer-feedback?(gerald@FreeBSD.org) Assignee: gerald@FreeBSD.org G++9 (only C++) defines _GNU_SOURCE by default. This breaks some ports (e.g. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239627 ) on GCC architectures. After further investigation, I pinpointed it to /usr/local/lib/gcc9/gcc/powerpc64-portbld-freebsd12.0/9.1.0/plugin/include/= config/gnu-user.h, which has this line: #define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)" GCC8 didn't set it, this problem only appeared in 9. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239648-7788>