Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Dirk
Hi Jo, thanks, I've switched to latest gcc-5 via update-alternatives and my buildroot ist up & running ... ;-) gcc (Debian 5.4.1-3) 5.4.1 20161019 Copyright (C) 2015 Free Software Foundation, Inc. br dirk Am Samstag, den 29.10.2016, 18:13 +0200 schrieb Jo-Philipp Wich: > Hi Dirk, I guess it bo

Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Martin Blumenstingl
On Sat, Oct 29, 2016 at 6:13 PM, Jo-Philipp Wich wrote: > Hi Dirk, > > I guess it boils down to gcc 6 being unsupported yet, I would anticipate > issues with other host builds as well. > > For now I suggest to downgrade to gcc 5.x Arch Linux also uses gcc 6: $ gcc --version gcc (GCC) 6.2.1 2016083

Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Jo-Philipp Wich
Hi Dirk, I guess it boils down to gcc 6 being unsupported yet, I would anticipate issues with other host builds as well. For now I suggest to downgrade to gcc 5.x ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/m

Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Dirk
Hi Alex, you're right, but I'm using testing of course and the right codename is "stretch" root@blackserve:~# uname -a Linux blackserve 4.7.0-1-amd64 #1 SMP Debian 4.7.8-1 (2016-10-19) x86_64 GNU/Linux root@blackserve:~# lsb_release -a No LSB modules are available. Distributor ID: Debian Descrip

Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Alexander Dahl
Hei hei, On 29.10.2016 11:00, Dirk wrote: > I'm using debian testing/jessie as host - see output below. How? Jessie is stable since 2015, current testing is stretch. o.O Greets Alex signature.asc Description: OpenPGP digital signature ___ Lede-dev

Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Dirk
Hi Jo, that doesn't help. I've added the -fPIC command to your test: root@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-li

Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Jo-Philipp Wich
Hi Dirk, please try the following patch: http://git.lede-project.org/3bc496c ~ Jo ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev

[LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread Dirk
Hi Jo, that's the output: root@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): relo

Re: [LEDE-DEV] buildroot broken on debian jessie

2016-10-29 Thread 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] buildroot broken on debian jessie

2016-10-29 Thread Dirk
Hi, something scrumbled my formerly working LEDE buildroot environment. I'm using debian testing/jessie as host - see output below. The static zlib package (zlib1g-dev) is installed and the library is located in /usr/lib/x86_64-linux-gnu/libz.a. Any idea how to nail down this problem? Thanks! Dir