All of lore.kernel.org
 help / color / mirror / Atom feed
From: Li Liang <li.liang@neomeridian.com>
To: buildroot@busybox.net
Subject: [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
Date: Wed, 23 Apr 2008 13:38:30 +1000	[thread overview]
Message-ID: <1208921910.480eaf36b427a@www.server101.com> (raw)
In-Reply-To: <6311fe0b0804220845q232b2ce3h41713d533eeb40f@mail.gmail.com>

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

  reply	other threads:[~2008-04-23  3:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2008-04-23 11:43     ` Hamish Moffatt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1208921910.480eaf36b427a@www.server101.com \
    --to=li.liang@neomeridian.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.