fork segfault

2014-07-14 Thread Qi Li
Hi all, I am developing openwrt on ARMv7, and the vfork function in popen sometimes cause segfault. I have traced with gdb, but I can't find the root cause. However, I doubt the problem is related with uClibc. The function call chain in my test is as follows: Netifd (main.c:335) --

Segment fault while calling vfork

2014-07-14 Thread Qi Li
Hi all, I am developing openwrt on ARMv7, and the vfork function in popen sometimes cause segfault. I have traced with gdb, but I can't find the root cause. However, I doubt the problem is related with uClibc. The function call chain in my test is as follows: Netifd (main.c:335) --

Re: [PATCH] gcc: explicitly use CFLAGS_FOR_TARGET instead of --enable-target-optspace

2014-07-14 Thread Carmelo Amoroso
Hello Alexey, I guess you sent it to the wrong list. You need to send to buildroot team. Regards, Carmelo On 7/11/2014 6:31 PM, Alexey Brodkin wrote: Due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id= it's impossible to specify custom CFLAGS_FOR_TARGET, it is always gets overriden with

Re: [PATCH] gcc: explicitly use CFLAGS_FOR_TARGET instead of --enable-target-optspace

2014-07-14 Thread Alexey Brodkin
Hi Carmelo, On Mon, 2014-07-14 at 15:47 +0200, Carmelo Amoroso wrote: Hello Alexey, I guess you sent it to the wrong list. You need to send to buildroot team. Regards, Carmelo Ooops my bad. Re-sent to buildroot list. Thanks for pointing at it. Regards, Alexey