[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9

2007-10-23 Thread dhaliK at jla dot rutgers dot edu
--- Comment #16 from dhaliK at jla dot rutgers dot edu 2007-10-23 22:07 --- Ok, so I'm back on the track of what's going on here. I built it with multilib as you said, and it builds 32/64 fine on Solaris, but when it goes to link internally it chokes on the 64-bitness. In other words

[Bug c/33598] New: gcc 4.2.1 ignores GNU LD in Solaris 9

2007-09-30 Thread dhaliK at jla dot rutgers dot edu
Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: dhaliK at jla dot rutgers dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33598

[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9

2007-09-30 Thread dhaliK at jla dot rutgers dot edu
--- Comment #5 from dhaliK at jla dot rutgers dot edu 2007-09-30 14:12 --- $ /usr/local/gnu/bin/ld --version GNU ld version 2.17 Copyright 2005 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License

[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9

2007-09-30 Thread dhaliK at jla dot rutgers dot edu
--- Comment #10 from dhaliK at jla dot rutgers dot edu 2007-09-30 17:08 --- We build it twice. One for normal sparc (v8+ I believe) and one for sparcv9. The rpm spec file just cd's into gcc and makes a tmp sparc directory... hence the ../configure. It then makes a sparcv9 directory

[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9

2007-09-30 Thread dhaliK at jla dot rutgers dot edu
--- Comment #12 from dhaliK at jla dot rutgers dot edu 2007-09-30 18:12 --- Thanks for the subdir heads up, I was not aware of that being an issue. On my next build I'll move it outside the src tree and see if it is happier. As far as sparcv9 goes, the bin and lib dirs obviously have

[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9

2007-09-30 Thread dhaliK at jla dot rutgers dot edu
--- Comment #14 from dhaliK at jla dot rutgers dot edu 2007-09-30 18:40 --- None of these settings will give you a sparcv9 compiler and that could explain your problem. The sparcv9 subdirectory of /lib on Solaris contains 64-bit libraries so you need a 64-bit capable compiler