package: vsftpd
version: 2.3.5-2
severity: important
vsftpd fails to build on armhf with the following error. This initially
happened on the buildd
and I have also reproduced locally.
gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o
tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o
sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o
oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o
access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o
ftppolicy.o sysutil.o sysdeputil.o -lwrap -lpam -lssl -lcrypto -lcap -fPIE
-pie -Wl,-z,relro -Wl,-z,now
/usr/bin/ld: utility.o: relocation R_ARM_THM_MOVW_ABS_NC against `a local
symbol' can not be used when making a shared object; recompile with -fPIC
utility.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [vsftpd] Error 1
It also failed on the amd64 buildd in the same way but I was unable to
reproduce that.
I think the problem is that you are passing -fPIE to the linker but not
passing -fPIC
to the compiler but i'm not an expert on this.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org