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

Steve McIntyre steve at einval.com
Mon Jul 2 07:36:34 PDT 2012

On Mon, Jul 02, 2012 at 03:29:55PM +0100, Steve McIntyre wrote:
>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...

Nope, same segfault even with that turned on.

Steve McIntyre, Cambridge, UK.                                steve at einval.com
  Armed with "Valor": "Centurion" represents quality of Discipline,
  Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
  concord the digital world while feeling safe and proud.

More information about the klibc mailing list