This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,
The patch here:
http://sourceware.org/ml/crossgcc/2005-05/msg00168.html
which is incorporated into the latest crosstool-0.38 causes two different
versions of bits/syscall.h to be installed in the final product. One in
${HEADERDIR}/include/ and the other in ${SYSROOT}/sys-include/
I built with demo-armv5b-softfloat.sh using:
eval `cat armv5b-softfloat.dat gcc-3.4.4-glibc-2.3.5-hdrs-2.6.11.2.dat` sh \
all.sh --notest
This causes problems because the two versions are different. Specifically, the
one installed in ${HEADERDIR}/include/ defines:
#define SYS_waitpid __NR_waitpid
__NR_waitpid is not defined for arm.
This gave me head-aches when compiling strace-4.5.8, which test for
SYS_waitpid being defined before using it.
Jon
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |