Re: 2.6.17-mm5 -- Busted toolchain? -- usr/klibc/exec_l.c:59: undefined reference to `__stack_chk_fail'

H. Peter Anvin
2006-07-02T03:04:35Z

Sam Ravnborg wrote:
>
>> -KLIBCREQFLAGS :=
>> +KLIBCREQFLAGS := $(call cc_option, -fno-stack-protector, )
>
> This needs to be $(call cc-option, ...)
> '-' not '_'.
>

*plonk* OK... I feel dumb now :)

Miles: could you try this out?

>> +++ b/usr/klibc/arch/arm/MCONFIG
>> @@ -12,7 +12,7 @@ CPU_TUNE := strongarm
>>
>> KLIBCOPTFLAGS = -Os -march=$(CPU_ARCH) -mtune=$(CPU_TUNE)
>> KLIBCBITSIZE = 32
>> -KLIBCREQFLAGS = -fno-exceptions
>> +KLIBCREQFLAGS += -fno-exceptions
>
> This should be fixed for KLIBCOPTFLAGS also. Unrelated to this issue.
>

*Nod.*

-hpa