Source: libntru Version: 0.5-1 Severity: important Tags: upstream Justification: fails to build from source User: debian-am...@lists.debian.org
The build of libntru for x32 (admittedly not a release architecture) failed: CC=cc ASM="cc -c" /usr/bin/perl src/sha1-mb-x86_64.pl elf > src/sha1-mb-x86_64.s cc -c src/sha1-mb-x86_64.s -o src/sha1-mb-x86_64.o CC=cc ASM="cc -c" /usr/bin/perl src/sha256-mb-x86_64.pl elf > src/sha256-mb-x86_64.s cc -c src/sha256-mb-x86_64.s -o src/sha256-mb-x86_64.o cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DNTRU_AVOID_HAMMING_WT_PATENT -Wall -Wextra -Wno-unused-parameter -mssse3 -O2 -Wdate-time -D_FORTIFY_SOURCE=2 -shared -Wl,-soname,libntru-0.5.so -o libntru-0.5.so src/bitstring.o src/encparams.o src/hash.o src/idxgen.o src/key.o src/mgf.o src/ntru.o src/poly.o src/rand.o src/arith.o src/sha1.o src/sha2.o src/nist_ctr_drbg.o src/rijndael.o src/sha1-mb-x86_64.o src/sha256-mb-x86_64.o -Wl,-z,relro -lrt /usr/bin/ld: src/sha1-mb-x86_64.o: relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' 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 If this assembler code is specifically geared for a 64-bit ABI, please do without it here. Otherwise, you might try adding -fPIC to ASM. 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/?a...@monk.mit.edu