[LEDE-DEV] buildroot broken on debian jessie

Dirk dibdot at gmail.com
Sat Oct 29 02:19:30 PDT 2016

Hi Jo,

that's the output:

root at x250:/usr/lib/x86_64-linux-gnu# echo 'int main(int a, char **v) {
gzdopen(0, "rb"); return 0; }' | \
>     gcc -include zlib.h -x c -o test - -Wl,-Bstatic -lz -Wl,-Bdynamic
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/6/../../../x86_64-linux-
gnu/libz.a(gzlib.o): relocation R_X86_64_32S against `.rodata' can not
be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status


Am Samstag, den 29.10.2016, 11:10 +0200 schrieb Jo-Philipp Wich:
> Hi Dirk,

please run the following command and see if it is reporting any errors:

echo 'int main(int a, char **v) { gzdopen(0, "rb"); return 0; }' | \
    gcc -include zlib.h -x c -o test - -Wl,-Bstatic -lz -Wl,-Bdynamic

~ Jo

Lede-dev mailing list
Lede-dev at lists.infradead.org

More information about the Lede-dev mailing list