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


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?

> > 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.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
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]