This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31490] Compile error section type conflict
- From: "janis at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2007 21:54:06 -0000
- Subject: [Bug middle-end/31490] Compile error section type conflict
- References: <bug-31490-10179@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #12 from janis at gcc dot gnu dot org 2007-08-27 21:54 -------
Trunk currently fails on powerpc64-linux building
libstdc++-v3/src/system_error.cc. Hacking libtool a bit allows seeing the
message "std::system_category causes a section type conflict". The file is
compiled with -O2 and -fdata-sections; if either of those is removed then the
bootstrap succeeds.
This PR looked related (and Andrew Pinski confirmed that it is) so I tried the
patch from comment #10; it needs more parens to avoid warnings, but with that
patch the bootstrap succeeds.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31490