This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/47536] gcc-4.5.2 fails to build on Solaris 10 i386
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 31 Jan 2011 09:49:19 +0000
- Subject: [Bug c++/47536] gcc-4.5.2 fails to build on Solaris 10 i386
- Auto-submitted: auto-generated
- References: <bug-47536-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536
Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |ebotcazou at gcc dot
| |gnu.org
Resolution| |INVALID
--- Comment #11 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-01-31 09:49:04 UTC ---
> So there are two issues with gcc-4.5.2 on Solaris:
> 1. Inability to detect GNU assembler in path (unwarranted requirement to pass
> --with-gnu-as). Broken build when either no GNU assembler in path or no option
> --with-gnu-as passed.
This works as designed. If you don't specify --with-as=xxx at configure time,
the compiler is configured to pick whatever assembler it finds at run time. On
Solaris, the default is the Sun assembler.
> 2. GNU assembler from path isn't used by g++, causing Sun assembler to fail on
> GNU-formatted assembler file.
Likewise. --with-gnu-as doesn't mean "pick the GNU assembler", it means that
the default assembler GCC will find is the GNU assembler.