Bug 583 - build fails with external x86_64 toolchain
Summary: build fails with external x86_64 toolchain
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 trivial
Target Milestone: 2010.05
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-28 08:59 UTC by Ingmar Schraub
Modified: 2010-07-15 09:22 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingmar Schraub 2009-08-28 08:59:50 UTC
buildroot 2009.08-rc3

./toolchain/external-toolchain/ext-tool.mk

checks if 'lib/ld-linux.so.*' is present in the toolchain's sysroot. This is fine for x86 system, but this check fails for x86_64 systems and crosstool-ng toolchains.

Here you have 'lib/ld-linux-x86-64.so.2 -> ld-2.9.so'.

The check could/should be modified to 'lib/ld-linux*.so.*'
Comment 1 Thomas Petazzoni 2010-06-07 14:22:56 UTC
Ok, I confirm the issue and agrees with your proposal. I've written a patch implementing this, but unfortunately, the build still doesn't work for me due to mix between the host x86-64 C library and the target x86-64 C library. I'll try to work these out.