Closed sagitter closed 3 years ago
On 9 Feb 2021, at 10:25, Antonio notifications@github.com wrote:
Hi all.
gnustep-base-1.27.0 is not compiled in Fedora 34 because of this error:
...
/tmp/ccK5XvmG.s:34584: Error: symbol `objc_class_refGSMutableInsensitiveDictionary.lto_priv.1' is already defined make[5]: *** [/tmp/ccnanzui.mk:194: /tmp/ccIPvrZq.ltrans64.ltrans.o] Error 1
I don't get that on Fedora 33 with trunk (which really needs to be the basis of a new release very soon), either building with gcc or with clang/libobjc2 Please could you see if you get the same issue using trunk. If you do get that issue using trunk, please could you provide your config.log, so we can see exactly what the setup is.
If you do get that issue using trunk, please could you provide your config.log, so we can see exactly what the setup is.
config.log is attached config-log.zip
I could see that the same compiler is used as on my fedora-33 system, so I guess the issue is with the linker.
And in the configure script I can see that it warns of bad link options being used:
configure:2772: WARNING: You are running configure with the link options (-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ) set to a different value from that used by gnustep-make (-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared-libgcc). To avoid conflicts/problems, reconfigure/reinstall gnustep-make to use LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld or run the gnustep-base configure again with your LDFLAGS environment variable set to -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared-libgcc
So this looks like the issue is probably with explicitly configuring the packages with inconsistent options, rather than a bug as such.
Closing ... no feedback in 6 months
Hi all.
gnustep-base-1.27.0
is not compiled in Fedora 34 because of this error: