Hi, I'm trying to build my image on Yocto master branch, and it fails to compile openjre-8 (It works fine on Warrior).
Here's the error message: openjre-8-172b11-r0 do_compile: oe_runmake failed: g++ -DLINUX -D_GNU_SOURCE -DAMD64 -I/yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0/hotspot/src/share/vm/prims -I[skip...] -DASSERT -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0=/usr/src/debug/openjre-8/172b11-r0 -fdebug-prefix-map=/yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0=/usr/src/debug/openjre-8/172b11-r0 -fdebug-prefix-map=/yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0/recipe-sysroot= -fdebug-prefix-map=/yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0/recipe-sysroot-native= -Wno-error=deprecated-declarations -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -DDONT_USE_PRECOMPILED_HEADER -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -pipe -fno-strict-aliasing -g -fno-omit-frame-pointer -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_x86 -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_linux_x86 -DTARGET_OS_ARCH_MODEL_linux_x86_64 -DTARGET_COMPILER_gcc -DCOMPILER2 -DCOMPILER1 -DDONT_USE_PRECOMPILED_HEADER -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden -pipe -fno-strict-aliasing -g -fno-omit-frame-pointer -isystem/yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0/recipe-sysroot-native/usr/include -O2 -pipe -Wno-error=deprecated-declarations -Werror -c -o ../generated/adfiles/adlparse.o /yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0/hotspot/src/share/vm/adlc/adlparse.cpp g++: error: unrecognized command line option ‘-fmacro-prefix-map=/yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0=/usr/src/debug/openjre-8/172b11-r0’ /yocto/build-vc/tmp/work/corei7-64-cb-linux/openjre-8/172b11-r0/jdk8u-33d274a7dda0/hotspot/make/linux/makefiles/adlc.make:222: recipe for target '../generated/adfiles/adlparse.o' failed It seems Yocto master introduces new -fmacro-prefix-map compile flag that g++ does not recognize? Does it means I need to upgrade my gcc (5.4.0) version on build machine? (Ubuntu 16.04). If so, why it does not use -native package? Best regards, Vincent -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel