[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: |
Sat, 9 Apr 2011 15:18:12 +0200 (CEST) |
> Of course, we now need testing with various compilers
> on various platforms. We switched from -r to -Wl,-r
> to have it work properly on both GCC and clang. Hopefully
> -mno-relax works with clang too.
It actually doesn't even seem to work with GCC 4.6. When building
gnustep-base with GCC 4.6.0 on Linux i386, I now get --
Making all for subproject Additions...
gcc -nostdlib -Wl,-r -mno-relax -shared-libgcc -fexceptions -o
./obj/subproject.o obj/Additions.obj/GSObjCRuntime.m.o
obj/Additions.obj/GCObject.m.o obj/Additions.obj/GCArray.m.o
obj/Additions.obj/GCDictionary.m.o obj/Additions.obj/GSLock.m.o
obj/Additions.obj/GSMime.m.o obj/Additions.obj/GSXML.m.o
obj/Additions.obj/GSFunctions.m.o obj/Additions.obj/GSInsensitiveDictionary.m.o
obj/Additions.obj/NSArray+GNUstepBase.m.o
obj/Additions.obj/NSAttributedString+GNUstepBase.m.o
obj/Additions.obj/NSBundle+GNUstepBase.m.o
obj/Additions.obj/NSCalendarDate+GNUstepBase.m.o
obj/Additions.obj/NSData+GNUstepBase.m.o
obj/Additions.obj/NSDebug+GNUstepBase.m.o
obj/Additions.obj/NSError+GNUstepBase.m.o
obj/Additions.obj/NSFileHandle+GNUstepBase.m.o
obj/Additions.obj/NSLock+GNUstepBase.m.o
obj/Additions.obj/NSMutableString+GNUstepBase.m.o
obj/Additions.obj/NSNumber+GNUstepBase.m.o
obj/Additions.obj/NSObject+GNUstepBase.m.o
obj/Additions.obj/NSPropertyList+GNUstepBase.m.o
obj/Additions.obj/NSProcessInfo+GNUstepBase.m.o
obj/Additions.obj/NSStream+GNUstepBase.m.o
obj/Additions.obj/NSString+GNUstepBase.m.o
obj/Additions.obj/NSTask+GNUstepBase.m.o
obj/Additions.obj/NSThread+GNUstepBase.m.o
obj/Additions.obj/NSURL+GNUstepBase.m.o obj/Additions.obj/Unicode.m.o ;
gcc: error: unrecognized command line option ‘-mno-relax’
So, more sophistication is needed ...
Thanks
- 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 <=
- 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, 2011/04/11
- 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