This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/23835] gdb/common/common-defs.h:71:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
- From: "sergiodj at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 30 Oct 2018 16:04:25 +0000
- Subject: [Bug gdb/23835] gdb/common/common-defs.h:71:0: error: "_FORTIFY_SOURCE" redefined [-Werror]
- Auto-submitted: auto-generated
- References: <bug-23835-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=23835
Sergio Durigan Junior <sergiodj at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |sergiodj at redhat dot com
Resolution|--- |WONTFIX
--- Comment #1 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
Apparently this is a Gentoo problem. See:
https://bugs.gentoo.org/621036
Gentoo patches their GCC to explicitly define _FORTIFY_SOURCE=2, which causes
problems when the user tries to (re)define it. There's at least one other bug
report here:
https://jira.mongodb.org/browse/SERVER-29982
Because it's a distro bug, I'm closing this bug as WONTFIX. If you still think
this is a GDB bug, feel free to reopen.
Thanks.
--
You are receiving this mail because:
You are on the CC list for the bug.