[oe] [meta-oe] gpsd fails to compile due to scons-generated malformed command line

Schäfer-Hutter schaefer.hutter at gmail.com
Wed Jun 15 09:47:46 UTC 2016


Hi there,

I'm getting the following error when trying to compile gpsd:

| arm-linux-gnueabihf-gcc -march=armv7-a -marm -mthumb-interwork
-mfloat-abi=hard -mfpu=neon -mtune=cortex-a15
--sysroot=/home/ashaepe/yocto/tmn2000/build/arago-tmp-external-linaro-toolchain/sysroots/k2l-evm
-o bits.os -c -isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include
-Wno-error=unused-value -fstack-protector -O2 -pipe -g
-feliminate-unused-debug-types -D_GNU_SOURCE
--sysroot=/home/ashaepe/yocto/tmn2000/build/arago-tmp-external-linaro-toolchain/sysroots/k2l-evm
-Wextra -Wall -Wno-uninitialized -Wno-missing-field-initializers
-Wcast-align -Wmissing-declarations -Wmissing-prototypes
-Wstrict-prototypes -Wpointer-arith -Wreturn-type -g -O0 -fPIC "
-isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include
-Wno-error=unused-value -fstack-protector" bits.c
| arm-linux-gnueabihf-gcc: error:
-isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include
-Wno-error=unused-value -fstack-protector: No such file or directory
| scons: *** [bits.os] Error 1

Obviously the command line part in double quotes ("
-isystem/opt/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/arm-linux-gnueabihf/include
-Wno-error=unused-value -fstack-protector") is wrongly placed/repeated
by SCons.

But I'm lost finding a reason for this behaviour? Any hint would be
appreciated greatly...

Regards,
  Peter



More information about the Openembedded-devel mailing list