This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/24345] libstdc++ build failure with IRIX ld(1)
- From: "bugzilla-gcc at thewrittenword dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Oct 2005 20:23:03 -0000
- Subject: [Bug libstdc++/24345] libstdc++ build failure with IRIX ld(1)
- References: <bug-24345-6116@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from bugzilla-gcc at thewrittenword dot com 2005-10-14 20:23 -------
Ok, not a binutils bug. Richard Sandiford <richard@codesourcery.com> provided
the solution. If GNU as is used with GNU ld, COMDAT group should be supported
on this platform. However, if GNU as is used with MIPSpro ld, COMDAT group
should _not_ be used. The problem is that GNU as supports it but the MIPSpro
linker does not. As the autoconf test only tests the compiler, GCC tries to use
it.
The current workaround is to set and export the following before 'make
bootstrap':
gcc_cv_as_comdat_group=no
gcc_cv_as_comdat_group_percent=no
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24345