Bug 12710 - [2.5 M3 rc1][nightly-arm][fedora28][autobuilder2] - elfutils-native-0.170-r0 oe_runmake failed
Summary: [2.5 M3 rc1][nightly-arm][fedora28][autobuilder2] - elfutils-native-0.170-r0 ...
Status: RESOLVED FIXED
Alias: None
Product: Build Testing
Classification: QA/Testing
Component: general (show other bugs)
Version: 2.5
Hardware: x86 arm
: Undecided normal
Target Milestone: 2.5 M3
Assignee: Paul Eggleton
QA Contact: Aaron Chan
URL: http://centaurus02.png.intel.com:8010...
Whiteboard:
Depends on:
Blocks:
 
Reported: 2018-04-23 20:08 UTC by Aaron Chan
Modified: 2018-04-24 06:30 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: Regression (Found by QA test)
Verified:
Documentation change: Don't know


Attachments
Log do_compile on elfutils-native-0.170-r0 (102.44 KB, application/octet-stream)
2018-04-23 20:08 UTC, Aaron Chan
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aaron Chan 2018-04-23 20:08:05 UTC
Created attachment 4284 [details]
Log do_compile on elfutils-native-0.170-r0

Build Configuration:
BB_VERSION           = "1.37.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "fedora-28"
TARGET_SYS           = "arm-poky-linux-gnueabi"
MACHINE              = "qemuarm"
DISTRO               = "poky"
DISTRO_VERSION       = "2.4+snapshot-20180423"
TUNE_FEATURES        = "arm armv5 thumb dsp"
TARGET_FPU           = "soft"
meta                 
meta-poky            
meta-yocto-bsp       = "master:f49ee61422c867516db252054e993df29f775136"

ERROR: elfutils-native-0.170-r0 do_compile: Function failed: do_compile (log file is located at /home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/temp/log.do_compile.19445)
NOTE: recipe xz-5.2.3-r0: task do_fetch: Succeeded
NOTE: Running task 618 of 7314 (/home/ab/yocto-worker/nightly-arm/build/meta/recipes-devtools/python/python3_3.5.5.bb:do_fetch)
NOTE: Running task 619 of 7314 (/home/ab/yocto-worker/nightly-arm/build/meta/recipes-core/libxml/libxml2_2.9.7.bb:do_fetch)
ERROR: Logfile of failure stored in: /home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/temp/log.do_compile.19445
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 16
| make --no-print-directory all-recursive
| Making all in config
| make[2]: Nothing to be done for 'all'.
| Making all in m4
| make[2]: Nothing to be done for 'all'.
| Making all in lib
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/lib -I..  -I. -I../../elfutils-0.170/lib -I../../elfutils-0.170/lib -I.. -I../../elfutils-0.170/lib/../libelf -isystem/home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144  -fPIC -D_FORTIFY_SOURCE=2 -isystem/home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o xstrdup.o ../../elfutils-0.170/lib/xstrdup.c
....
....
....
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.170/backends -I..  -I. -I../../elfutils-0.170/backends -I../../elfutils-0.170/lib -I.. -I../../elfutils-0.170/libebl -I../../elfutils-0.170/libasm -I../../elfutils-0.170/libelf -I../../elfutils-0.170/libdw -isystem/home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144  -D_FORTIFY_SOURCE=2 -isystem/home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/recipe-sysroot-native/usr/include -O2 -pipe -c -o m68k_corenote.o ../../elfutils-0.170/backends/m68k_corenote.c
| In file included from ../../elfutils-0.170/backends/m68k_corenote.c:72:
| ../../elfutils-0.170/backends/linux-core-note.c:116:1: error: alignment 2 of ‘struct m68k_prstatus’ is less than 4 [-Werror=packed-not-aligned]
|  ;
|  ^
| ../../elfutils-0.170/backends/linux-core-note.c:110:5: error: ‘({anonymous})’ offset 70 in ‘struct m68k_prstatus’ isn’t aligned to 4 [-Werror=packed-not-aligned]
|      ;
|      ^
| cc1: all warnings being treated as errors
| gcc  -D_GNU_SOURCE -DHAVE_CONFIG_H 
....
....
....
| make[2]: *** [Makefile:790: m68k_corenote.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
....
....
| make[1]: *** [Makefile:478: all-recursive] Error 1
| make: *** [Makefile:394: all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/temp/run.do_compile.19445:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/ab/yocto-worker/nightly-arm/build/build/tmp/work/x86_64-linux/elfutils-native/0.170-r0/temp/log.do_compile.19445)
NOTE: recipe elfutils-native-0.170-r0: task do_compile: Failed
ERROR: Task (virtual:native:/home/ab/yocto-worker/nightly-arm/build/meta/recipes-devtools/elfutils/elfutils_0.170.bb:do_compile) failed with exit code '1'

Summary: 1 task failed:
  virtual:native:/home/ab/yocto-worker/nightly-arm/build/meta/recipes-devtools/elfutils/elfutils_0.170.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

====================================================================================================
ERROR: Command . ./oe-init-build-env; bitbake core-image-sato core-image-sato-dev core-image-sato-sdk core-image-minimal core-image-minimal-dev failed with exit code 1, see errors above. (1524503908.8640907)
====================================================================================================
Comment 1 Ross Burton 2018-04-24 06:30:42 UTC
This was fixed post-M3 in oe-core 49aae1d75ff1c6a9643c30a8cc5776a2ffa83dd3.