__cxa_atexit and __cxa_finalize implementation

Stephen Warren swarren at wwwdotorg.org
Sun Sep 25 00:38:43 UTC 2005


Peter S. Mazinger wrote:
> On Fri, 23 Sep 2005, Stephen Warren wrote:
>>I get this error:
>>
>>/opt/gcc-3.4.3-uclibc-0.9.27-i486/bin/i486-linux-uclibc-g++ \
>>     -o dl-2 '-DDSO_NAME="./dso-2.so"' dl.cpp -ldl
>>
>>/mnt/severn_home_nobackup/swarren/gcc-3.4.3-uclibc-0.9.27-i486/bin/../lib/gcc/i486-linux-uclibc/3.4.3/../../../../i486-linux-uclibc/lib/crt1.o(.text+0x20): 
>>In function `_start':
>>crt0.S: undefined reference to `__uClibc_start_main'
>>collect2: ld returned 1 exit status
> 
> Are you using 0.9.27 or current? 0.9.27 used crt0.S and 
> __uClibc_start_main, but 0.9.28 uses crt1.S and __uClibc_main.
> For sure I wouldn't do any 0.9.27 tests (and your tests results won't be 
> relevant for acceptance into svn), too many things changed.
> For sure your linking stage is screwed up.

I'm running the latest SVN version of uClibc.

I guess there's an issue with the way I'm building it. I'll try plugging 
the patched version into buildroot and see if it all works that way...

> My patches are working natively, haven't tested buildroot, but should be 
> the same.

Hmmm. You mean your whole distro is uClibc-based, so you're not 
cross-compiling? Are there some HOWTOs anywhere on setting this up?

-- 
Stephen Warren, Software Engineer, NVIDIA, Fort Collins, CO
swarren at wwwdotorg.org     http://www.wwwdotorg.org/pgp.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20050924/0b0e8e01/attachment.pgp 


More information about the uClibc mailing list