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: Undefined reference to atexit


Jean-Philippe, All,

On Thursday 25 March 2010 15:27:53 Jean-Philippe François wrote:
> I encountered a 'Undefined reference to atexit'
> when trying my newly compiled toolchain on a project:
> The toolchain was built using :
> - ctng version 1.6.1
> - gcc 4.3.4
> - eglibc 2.10
> - binutils 2.20
> 
> According to the eglibc FAQ, it means the linker can't find libc_nonshared.a
> libc_nonshared.a seems correctly placed in the sysroot/usr/lib/ directory.
> What is strange is that a previously built toolchain using :
> - ctng version 1.4.0
> - gcc 4.3.2
> - eglibc 2.9
> - binutils 2.19.1

What architecture?

> Was working correctly.
> I think this warning : 
> "codecscfg/linker.cmd contains output sections; did you forget -T?"
> was not present 

Look at what changed between binutils-2.19.1 and 2.20, and fix the linker
script accordingly.

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]