[meta-freescale] Weston fails to compile with debugfs

Teemu K maillinglists18 at gmail.com
Mon May 7 02:49:08 PDT 2018


Hi,

I have iMX6 target that I'm compiling Yocto 2.4 based image. I have
latest Yocto/poky and meta-freescale versions.

Everything goes fine until I try to create debugfs by adding these
lines to local.conf.

--
DEBUG_BUILD = "1"
IMAGE_GEN_DEBUGFS = "1"
PACKAGE_DEBUG_SPLIT_STYLE = "debug-file-directory"
--

After that the weston built fails with error:

| configure: error: in
`/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/weston/2.0.0-r0.13/build':
| configure: error: C compiler cannot create executables

Looking at config.log

I can see following:

--
configure:3187: checking whether the C compiler works
configure:3209: arm-poky-linux-gnueabi-gcc  -march=armv7-a -marm
-mfpu=neon -mfloat-abi=hard -mcpu=cortex-a9
--sysroot=/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/sysroots/vs
 -O -fno-omit-frame-pointer -g -feliminate-unused-debug-types
-fdebug-prefix-map=/
home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/weston/2.0.0-r0.13=/usr/src/debug/weston/2.0.0-r0.13
-fdebug-prefix-map=/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linu
x-gnueabi/weston/2.0.0-r0.13/recipe-sysroot-native=
-fdebug-prefix-map=/home/teemu/proj/vi2/debug-test/src/platform/vs/build/tmp/sysroots/vs=
 -pipe-DLINUX -DEGL_API_FB -DWL_EGL_PLATFORM  -Wl,-O1
-Wl,--hash-style=gnu -Wl,--as-needed conftest.c  >&5
arm-poky-linux-gnueabi-gcc: error: unrecognized command line option
'-pipe-DLINUX'
configure:3213: $? = 1
configure:3251: result: no
configure: failed program was:
--

I'm not automake/configure expert so I'm not sure where does that
option come from.

-Teemu K.


More information about the meta-freescale mailing list