------- Comment #2 from rob1weld at aol dot com 2009-01-05 17:07 ------- I noticed this is a "P1".
> Rainer Orth says: > Building current mainline on Solaris 11/SPARC with GNU ld 2.19 and > Sun as fails when building libgomp: The Official Position of Sun is: "You must use Sun's ld". Andrew, on that basis you _might_ want to mark this Bug Report as INVALID. The Reporter is (according to the Manufacturer of his Operating System) trying to configure a compiler (to interface with Sun's Operating System) in a manner that in not supported. For that reason this should not be a "P1" - but it should be fixed nonetheless. You are "allowed" to do it, it just is not recommended, and thus should this be a "P1" ? I (like Rainer) compiled gcc (but it is a more recent version) using binutils 2.19 "ld" and I _also_ used binutils 2.19 "as" (unlike what Rainer did). I am also "configuring the compiler in a manner that in not supported by Sun", but it _is_ supported by GNU; and that is what I am testing. NOTE: There is a reason (for Sun) to recommend the use of Sun's "ld" and no reason (for us) to require Sun's "as" be used. That statement is even more true if you are using binutils 2.19 "ld" (and thus have 'as' version 2.19) and not using Sun's "ld" (as is recommended). The only exception to this would either be to: 1. Test using binutils 2.19 "ld" instead of Sun's "ld" (which is NOT recommended (by Sun) and "uncommented on, but permitted" by GNU). 2. Try something that is not recommended and get it to work. I (who have a few years of building / porting GCC) can build "gcc 4.4.0 20090104" on i386-pc-solaris2.11 (OpenSolaris 2008.11) this way: # /usr/local/bin/ld --version | grep Binutils GNU ld (GNU Binutils) 2.19 # /usr/local/bin/as --version | grep Binutils GNU ld (GNU Binutils) 2.19 # /usr/local/bin/gcc -v Using built-in specs. Target: i386-pc-solaris2.11 Configured with: ../gcc_trunk/configure --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --enable-shared --disable-static --enable-decimal-float --enable-nls --without-system-libunwind --with-gnu-as --with-as=/usr/local/bin/as --with-gnu-ld --with-ld=/usr/local/bin/ld Thread model: posix gcc version 4.4.0 20090104 (experimental) (GCC) I have built gcc previously using "--with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld" (that is a portion of Sun's recommended configure argument list) and libgomp built correctly using Sun's "as" so, Andrew, I believe this "regression" goes back only as far as 4.2.1 . Rob -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38086