* [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3
@ 2008-04-22 15:04 Li Liang
2008-04-22 15:45 ` Rex Ashbaugh
0 siblings, 1 reply; 4+ messages in thread
From: Li Liang @ 2008-04-22 15:04 UTC (permalink / raw)
To: buildroot
I have struggled with this problem for few days. Actually I found a similar
subject in
http://busybox.net/lists/buildroot/2007-October/005854.html
However, I checked the mentioned patch in that thread, it actually applied to
the gcc-4.2.3. Unfortunately, the issue wasn't be solved. Moreover, I couldn't
find further useful info regarding to this problem. I really appreciate if
anyone could tell me the solution. If any further log or info could help to
diagnose this issue,please don't hesitate to ask me. Thank you very much in
advance.
~LL
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3
2008-04-22 15:04 [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3 Li Liang
@ 2008-04-22 15:45 ` Rex Ashbaugh
2008-04-23 3:38 ` Li Liang
0 siblings, 1 reply; 4+ messages in thread
From: Rex Ashbaugh @ 2008-04-22 15:45 UTC (permalink / raw)
To: buildroot
Try performing the last failing operation again (move to the correct
directory and copy the last command from the console window, then execute
it)
while also inserting the --verbose flag (or whatever the verbose flag is).
This may give you a few more clues.
-Rex
On Tue, Apr 22, 2008 at 8:04 AM, Li Liang <li.liang@neomeridian.com> wrote:
> I have struggled with this problem for few days. Actually I found a
> similar
> subject in
>
> http://busybox.net/lists/buildroot/2007-October/005854.html
>
> However, I checked the mentioned patch in that thread, it actually applied
> to
> the gcc-4.2.3. Unfortunately, the issue wasn't be solved. Moreover, I
> couldn't
> find further useful info regarding to this problem. I really appreciate if
> anyone could tell me the solution. If any further log or info could help
> to
> diagnose this issue,please don't hesitate to ask me. Thank you very much
> in
> advance.
>
> ~LL
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20080422/1a9ccaa5/attachment.htm
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3
2008-04-22 15:45 ` Rex Ashbaugh
@ 2008-04-23 3:38 ` Li Liang
2008-04-23 11:43 ` Hamish Moffatt
0 siblings, 1 reply; 4+ messages in thread
From: Li Liang @ 2008-04-23 3:38 UTC (permalink / raw)
To: buildroot
The same error message appeared again as following while I executed "make" after
"make menuconfig"
/home/user/workspace/MFSP/uCroot/buildroot/build_armeb/staging_dir/lib/libc.so.0:
could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[4]: *** [libgcc_s.so] Error 1
make[4]: Leaving directory
`/home/user/workspace/MFSP/uCroot/buildroot/toolchain_build_armeb/gcc-4.2.3-final/gcc'
make[3]: *** [stmp-multilib] Error 2
make[3]: Leaving directory
`/home/user/workspace/MFSP/uCroot/buildroot/toolchain_build_armeb/gcc-4.2.3-final/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory
`/home/user/workspace/MFSP/uCroot/buildroot/toolchain_build_armeb/gcc-4.2.3-final'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/user/workspace/MFSP/uCroot/buildroot/toolchain_build_armeb/gcc-4.2.3-final'
make: ***
[/home/user/workspace/MFSP/uCroot/buildroot/toolchain_build_armeb/gcc-4.2.3-final/.compiled]
Error 2
I am using the following packages to build the tool-chain:
kernel 2.6.24
uClibc 0.9.29
binutils 2.18
gcc 4.2.3
~LL
Quoting Rex Ashbaugh <rexa@xeratech.com>:
> Try performing the last failing operation again (move to the correct
> directory and copy the last command from the console window, then execute
> it)
> while also inserting the --verbose flag (or whatever the verbose flag is).
> This may give you a few more clues.
> -Rex
>
>
> On Tue, Apr 22, 2008 at 8:04 AM, Li Liang <li.liang@neomeridian.com> wrote:
>
> > I have struggled with this problem for few days. Actually I found a
> > similar
> > subject in
> >
> > http://busybox.net/lists/buildroot/2007-October/005854.html
> >
> > However, I checked the mentioned patch in that thread, it actually applied
> > to
> > the gcc-4.2.3. Unfortunately, the issue wasn't be solved. Moreover, I
> > couldn't
> > find further useful info regarding to this problem. I really appreciate if
> > anyone could tell me the solution. If any further log or info could help
> > to
> > diagnose this issue,please don't hesitate to ask me. Thank you very much
> > in
> > advance.
> >
> > ~LL
> > _______________________________________________
> > buildroot mailing list
> > buildroot at uclibc.org
> > http://busybox.net/mailman/listinfo/buildroot
> >
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3
2008-04-23 3:38 ` Li Liang
@ 2008-04-23 11:43 ` Hamish Moffatt
0 siblings, 0 replies; 4+ messages in thread
From: Hamish Moffatt @ 2008-04-23 11:43 UTC (permalink / raw)
To: buildroot
On Wed, Apr 23, 2008 at 01:38:30PM +1000, Li Liang wrote:
> The same error message appeared again as following while I executed "make" after
> "make menuconfig"
>
> /home/user/workspace/MFSP/uCroot/buildroot/build_armeb/staging_dir/lib/libc.so.0:
> could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
So can you run "file" on the libc.so.0? It should say 32-bit ARM MSB.
> I am using the following packages to build the tool-chain:
>
> kernel 2.6.24
> uClibc 0.9.29
> binutils 2.18
> gcc 4.2.3
I'm using gcc 4.1.x here. I couldn't get 4.2.3 built successfully for
armeb, but that was months ago and it might be fixed by now. Also I'm
still using OABI rather than EABI because I couldn't get the latter
compiled either.
Unless you really need 4.2.x you could try the older version.
Hamish
--
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-04-23 11:43 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-22 15:04 [Buildroot] Error:"Staging_dir/lib/libc.so.0: could not read symbols:file in wrong format" while "make" buildroot with xscale, gcc-4.2.3 Li Liang
2008-04-22 15:45 ` Rex Ashbaugh
2008-04-23 3:38 ` Li Liang
2008-04-23 11:43 ` Hamish Moffatt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox