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: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Oct 2007 05:26:49 -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 #17 from ebotcazou at gcc dot gnu dot org 2007-10-24 05:26 -------
> In other words, gcc looks like it requires gnu ld in order to build 64bit
> on Solaris and that was why we had been building two flavors of it.
That's wrong.
> The file I'm showing above had been build with gcc -mcpu=v9 -m64, so it
> should pass that along, but it doesn't.
No, it shouldn't, you have to pass -m64 at link time.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33598