http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47536

--- Comment #7 from Yuri <yuri at tsoft dot com> 2011-01-30 22:03:50 UTC ---
Actually g++ produces the correct assembler file, but still calls original Sun
assembler /usr/ccs/bin/as instead of the GNU one from the path, regardless of
the option --with-gnu-as passed to gcc configure.

Removing /usr/ccs/bin/as fixes the problem.

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.
2. GNU assembler from path isn't used by g++, causing Sun assembler to fail on
GNU-formatted assembler file.

Reply via email to