From: Piotr Karbowski <piotr.karbowski@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Unable to build x86_64 on x86_64
Date: Thu, 10 May 2012 16:03:45 +0200 [thread overview]
Message-ID: <4FABCAC1.3030000@gmail.com> (raw)
In-Reply-To: <87sjf8jt1i.fsf@macbook.be.48ers.dk>
On 05/10/2012 11:15 AM, Peter Korsgaard wrote:
>>>>>> "Piotr" == Piotr Karbowski<piotr.karbowski@gmail.com> writes:
>
> Hi,
>
> Buildroot questions belong on the buildroot list, rather than the uclibc
> one.
>
> Piotr> /usr/bin/gcc -c -I. -W -Wall -Wstrict-prototypes
> Piotr> -Wmissing-prototypes -Wshadow -O2
> Piotr> -I/home/piotr/src/buildroot-2012.02/output/host/include
> Piotr> -I/home/piotr/src/buildroot-2012.02/output/host/usr/include sysinfo.c
>
> Piotr> /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/as:
> Piotr> error while loading shared libraries: libc.so.0: cannot open shared
> Piotr> object file: No such file or directory
> Piotr> make[3]: *** [sysinfo.o] Error 1
>
> Your host assembler apparently has a problem finding libc. Strangely
> enough it wants libc.so.0 which is a soname used by uClibc and not
> glibc. Do you have LD_LIBRARY_PATH set in your environment?
>
> x86-64 to x86-64 works fine here with buildroot git.
>
Nope, I don't. I cloned fresh buildroot from git and to ensure that any
weird variables is not passed by I did:
env -i PATH=$PATH TERM=$TERM HOME=$HOME make
The result is the same.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/as:
error while loading shared libraries: libc.so.0: cannot open shared
object file: No such file or directory
However after changing binutinls from 2.21.1 which is selected by
default to 2.22 it does compile.
-- Piotr.
prev parent reply other threads:[~2012-05-10 14:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <4FAAF16D.2000005@gmail.com>
[not found] ` <201205092250.18821.vapier@gentoo.org>
[not found] ` <4FAB7AEC.2020608@gmail.com>
2012-05-10 9:15 ` [Buildroot] Unable to build x86_64 on x86_64 Peter Korsgaard
2012-05-10 14:03 ` Piotr Karbowski [this message]
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=4FABCAC1.3030000@gmail.com \
--to=piotr.karbowski@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox