[Bug 4203] meta-toolchain: gcc-cross-sdk for arm/uclibc does not build
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Tue May 6 21:53:16 CEST 2008
http://bugs.openembedded.net/show_bug.cgi?id=4203
--- Comment #3 from Jin <jin at mediatomb.cc> 2008-05-06 21:53:16 ---
More findings....
Thanks to RP we finally figured out why this was happening:
./arm-angstrom-linux-uclibcgnueabi-gcc -o /tmp/testout /tmp/test.c
/opt/angstrom/arm/lib/gcc/arm-angstrom-linux-uclibcgnueabi/4.2.2/../../../../arm-angstrom-linux-uclibcgnueabi/bin/ld:
cannot find libc.so.6
collect2: ld returned 1 exit status
The problem is in meta-toolchain.bb - RP fixed it in .dev but for .stable this
line also needs to be commented out (not sure about the implications for
glibc):
echo 'GROUP ( libc.so.6 libc_nonshared.a )' >
${SDK_OUTPUT}/${prefix}/${TARGET_SYS}/lib/libc.so
However... one gets to this stage only if gcc-cross-sdk builds, and that's
still a problem. Sometimes it does build, but sometimes it is failing, both -
in .stable and in .dev
I use PARALLEL_MAKE, maybe that could explain the "sometimes" issue?
The failure log of gcc-cross-sdk in from .dev is the same as in .stable, so
this problem still persists (see URL with compile log)
I also noticed that the following message is being printed when building
binutils-cross-sdk, but NOT when building binutils-cross!
"NOTE: Couldn't find shared library provider for libc.so.6"
That must be a clue, after all: gcc-cross-sdk is for some reason looking for
libc.so.6 and already on binutils-cross-sdk OE thinks that libc.so.6 is
missing.
This is also in both - .stable and .dev
I hope this brings us further to the final solution.
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list