[oe-commits] [Bug 5313] New: build failure for angstrom-2008.1 with eglibc
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Fri Aug 28 06:53:51 UTC 2009
http://bugs.openembedded.org/show_bug.cgi?id=5313
Summary: build failure for angstrom-2008.1 with eglibc
Product: Openembedded
Version: Angstrom 2008.x
Platform: ARM
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: geomatsi at gmail.com
CC: geomatsi at gmail.com
Build fails for angstrom-2008.1 distribution with eglibc instead of glibc.
Build fails during the eglibc linking stage - many undefined symbols related to
floating point operation.
I tried two machines: at91sam9260ek and at91sam9g29ek. The following additional
options were specified in local.conf:
ANGSTROMLIBC = "eglibc"
ANGSTROM_MODE = “eglibc”
ANGSTROM_GCC_VERSION = "4.4.1"
ANGSTROM_BINUTILS_VERSION = "2.19.1"
PREFERRED_VERSION_glibc = "2.9"
PREFERRED_VERSION_eglibc = "2.9"
During investigation it turned out that target architecture for gcc was
incorrect: arm-angstrom-linux instead of arm-angstrom-linux-gnueabi. It looks
that the problem is in file conf/distro/include/angstrom-eglibc.inc. There are
two lines on top of this file:
TARGET_OS = "linux${@['','-gnueabi'][bb.data.getVar('TARGET_ARCH',d,1) in
['arm', 'armeb'] and bb.data.getVar('MACHINE',d) not in ['collie','h3600',
'h3800', 'simpad', 'htcwallaby']]}"
TARGET_OS = "linux${@['','-gnuspe'][bb.data.getVar('TARGET_ARCH',d,1) in
['ppc', 'powerpc'] and bb.data.getVar('MACHINE',d) in ['calamari']]}"
The first line sets the correct TARGET_OS="linux-gnueabi", but the second line
unconditionally overrides it with TARGET_OS="linux".
I tried to comment second line and build succeded.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list