[+cc steffen, karel] Any clues about this build failure?
On Wed, Oct 18, 2017 at 8:22 AM, Aaron M. Ucko <[email protected]> wrote: > Source: libtomcrypt > Version: 1.18-1 > Severity: important > Justification: fails to build from source (but built successfully in the past) > User: [email protected] > > The latest build of libtomcrypt for x32 (admittedly not a release > architecture) failed per the below excerpts from > https://buildd.debian.org/status/fetch.php?pkg=libtomcrypt&arch=x32&ver=1.18.0-1&stamp=1508165690&raw=0: > > libtool: compile: gcc -I./src/headers/ -Wall -Wsign-compare -Wshadow > -DLTC_SOURCE -Wextra -Wsystem-headers -Wbad-function-cast -Wcast-align > -Wstrict-prototypes -Wpointer-arith -Wdeclaration-after-statement > -Wwrite-strings -Wno-type-limits -O3 -funroll-loops -fomit-frame-pointer > -DGIT_VERSION=\"1.18.0\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat > -Werror=format-security -DGMP_DESC -DLTM_DESC -DUSE_LTM -Wdate-time > -D_FORTIFY_SOURCE=2 -specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro > -Wl,-z,now -c src/ciphers/aes/aes.c -fPIC -DPIC -o > src/ciphers/aes/.libs/aes.o > [...] > libtool --mode=link --tag=CC gcc -I./src/headers/ -Wall -Wsign-compare > -Wshadow -DLTC_SOURCE -Wextra -Wsystem-headers -Wbad-function-cast > -Wcast-align -Wstrict-prototypes -Wpointer-arith > -Wdeclaration-after-statement -Wwrite-strings -Wno-type-limits -O3 > -funroll-loops -fomit-frame-pointer -DGIT_VERSION=\"1.18.0\" -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. > -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong -Wformat > -Werror=format-security -DGMP_DESC -DLTM_DESC -DUSE_LTM -Wdate-time > -D_FORTIFY_SOURCE=2 -specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro > -Wl,-z,now src/ciphers/aes/aes.lo src/ciphers/aes/aes_enc.lo > src/ciphers/anubis.lo [...] src/stream/sober128/sober128_test.lo -lgmp > -ltommath -o libtomcrypt.la -rpath /usr/local/lib -version-info 1:0 > libtool: link: gcc -shared -fPIC -DPIC src/ciphers/aes/.libs/aes.o > src/ciphers/aes/.libs/aes_enc.o src/ciphers/.libs/anubis.o [...] > src/stream/sober128/.libs/sober128_test.o -lgmp -ltommath -O3 -g -O2 > -specs=/usr/share/dpkg/pie-compile.specs -fstack-protector-strong > -specs=/usr/share/dpkg/pie-link.specs -Wl,-z -Wl,relro -Wl,-z -Wl,now > -Wl,-soname -Wl,libtomcrypt.so.1 -o .libs/libtomcrypt.so.1.0.0 > /usr/bin/ld: src/ciphers/aes/.libs/aes.o: relocation R_X86_64_PC32 against > symbol `rijndael_setup' 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 > > I'm not sure why the linker's complaining about missing an option you > did in fact supply, but perhaps the use of pie-*.specs is somehow > throwing things off; please try forgoing PIE on x32 for now. > > Thanks! > > -- > Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) > http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/[email protected] -- Best regards, Michael

