CC bench/bench.c AR bench/libbench.a CC bench/p/padd.c CC bench/p/paddu.c CC bench/p/pclz.c CC bench/p/pctz.c CC bench/p/pcmp.c CC bench/p/pcopy.c CC bench/p/pdivrem.c /usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: libhebimath.a(recipu2x1.o): relocation R_X86_64_32S against hidden symbol `hebi_recipu64_v0lut__' can not be used when making a shared object /usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: libhebimath.a(pmove.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-alpine-linux-musl/6.3.0/../../../../x86_64-alpine-linux-musl/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status make: *** [Makefile:354: bench/p/pdivrem] Error 1
Name:
Anonymous2017-01-02 1:48
>>99 it appears that the error is because my distro makes use of PIE (position-independent executable) by default.