From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 4634] New: Bigendian binary is output even if it is configured to output little endian
Date: Sun, 18 Dec 2011 05:28:37 +0000 (UTC) [thread overview]
Message-ID: <bug-4634-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=4634
Summary: Bigendian binary is output even if it is configured to
output little endian
Product: buildroot
Version: 2011.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: matusita at k-micro.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
I set build options as below in "make menuconfig" to build root filesystem:
Target Architecture (mipsel)
Target Architecture Variant (mips 32r2)
Toolcain-Toolchain type (External toolchain)
Toolcain-Toolchain (CodeSourcery MIPS 2011.03)
I expected that little enfian binary will be output because "mipsel" is
selected. But it was big endian.
I confirmed it by objdump with "-f" option like below.
% mips-linux-gnu-objdump -f busybox
busybox: file format elf32-tradbigmips <-- Big endian !!!
architecture: mips:isa32r2, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x00403f00
So, I saw following file:
toolchain/toolchain-external/ext-tool.mk
And I understand that this script get libraries' location by calling
(prefix)-gcc with following options:
-print-sysroot
-print-file-name=libc.a
But as for this toolchain(CodeSourcery MIPS 2011.03), it is need to set "-EL"
option as well to get correct location of little endian libraries.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
next reply other threads:[~2011-12-18 5:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-18 5:28 bugzilla at busybox.net [this message]
2011-12-18 13:33 ` [Buildroot] [Bug 4634] New: Bigendian binary is output even if it is configured to output little endian Michael S. Zick
2011-12-18 13:53 ` Michael S. Zick
2012-01-31 19:46 ` [Buildroot] [Bug 4634] " bugzilla at busybox.net
2012-02-17 9:37 ` bugzilla at busybox.net
2012-02-17 9:42 ` bugzilla at busybox.net
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=bug-4634-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--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.