Re: [OpenWrt-Devel] [PATCH] Remove fhonour-copts

2010-10-14 Thread Roberto Riggio
Hi Florian, sorry it was a problem on my side. The package I'm trying to compile uses the host environment to compile some execs. The honour-copts was also passed during this ste. I've solved the problem by splitting the compilation in host/target. I will soon post a patch for the package (wing

Re: [OpenWrt-Devel] [PATCH] Remove fhonour-copts

2010-10-11 Thread Roberto Riggio
Il 11/10/2010 13:59, Florian Fainelli ha scritto: I'm not using an external toolchain, however I'm getting this error: cc1plus: error: unrecognized command line option "-fhonour-copts" Ok, but that means you have patched your toolchain not to include the - fhonour-opts patch right? No, I have

Re: [OpenWrt-Devel] [PATCH] Remove fhonour-copts

2010-10-11 Thread Stephen Thornton
Hi, Is this perchance related to the problem I mentioned the other day? I cannot get the grub package (stage 2) to build - I get the __stack_chk_fail error, even though -fno-stack-protector is definitely set. I am not using the host toolchain, just the standard, out of the box toolchain built f

Re: [OpenWrt-Devel] [PATCH] Remove fhonour-copts

2010-10-11 Thread Roberto Riggio
Il 11/10/2010 13:30, Florian Fainelli ha scritto: Hello Roberto, Hi I just reviewed this part of the patch, and it is enclosed with an ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) which is evaluated to true, in the case of a non-external toolchain build, so your patch also removes -fhonour-opts for n

Re: [OpenWrt-Devel] [PATCH] Remove fhonour-copts

2010-10-11 Thread Roberto Riggio
Ping... Il 05/10/2010 09:30, Roberto Riggio ha scritto: As suggested by Florian, I'm submitting a patch that removes the honour-copts CFLAG when using an external toolchain. With the flag I'm getting this error when trying to compile a package (the click router): cc1plus: error: unrecognized

[OpenWrt-Devel] [PATCH] Remove fhonour-copts

2010-10-05 Thread Roberto Riggio
As suggested by Florian, I'm submitting a patch that removes the honour-copts CFLAG when using an external toolchain. With the flag I'm getting this error when trying to compile a package (the click router): cc1plus: error: unrecognized command line option "-fhonour-copts" Signed-off-by: Rober