https://sourceware.org/bugzilla/show_bug.cgi?id=19579
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com --- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Andreas Krebbel from comment #5) > Using head binutils however I get: > gfortran -g -O2 -std=legacy -fno-automatic -fPIC -Wl,--as-needed -Wl,-z > -Wl,defs -pie -o .libs/mopac7 mopac7app.o ./.libs/libmopac7.so -lm > -Wl,--rpath -Wl,/home/andreas/mopac/install/lib > /home/andreas/binutils/binutils-26022016-install/bin/ld: mopac7app.o: > relocation R_X86_64_PC32 against undefined symbol `geokst_' can not be used > when making a shared object; recompile with -fPIC > /home/andreas/binutils/binutils-26022016-install/bin/ld: final link failed: > Bad value > > Although everything is built with -fPIC > I can reproduce it on Fedora 23. It is a bug in redhat-rpm-config, which has redhat-hardened-cc1 and redhat-hardened-ld. But there is no redhat-hardened-f951. mopac7app.o isn't compiled with PIE/PIC. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils