[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sparc: ld: --relax and -r may not be used together
From: |
Nicola Pero |
Subject: |
Re: sparc: ld: --relax and -r may not be used together |
Date: |
Mon, 11 Apr 2011 22:28:26 +0200 (CEST) |
I spent more time on this. Can you please try the latest version from trunk.
The only reasonably robust solution I could find was to use "-r" with GCC and
"-Wl,-r" with clang.
Testing would be welcome; let me know if it does or doesn't work with your
compiler/platform
combination (PS: if you can compile gnustep-base from a clean source checkout,
it works).
I hope it finally just works. That would be a relief :-)
Thanks
-----Original Message-----
From: "Riccardo Mottola" <address@hidden>
Sent: Sunday, 10 April, 2011 17:31
To: "David Chisnall" <address@hidden>
Cc: "Nicola Pero" <address@hidden>, "GNUstep Developer" <address@hidden>
Subject: Re: sparc: ld: --relax and -r may not be used together
Hi,
indeed... it is very strange..
http://hackage.haskell.org/trac/ghc/ticket/3791
is detailed and it even worked. I have seen several similar posts...
however according to
http://gcc.gnu.org/onlinedocs/gcc-3.2.3/gcc/Option-Summary.html#Option%20Summary
neither in it or in the 4.4/4.5 series I can find this option. The
closest is no-relax-immediate but not for sparc. What is this, black
magic? The quest for the hidden undocumented GCC option?
Riccardo
On 04/10/2011 04:36 PM, David Chisnall wrote:
> On 10 Apr 2011, at 14:43, Riccardo Mottola wrote:
>
>> The alternative is to add a configure check. In configure.ac, we need to try
>> determining if the compiler supports -mno-relax. With gcc is not that
>> difficult,
>> as we'd presumably simply grep the output of "gcc --target-help". But clang
>> doesn't seem to recognize --target-help. How do you get the list of
>> command-line
>> compiler options for clang ?
>
> To print all of the compiler options, you can do clang -cc1 -help, although
> that may not be what you want. I can't find -mno-relax documented in GCC, so
> I'm not sure what it actually does...
>
> David
>
> -- Sent from my Difference Engine
>
>
>
- RE: sparc: ld: --relax and -r may not be used together, Nicola Pero, 2011/04/09
- RE: sparc: ld: --relax and -r may not be used together, Nicola Pero, 2011/04/09
- Re: sparc: ld: --relax and -r may not be used together, Riccardo Mottola, 2011/04/11
- Re: sparc: ld: --relax and -r may not be used together, Nicola Pero, 2011/04/10
- Re: sparc: ld: --relax and -r may not be used together, Riccardo Mottola, 2011/04/11
- Re: sparc: ld: --relax and -r may not be used together, Nicola Pero, 2011/04/10
- Re: sparc: ld: --relax and -r may not be used together, Riccardo Mottola, 2011/04/11
- Re: sparc: ld: --relax and -r may not be used together, David Chisnall, 2011/04/10
- Re: sparc: ld: --relax and -r may not be used together, Riccardo Mottola, 2011/04/11
- Re: sparc: ld: --relax and -r may not be used together,
Nicola Pero <=
- Re: sparc: ld: --relax and -r may not be used together, kai . extern, 2011/04/13
- Re: sparc: ld: --relax and -r may not be used together, Riccardo Mottola, 2011/04/13
- Re: sparc: ld: --relax and -r may not be used together, Nicola Pero, 2011/04/13
Re: sparc: ld: --relax and -r may not be used together, Riccardo Mottola, 2011/04/11