[klibc] Bug#634890: klibc issues on armhf (not Debian/armel)

maximilian attems max at stro.at
Thu Jun 28 09:59:34 PDT 2012

On Tue, 19 Jun 2012, Steve McIntyre wrote:

> More debugging results:
>  * If I replace -Os with -O0 to disable optimisation, the crash goes
>    away too. Suggests (maybe) a compiler bug here...

nasty. :|
>  * There's a real bug in the ARM assembly version of longjmp in
>    usr/klibc/arch/arm/setjmp.S: it will always pass back its first
>    argument as a return value, even if it's 0 (see the man page for
>    more details). Oddly, the Thumb implementation in the same file
>    *is* correct!

care to cook up a patch, please?

thank you.


More information about the klibc mailing list