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]

Re: EABI support


Yann E. MORIN wrote:
Sasha, All,

On Tuesday 30 March 2010 18:17:39 Sasha Sirotkin wrote:
ng@piments.com wrote:
On 03/30/10 17:45, Sasha Sirotkin wrote:
Sasha Sirotkin wrote:
It seems that EABI support is not functional in the latest version. I
try to compile the following configuration: ARM, glibc, EABI and it
fails.
Oops, I meant OABI. EABI seems to work OK.

I'm not surprised. It's been a while I haven't build an OABI toolchain. Can't you switch to EABI?


Actually, I started with EABI and ran into a problem of /sbin/init segmentation fault. I had no idea how to approach this issue so I thought that OABI might work. I guess I should get back to debugging the original issue.


Will send you the build log anyway.

Thanks.
Erm, you may need to say how it is failing !
[ALL ] /unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-gnu/build/build-libc/libc_pic.os: In function `setjmp':
[ALL ] unwind-pe.c:(.text+0x15434): undefined reference to `__GI___sigsetjmp'

Hmmm. Smells like the setjmp/longjmp classical issue. Look for 'sjlj' in the menuconfig, and force to not using sjlj. -> CT_CC_SJLJ_EXCEPTIONS_DONT_USE

[ALL ] /unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-gnu/build/build-libc/libc_pic.os: In function `__GI__setjmp':
[ALL ] unwind-pe.c:(.text+0x15444): undefined reference to `__GI___sigsetjmp'
[ALL ] collect2: ld returned 1 exit status
[ERROR] make[2]: *** [/unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-gnu/build/build-libc/libc.so] Error 1
[ALL ] make[2]: Leaving directory `/unpackaged/crosstool-ng-1.6.1/targets/src/glibc-2.9'
[ERROR] make[1]: *** [all] Error 2
[ALL ] make[1]: Leaving directory `/unpackaged/crosstool-ng-1.6.1/targets/arm-unknown-linux-gnu/build/build-libc'
[ERROR] Build failed in step 'Installing C library'
[ERROR] Error happened in '/unpackaged/crosstool-ng-1.6.1/scripts/functions' in function 'CT_DoExecLog' (line unknown, sorry)
[ERROR] called from '/unpackaged/crosstool-ng-1.6.1/scripts/build/libc/glibc.sh' at line # 483 in function 'do_libc'
[ERROR] called from '/unpackaged/crosstool-ng-1.6.1/scripts/crosstool-NG.sh' at line # 562 in function 'main'
[ERROR] Look at '/unpackaged/x-tools/arm-unknown-linux-gnu/build.log' for more info on this error.

We'll need your build.log file, so we can try to reproduce. Send compressed. If >500KiB, send to me and not the list.

Regards,
Yann E. MORIN.



--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]