From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] generated shared libraries are not ARM but Intel - why ?
Date: Tue, 05 Jun 2012 01:08:31 +0200 [thread overview]
Message-ID: <4FCD3FEF.40001@mind.be> (raw)
In-Reply-To: <CAGXs5wWx3-kTe9T5OQDLqfh80K9hz0OOkkqT+aNKYjQhjRbn3g@mail.gmail.com>
On 06/04/12 14:22, Kevin Wilson wrote:
> I want to make a filesystem for Arm running 32 bit V7 arm processor.
> My host machine is x86_64 Intel machine
> I downloaded buildroot-2012.02.tar.bz2
> buildroot-2012.02
> I selected
> Test architecure - arm
> Target Architecture Variant - generic arm
>
> I selected very few packages like gcc
>
> I ran "make" and a rootfs tar file was generated.
>
> After extracting it, I could not boot from it ;
> chekling further into the filesystem I created got:
>
> file /lib/libdl-0.9.32.1.so
> libdl-0.9.32.1.so: ELF 32-bit LSB shared object, Intel 80386, version
> 1 (SYSV), dynamically linked (uses shared libs), stripped
> file lib/libgcc_s.so.1
> lib/libgcc_s.so.1: ELF 32-bit LSB shared object, Intel 80386, version
> 1 (SYSV), dynamically linked, stripped
>
>
> It should have been an ARM object library.
> What did I do wrong ?
This is very strange.
Can you check the top of the .config file to make sure that you indeed
have an ARM configuration?
You didn't, by any chance, compile first and only changed the architecture
to ARM afterwards? buildroot doesn't automatically detect when the
configuration has changed in an incompatible way, and the default architecture
is i386. So you may still be using a toolchain for i386 even if you reconfigured
for ARM. To be sure, remove the output directory (or run 'make clean').
If all that fails, can you post the defconfig? Run 'make savedefconfig' and it
is saved in the file 'defconfig'.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-06-04 23:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-04 12:22 [Buildroot] generated shared libraries are not ARM but Intel - why ? Kevin Wilson
2012-06-04 23:08 ` Arnout Vandecappelle [this message]
2012-06-05 5:32 ` Kevin Wilson
2012-06-05 8:34 ` Luca Ceresoli
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=4FCD3FEF.40001@mind.be \
--to=arnout@mind.be \
--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