[oe] toolchain-layer -> ld: error: cannot find -lm

Eric Bénard eric at eukrea.com
Fri Apr 6 12:29:21 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_compile.11581.gz
Type: application/x-gzip
Size: 11034 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120406/1c364558/attachment-0002.gz>


More information about the Openembedded-devel mailing list