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.