* [Buildroot] Can't resolve symbol '__cxa_atexit'
@ 2007-08-28 21:07 Nathanael D. Noblet
2007-08-28 22:19 ` Nathanael D. Noblet
0 siblings, 1 reply; 5+ messages in thread
From: Nathanael D. Noblet @ 2007-08-28 21:07 UTC (permalink / raw)
To: buildroot
Hello,
I am trying to re-create an environment that I created in Oct 2005,
so that I can make some changes to a program I wrote way back then. I
was using uClibc 0.9.28 at the time. I've used a current buildroot to
get me what I thought was that environment. I think I have the same
gcc/binutils versions 3.4.6 and binutils 2.16.1. When I compile my
program against this new environment it seems to work, until I move it
to the target device, where it runs for a bit then outputs
./a.out: Can't resolve symbol '__cxa_atexit'
So I'm assuming that something changed in the uClibc config I originally
used and this one that I tried to get to match. Any ideas how to go
about re-creating this environment or how to solve the above error?
--
Nathanael D. Noblet
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Can't resolve symbol '__cxa_atexit'
2007-08-28 21:07 [Buildroot] Can't " Nathanael D. Noblet
@ 2007-08-28 22:19 ` Nathanael D. Noblet
0 siblings, 0 replies; 5+ messages in thread
From: Nathanael D. Noblet @ 2007-08-28 22:19 UTC (permalink / raw)
To: buildroot
Nathanael D. Noblet wrote:
> Hello,
> I am trying to re-create an environment that I created in Oct 2005,
> so that I can make some changes to a program I wrote way back then. I
> was using uClibc 0.9.28 at the time. I've used a current buildroot to
> get me what I thought was that environment. I think I have the same
> gcc/binutils versions 3.4.6 and binutils 2.16.1. When I compile my
> program against this new environment it seems to work, until I move it
> to the target device, where it runs for a bit then outputs
>
> /a.out: Can't resolve symbol '__cxa_atexit'
>
> So I'm assuming that something changed in the uClibc config I originally
> used and this one that I tried to get to match. Any ideas how to go
> about re-creating this environment or how to solve the above error?
>
Well as usually moments afterwards, checking the uClibc .config I found
an option for the dynamic atexit functions. Disabled, rebuilt, and now
I'm moving along... Thanks anyway ;)
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] can't resolve symbol '__cxa_atexit'
@ 2010-02-10 2:35 Souvik Ghosh
2010-02-10 7:32 ` Thomas Petazzoni
0 siblings, 1 reply; 5+ messages in thread
From: Souvik Ghosh @ 2010-02-10 2:35 UTC (permalink / raw)
To: buildroot
Hi All,
I was compiling buildroot v2009.02 for ARM. The gcc, uclibc and binutils
version I selected are 4.3.2, 0.9.30 and 2.19 respectively. With this
toolchain the compilation of my source is going on fine but it produces "*can't
resolve symbol '__cxa_atexit'" *error at runtime. Can anyone please point me
what I am missing and what is reason of this cause?
Thanks is advance,
papa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100210/7c10533e/attachment.htm>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] can't resolve symbol '__cxa_atexit'
2010-02-10 2:35 [Buildroot] can't resolve symbol '__cxa_atexit' Souvik Ghosh
@ 2010-02-10 7:32 ` Thomas Petazzoni
2010-02-10 11:00 ` Nuno Pereira
0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2010-02-10 7:32 UTC (permalink / raw)
To: buildroot
On Wed, 10 Feb 2010 08:05:07 +0530
Souvik Ghosh <mailtosouvik@gmail.com> wrote:
> I was compiling buildroot v2009.02 for ARM. The gcc, uclibc and
> binutils version I selected are 4.3.2, 0.9.30 and 2.19 respectively.
> With this toolchain the compilation of my source is going on fine but
> it produces "*can't resolve symbol '__cxa_atexit'" *error at runtime.
> Can anyone please point me what I am missing and what is reason of
> this cause?
Could you try with a more recent Buildroot version, say 2009.11 ? If it
still fails, please send your .config.
Did you really recompile *all* your applications with the toolchain
generated by Buildroot ? Remember that uClibc doesn't provide any kind
of ABI backward compatibility, so you have to recompile your
applications with exactly the toolchain that uses the C library that is
on the target.
Did you use the default uClibc configuration file, or did you customize
it somehow ?
Cheers,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] can't resolve symbol '__cxa_atexit'
2010-02-10 7:32 ` Thomas Petazzoni
@ 2010-02-10 11:00 ` Nuno Pereira
0 siblings, 0 replies; 5+ messages in thread
From: Nuno Pereira @ 2010-02-10 11:00 UTC (permalink / raw)
To: buildroot
On 10 February 2010 07:32, Thomas Petazzoni <
thomas.petazzoni@free-electrons.com> wrote:
> On Wed, 10 Feb 2010 08:05:07 +0530
> Souvik Ghosh <mailtosouvik@gmail.com> wrote:
>
> > I was compiling buildroot v2009.02 for ARM. The gcc, uclibc and
> > binutils version I selected are 4.3.2, 0.9.30 and 2.19 respectively.
> > With this toolchain the compilation of my source is going on fine but
> > it produces "*can't resolve symbol '__cxa_atexit'" *error at runtime.
> > Can anyone please point me what I am missing and what is reason of
> > this cause?
>
> Could you try with a more recent Buildroot version, say 2009.11 ? If it
> still fails, please send your .config.
>
> Did you really recompile *all* your applications with the toolchain
> generated by Buildroot ? Remember that uClibc doesn't provide any kind
> of ABI backward compatibility, so you have to recompile your
> applications with exactly the toolchain that uses the C library that is
> on the target.
>
> Did you use the default uClibc configuration file, or did you customize
> it somehow ?
>
> Cheers,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
Hi all,
I used a daily snapshot, compiled buildroot for PPC and happened the same?
What could possible be the problem?
Thanks + Regards,
Nuno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100210/cf37294b/attachment.htm>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-10 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 2:35 [Buildroot] can't resolve symbol '__cxa_atexit' Souvik Ghosh
2010-02-10 7:32 ` Thomas Petazzoni
2010-02-10 11:00 ` Nuno Pereira
-- strict thread matches above, loose matches on Subject: below --
2007-08-28 21:07 [Buildroot] Can't " Nathanael D. Noblet
2007-08-28 22:19 ` Nathanael D. Noblet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox