Bug 11616 - Mesa build failed with gcc 7 (ARM)
Summary: Mesa build failed with gcc 7 (ARM)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 2.4
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.4 M3
Assignee: Todor Minchev
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2017-06-06 16:21 UTC by Todor Minchev
Modified: 2017-07-31 16:50 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Todor Minchev 2017-06-06 16:21:11 UTC
https://autobuilder.yocto.io/builders/nightly/builds/342


ERROR: oe_runmake failed
| arm-poky-linux-gnueabi-ar: `u' modifier ignored since `D' is the default (see `U')
| arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-ranlib glsl/.libs/libstandalone.a
| arm-poky-linux-gnueabi-libtool: link: rm -fr glsl/.libs/libstandalone.lax glsl/.libs/libstandalone.lax
| arm-poky-linux-gnueabi-libtool: link: ( cd "glsl/.libs" && rm -f "libstandalone.la" && ln -s "../libstandalone.la" "libstandalone.la" )
| ../../arm-poky-linux-gnueabi-libtool  --tag=CXX   --mode=link arm-poky-linux-gnueabi-g++  -march=armv5e -marm --sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0/recipe-sysroot -fvisibility=hidden -Werror=pointer-arith -Werror=vla -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0=/usr/src/debug/mesa/2_17.1.1-r0 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0/recipe-sysroot=  -fno-omit-frame-pointer -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -fvisibility-inlines-hidden -Wall -fno-math-errno -fno-trapping-math   -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now -o glsl_compiler glsl/main.o glsl/libstandalone.la
| arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-g++ -march=armv5e -marm --sysroot=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0/recipe-sysroot -fvisibility=hidden -Werror=pointer-arith -Werror=vla -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0=/usr/src/debug/mesa/2_17.1.1-r0 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0/recipe-sysroot-native= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-arm-lsb/build/build/tmp/work/armv5e-poky-linux-gnueabi/mesa/2_17.1.1-r0/recipe-sysroot= -fno-omit-frame-pointer -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -fvisibility-inlines-hidden -Wall -fno-math-errno -fno-trapping-math -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z -Wl,relro -Wl,-z -Wl,now -o glsl_compiler glsl/main.o  glsl/.libs/libstandalone.a -lz -lpthread
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `evict_lru_item':
| /usr/src/debug/mesa/2_17.1.1-r0/mesa-17.1.1/src/util/disk_cache.c:615: undefined reference to `__atomic_fetch_add_8'
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `cache_put':
| /usr/src/debug/mesa/2_17.1.1-r0/mesa-17.1.1/src/util/disk_cache.c:886: undefined reference to `__atomic_fetch_add_8'
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `disk_cache_remove':
| /usr/src/debug/mesa/2_17.1.1-r0/mesa-17.1.1/src/util/disk_cache.c:637: undefined reference to `__atomic_fetch_add_8'
| collect2: error: ld returned 1 exit status
Comment 1 Ross Burton 2017-06-06 17:31:13 UTC
Note that this isn't in master
Comment 2 Khem Raj 2017-06-19 17:15:19 UTC
do we still have this failure
Comment 3 Khem Raj 2017-07-12 16:24:27 UTC
is this still an issue ?
Comment 4 Todor Minchev 2017-07-31 16:32:52 UTC
Closing. I am not seeing this in the current builds.