Hi,
Michael Hope :
> With our configuration, crosstool-NG sets CFLAGS to -pipe
> -fno-stack-protector -U_FORTIFY. This overrides the default -O2 -g
> for later stages and gives us an unoptimised GCC.
>
> The test build has just come in. Before:
>
> michaelh@crucis:$ time arm-linux-gnueabihf-gcc
On 12 November 2012 22:19, Mickey Iluz wrote:
> Hi,
>
> I've encountered a case where gcc produces a broken program: a branch that
> should never be taken is taken, and wrong values are written to memory (and
> printed out).
> The code is fairly ordinary and small. It can be seen here:
> http:/
On 13 November 2012 22:58, Matthias Klose wrote:
> Am 12.11.2012 03:27, schrieb Michael Hope:
>> I think I've found the problem. We pass -U_FORTIFY and
>> -fno-stack-protector to make the binary more universal, and the way
>> that crosstool-NG passes these flags on to the tool overrides the
>> de
On 14 November 2012 00:48, 남관우 wrote:
>
> Hi,
>
>
>
> First, our CFLAGS is here.
>
>
>
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,--as-needed
> -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv
Title: Samsung Enterprise Portal mySingle
Hi,
First, our CFLAGS is here.
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3-d16 -mfl
To Mr. Nam & Ilya,
Can you share the compiler option?
Thank you,
Kyungmin Park
On 11/13/12, Mans Rullgard wrote:
> On 13 November 2012 05:12, Kyungmin Park wrote:
>> Hi Michael,
>>
>> Recently I tested the linaro toolchain gcc-4.6 version and try to
>> build our codes.
>> it's okay to compile
On 13 November 2012 05:12, Kyungmin Park wrote:
> Hi Michael,
>
> Recently I tested the linaro toolchain gcc-4.6 version and try to
> build our codes.
> it's okay to compile the codes, but when launching the binary it
> occures following messages.
>
> /usr/lib/libnfc-common-lib.so.1: unexpected re
Am 12.11.2012 03:27, schrieb Michael Hope:
> I think I've found the problem. We pass -U_FORTIFY and
> -fno-stack-protector to make the binary more universal, and the way
> that crosstool-NG passes these flags on to the tool overrides the
> default package flags and turns off any optimisations.
>