This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/23835] gdb/common/common-defs.h:71:0: error: "_FORTIFY_SOURCE" redefined [-Werror]


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]