Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-12 Thread Joerg Schilling
Raffaele Belardi wrote: > > Or dig into why the following happens, i.e. why is __alloca not > > defined in glob_in_dir() ... > > > > I don't think it's glibc, here make compiles fine: It is built into gcc, but you need the right include file that defines: #define

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread Raffaele Belardi
David Haller wrote: > Hello, > > On Mon, 11 Dec 2017, tu...@posteo.de wrote: >> On 12/11 05:13, David Haller wrote: >>> Hello, >>> >>> On Sun, 10 Dec 2017, tu...@posteo.de wrote: x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\"

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread tuxic
Hi, On 12/11 09:07, David Haller wrote: > Hello, > > On Mon, 11 Dec 2017, tu...@posteo.de wrote: > >On 12/11 05:13, David Haller wrote: > >> Hello, > >> > >> On Sun, 10 Dec 2017, tu...@posteo.de wrote: > >> >x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" > >>

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread David Haller
Hello, On Mon, 11 Dec 2017, tu...@posteo.de wrote: >On 12/11 05:13, David Haller wrote: >> Hello, >> >> On Sun, 10 Dec 2017, tu...@posteo.de wrote: >> >x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" >> >-DLIBDIR=\"/usr/lib64\" -DINCLUDEDIR=\"/usr/include\" -DHAVE_CONFIG_H -I. >>

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread tuxic
On 12/11 06:38, Raffaele Belardi wrote: > tu...@posteo.de wrote: > > On 12/11 10:12, Raffaele Belardi wrote: > >> tu...@posteo.de wrote: > >>> > >>> sys-devel/make-4.2.1-r1 failed to compile with this: > >>> > >>> How can I recompile make -- it is still non-PIE and one of those > >>> application

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread Raffaele Belardi
tu...@posteo.de wrote: > On 12/11 10:12, Raffaele Belardi wrote: >> tu...@posteo.de wrote: >>> >>> sys-devel/make-4.2.1-r1 failed to compile with this: >>> >>> How can I recompile make -- it is still non-PIE and one of those >>> application which I cant convince to be friendly to gcc :) >>> >>>

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread tuxic
On 12/11 10:12, Raffaele Belardi wrote: > tu...@posteo.de wrote: > > Hi, > > > > sys-devel/make-4.2.1-r1 failed to compile with this: > > > > > Online I found articles which explain, why it is not recommended to > > use alloca() at all: > > RETURN VALUE The alloca() function returns a pointer

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread tuxic
On 12/11 05:13, David Haller wrote: > Hello, > > On Sun, 10 Dec 2017, tu...@posteo.de wrote: > >x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" > >-DLIBDIR=\"/usr/lib64\" -DINCLUDEDIR=\"/usr/include\" -DHAVE_CONFIG_H -I. > >-I./glob-march=native -O2 -pipe -c -o remote-stub.o

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread David Haller
Hello, On Sun, 10 Dec 2017, tu...@posteo.de wrote: >x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" >-DLIBDIR=\"/usr/lib64\" -DINCLUDEDIR=\"/usr/include\" -DHAVE_CONFIG_H -I. >-I./glob-march=native -O2 -pipe -c -o remote-stub.o remote-stub.c >x86_64-pc-linux-gnu-gcc

Re: [gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-11 Thread Raffaele Belardi
tu...@posteo.de wrote: > Hi, > > sys-devel/make-4.2.1-r1 failed to compile with this: > > Online I found articles which explain, why it is not recommended to > use alloca() at all: > RETURN VALUE The alloca() function returns a pointer to the beginning of the > allocated space. If the

[gentoo-user] Make failed to compile: symbol __alloca not found...

2017-12-09 Thread tuxic
Hi, sys-devel/make-4.2.1-r1 failed to compile with this: x86_64-pc-linux-gnu-gcc -DLOCALEDIR=\"/usr/share/locale\" -DLIBDIR=\"/usr/lib64\" -DINCLUDEDIR=\"/usr/include\" -DHAVE_CONFIG_H -I. -I./glob-march=native -O2 -pipe -c -o vpath.o vpath.c x86_64-pc-linux-gnu-gcc