This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/47536] gcc-4.5.2 fails to build on Solaris 10 i386


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]