This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9
- From: "dhaliK at jla dot rutgers dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Sep 2007 14:12:15 -0000
- Subject: [Bug c/33598] gcc 4.2.1 ignores GNU ld on Solaris 9
- References: <bug-33598-15169@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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. This program has absolutely no warranty.
I'm thinking -with-gnu-ld would fail anyways because since this is Solaris we
have our GNU binaries in a non-standard path, hence why we use --with-ld=
Two questions: Is --enable-bootstrap the default action and *should* I be
explicitly enabling bootstrap with this type of setup?
I'm also going to try building it with the Sun as and ld. In the same rpm build
we do a second normal sparc build with the only difference being its use of the
Sun tools, and that build compiles everything just fine. Even though my
predecessor alreayd set it up that way, I'm not sure if the GNU ld is
specifically needed for sparcv9 since Sun ld works fine on normal sparc builds.
Either way... if it's ignoring the explicit declaration of GNU ld and using Sun
ld, maybe setting it to Sun ld from the start will have a better result.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33598