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

Steve McIntyre steve at einval.com
Mon Jul 2 07:29:55 PDT 2012


On Sun, Jul 01, 2012 at 09:15:45PM +0000, Thorsten Glaser wrote:
>maximilian attems dixit:
>
>>so could it be out of blindness that we didn't properly build with
>>thumb instruction in Debian?
>
>I’ve tried enabling thumb, but the bugs didn’t go away with
>that either.

There's a reason for that - it's already defaulting to Thumb anyway,
as that's the compiler default for armhf. Along the same lines as
changing the optimisation level (-O0 and -O1 both work fine),
switching to ARM code by adding -marm also makes the bug go away.

Maks, would you like a trivial patch to do that?

I'm also pondering the other Thumb settings in MCONFIG - as far as I
can see, CONFIG_KLIBC_THUMB is not set at the moment even though we
*are* clearly building with Thumb. Investigating now...

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
Who needs computer imagery when you've got Brian Blessed?



More information about the klibc mailing list