[LEDE-DEV] buildroot broken on debian jessie

Dirk dibdot at gmail.com
Sat Oct 29 02:52:45 PDT 2016


Hi Jo,

that doesn't help. I've added the -fPIC command to your test:

root at x250:/home/dirk/Downloads/lede/clean/source# echo 'int main(int a,
char **v) { gzdopen(0, "rb"); return 0; }' |     gcc -include zlib.h -x
c -o test - -fPIC -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

br
dirk

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

please try the following patch:
http://git.lede-project.org/3bc496c

~ Jo

_______________________________________________
Lede-dev mailing list
Lede-dev at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/lede-dev



More information about the Lede-dev mailing list