On 1/17/19 7:42 AM, Amol Lad wrote:
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.
It almost looks like an internal compiler error but not quite
since at least until recently, any time the compiler
died, it would produce and log that included the
"internal compiler error"
string like this one:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57872
and I don't see that here... hmmm.
Are you able to reproduce it consistently?
How about on another computer?
I checked out your poky commit and built boost for
qemuarm:
TUNE_FEATURES = "arm armv7a vfp neon callconvention-hard cortexa8"
and it build without error.
If it's reproducible, can you try to reduce the code that
causes the problem?
https://www.gnu.org/software/gcc/bugs/minimize.html
../Randy
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
--
# Randy MacLeod
# Wind River Linux
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto