Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Trouble with buildroot for ARM EABI
@ 2009-01-17  0:26 Daniel Mack
  2009-01-17 20:27 ` Daniel Mack
  2009-01-20 16:50 ` Sven Neumann
  0 siblings, 2 replies; 3+ messages in thread
From: Daniel Mack @ 2009-01-17  0:26 UTC (permalink / raw)
  To: buildroot

Hi,

we've been hunting down weird effects regarding a build for ARM EABI  
with the 20090113 br2 snapshot.

As far as we tracked things down, at least one of the culprits is the  
uClibc package which does not generate bits/sysnum.h correctly. The  
file include/unistd.h that ships with the kernel defines the syscall  
numbers depending on __ARM_EABI__, which is not set correctly by  
uclibc when it is included to generate sysnum.h. Hence, the generated  
file (eventually in build_arm/staging_dir/usr/include/bits/sysnum.h)  
contains false assumptions about the offset of syscalls as it sets it  
to 0x900000 which is only valid for OABI. The effect of this  
misbehaviour are instantly crashing target binaries, at least when  
OABI compat support is switched off in the kernel config.

We tried that on different Debian/unstable boxed which all show equal  
effects. I really wonder why nobody else stumbled over this issue  
before. Could anyone shed some light on and propose a fix for this  
issue?

Thanks,
Daniel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-01-20 16:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-17  0:26 [Buildroot] Trouble with buildroot for ARM EABI Daniel Mack
2009-01-17 20:27 ` Daniel Mack
2009-01-20 16:50 ` Sven Neumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox