current HEAD is broken on old gcc (and warnings on current clang)
Hal Murray
hmurray at megapathdsl.net
Mon Feb 13 09:18:58 UTC 2017
Debian wheezy
gcc (Debian 4.7.2-5) 4.7.2
[96/97] Linking deb/main/ntpd/ntpd
/usr/bin/ld: libntp/pymodule.c.2.o: relocation R_X86_64_PC32 against symbol
`progname' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
cent2CentOS release 6.8 (Final)
gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)
[99/99] Linking cent2/main/ntptime/ntptime
/usr/bin/ld: libntp/pymodule.c.2.o: relocation R_X86_64_PC32 against symbol
`progname' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
NetBSD 6.1.5 (GENERIC)
gcc (NetBSD nb2 20110806) 4.5.3
[92/94] Linking bob2/main/ntpfrob/ntpfrob
ld: libntp/pymodule.c.2.o: relocation R_X86_64_PC32 against symbol `progname'
can
not be used when making a shared object; recompile with -fPIC
ld: final link failed: Bad value
FreeBSD 11.0-RELEASE-p1 (GENERIC) #0 r306420:
FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564)
many, but not all get warnings like this:
[ 3/95] Compiling libisc/backtrace.c
clang: warning: -Wl,-z,relro,-z,now: 'linker' input unused
clang: warning: argument unused during compilation: '-pie'
--
These are my opinions. I hate spam.
More information about the devel
mailing list