From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 10 Feb 2010 08:32:50 +0100 Subject: [Buildroot] can't resolve symbol '__cxa_atexit' In-Reply-To: <6fff79821002091835j7a1499f4n977fcf81dbe381b8@mail.gmail.com> References: <6fff79821002091835j7a1499f4n977fcf81dbe381b8@mail.gmail.com> Message-ID: <20100210083250.7cc2a7c6@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On Wed, 10 Feb 2010 08:05:07 +0530 Souvik Ghosh 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