[yocto] Boost recipe compilation failure in Yocto 2.6 with GCC 8.2

Amol Lad Amol.Lad at 4rf.com
Thu Jan 17 04:42:33 PST 2019


Hi,

Boost recipe compilation fails with below error. Build is okay if "GCCVERSION = "7.%". Please advise what might be wrong?

{standard input}: Assembler messages:
{standard input}:7896: Warning: end of file not at end of a line; newline inserted
{standard input}:9139: Error: unknown pseudo-op: `.cfi_r'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
arm-next-linux-gnueabi-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.

Details:

Build Configuration:
BB_VERSION           = "1.40.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "universal"
TARGET_SYS           = "arm-next-linux-gnueabi"
MACHINE              = "clearfog"
DISTRO               = "next"
DISTRO_VERSION       = "1.0"
TUNE_FEATURES        = "arm armv7a vfp neon callconvention-hard"
TARGET_FPU           = "hard"
meta
meta-poky
meta-yocto-bsp       = "my-yocto-2.6:84eecb017ef92ef36b4df730908828e54aeff85c"
meta-oe
..

Detailed log:

    "arm-next-linux-gnueabi-g++" "-march=armv7-a" "-mfpu=neon" "-mfloat-abi=hard" "-Wl,-O1" "-Wl,--hash-style=gnu" "-Wl,--as-needed" "--sysroot=/home/alad/yocto/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/boost/1.68.0-r0/recipe-sysroot"    -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/alad/yocto/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/boost/1.68.0-r0=/usr/src/debug/boost/1.68.0-r0 -fdebug-prefix-map=/home/alad/yocto/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/boost/1.68.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/alad/yocto/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/boost/1.68.0-r0/recipe-sysroot-native=  -fvisibility-inlines-hidden -pthread -O3 -finline-functions -Wno-inline -Wall -fno-strict-aliasing -ftemplate-depth-1024 -fvisibility=hidden -DBOOST_ALL_NO_LIB=1 -DBOOST_ATOMIC_STATIC_LINK=1 -DBOOST_CHRONO_STATIC_LINK=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_LOG_BUILDING_THE_LIB=1 -DBOOST_LOG_HAS_PTHREAD_MUTEX_ROBUST -DBOOST_LOG_USE_NATIVE_SYSLOG -DBOOST_LOG_WITHOUT_DEBUG_OUTPUT -DBOOST_LOG_WITHOUT_EVENT_LOG -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_SYSTEM_STATIC_LINK=1 -DBOOST_THREAD_BUILD_LIB=1 -DBOOST_THREAD_DONT_USE_CHRONO=1 -DBOOST_THREAD_POSIX -DBOOST_THREAD_USE_LIB=1 -DDATE_TIME_INLINE -DNDEBUG -D_XOPEN_SOURCE=600 -D__STDC_CONSTANT_MACROS  -I"." -I"libs/log/src" -c -o "/home/alad/yocto/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/boost/1.68.0-r0/boost_1_68_0/arm-next-linux-gnueabi/boost/bin.v2/libs/log/build/581af9cf1e4e5052d9f06634cc376f39/core.o" "libs/log/src/core.cpp"

{standard input}: Assembler messages:
{standard input}:7896: Warning: end of file not at end of a line; newline inserted
{standard input}:9139: Error: unknown pseudo-op: `.cfi_r'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
arm-next-linux-gnueabi-g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
gcc.compile.c++ /home/alad/yocto/poky/build/tmp/work/armv7ahf-neon-next-linux-gnueabi/boost/1.68.0-r0/boost_1_68_0/arm-next-linux-gnueabi/boost/bin.v2/libs/log/build/581af9cf1e4e5052d9f06634cc376f39/process_name.o

________________________________
The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190117/5408ff7f/attachment-0001.html>


More information about the yocto mailing list