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]

Undefined reference to atexit


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

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


Any ideas on how to solve this ?

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