toolchain-layer -> ld: error: cannot find -lm
Hi,
using :
BB_VERSION = "1.15.1" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "imx53qsb" DISTRO = "" DISTRO_VERSION = "oe-core.0" TUNE_FEATURES = "armv7a vfp neon cortexa8" TARGET_FPU = "vfp-neon" meta = "master:1a82989345fb98becb487d270fd93a5e6dffeb47" meta-fsl-arm = "master:d162f248a4229e534d94f978601848e1f3c913e9"
meta-oe
meta-gnome
meta-xfce
toolchain-layer = "master:a6790d602eb91069b1f618697e66a38619bcd690"
leads to :
| /home/ebenard/WORK/MX53/oecore/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.4/ld: error: cannot find -lm (compressed log.do_compile attached)
The host is a Fedora 16 x86_64.
The problem was also reproduced on a Ubuntu 11.10 x86_64 and with a qemuarm target. I don't seem to reproduce the problem without the toolchain-layer.
Do you have any idea of what could be wrong here ?
Thanks,
Eric
Hi,
Quoted 10 lines · Eric Bénard
leads to :
|/home/ebenard/WORK/MX53/oecore/build/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.6.4/ld: error: cannot find -lm (compressed log.do_compile attached)The host is a Fedora 16
x86_64.
The problem was also reproduced on a Ubuntu 11.10x86_64and with a qemuarm target. I don't seem to reproduce the problem without the toolchain-layer.Do you have any idea of what could be wrong here ?
FWIW : adding meta-angstrom and using angstrom-bleeding doens't exhibit the problem so I assume I miss something in the configuration when I only have oe-core + meta-oe
Eric
Quoted 7 lines · Eric Bénard
gnueabi/4.6.4/ld: error: cannot find -lm
Quoted 6 lines
(compressed log.do_compile attached)
The host is a Fedora 16
x86_64.
The problem was also reproduced on a Ubuntu 11.10x86_64and with a qemuarm target. I don't seem to reproduce the problem without the toolchain-layer.
Quoted 7 lines
Quoted 2 lines
Do you have any idea of what could be wrong here ?
FWIW : adding meta-angstrom and using angstrom-bleeding doens't exhibit the problem so I assume I miss something in the configuration when I only have oe-core + meta-oe
Eric
what are your distro settings ? especially show me the content of DISTRO_FEATURES and DISTRO_FEATURES_LIBC variables