[oe-issues] [Bug 1776] New: Setting MACHINE in environment is fatal when building binutils-cross
bugzilla-daemon at tinman.treke.net
bugzilla-daemon at tinman.treke.net
Mon Jan 8 01:50:10 UTC 2007
http://bugs.openembedded.org/show_bug.cgi?id=1776
Summary: Setting MACHINE in environment is fatal when building
binutils-cross
Product: Openembedded
Version: Angstrom
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: pmiscml at gmail.com
QAContact: tinderbox-oe at gmx.net
Having got a habit of multi-machine builds, I usually run bitbake like:
"MACHINE=<mach> bitbake ..."
Now I decided to make full rebuild, had MACHINE=h4000 and got following while
building glibc-intermediate:
| checking for .symver assembler directive... yes
| checking for ld --version-script... no
| *** WARNING: You should not compile GNU libc without versioning. Not using
| *** versioning will introduce incompatibilities so that old binaries
| *** will not run anymore.
| *** For versioning you need recent binutils (binutils-2.8.1.0.23 or newer).
| checking for .previous assembler directive... yes
| checking for .protected and .hidden assembler directive... yes
| checking whether __attribute__((visibility())) is supported... yes
| checking for broken __attribute__((visibility()))... no
| checking for broken __attribute__((alias()))... no
| checking whether to put _rtld_local into .sdata section... no
| checking for arm-angstrom-linux-gnueabi-readelf...
arm-angstrom-linux-gnueabi-readelf
| checking for .preinit_array/.init_array/.fini_array support... no
| configure: error: Need linker with .init_array/.fini_array support.
| FATAL: oe_runconf failed
After some checking, I figured that binutils-cross were configured with ARCH
like "arm:h4000". I attach diff of
binutils-cross-2.17.50.0.5-r1/binutils-2.17.50.0.5/build.i686-linux.arm-angstrom-linux-gnueabi/ld/earmelf_linux_eabi.c
- broken vs normal version.
So, there need to be some precaution when building such stuff with MACHINE
passed via environment.
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Openembedded-issues
mailing list