<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>11616</bug_id>
          
          <creation_ts>2017-06-06 16:21:11 +0000</creation_ts>
          <short_desc>Mesa build failed with gcc 7 (ARM)</short_desc>
          <delta_ts>2017-07-31 16:50:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>graphics</component>
          <version>2.4</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.4 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Todor Minchev">todor.minchev</reporter>
          <assigned_to name="Todor Minchev">todor.minchev</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>raj.khem</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73758</commentid>
    <comment_count>0</comment_count>
    <who name="Todor Minchev">todor.minchev</who>
    <bug_when>2017-06-06 16:21:11 +0000</bug_when>
    <thetext>https://autobuilder.yocto.io/builders/nightly/builds/342


ERROR: oe_runmake failed
| arm-poky-linux-gnueabi-ar: `u&apos; modifier ignored since `D&apos; is the default (see `U&apos;)
| 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 &quot;glsl/.libs&quot; &amp;&amp; rm -f &quot;libstandalone.la&quot; &amp;&amp; ln -s &quot;../libstandalone.la&quot; &quot;libstandalone.la&quot; )
| ../../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&apos;:
| /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&apos;
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `cache_put&apos;:
| /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&apos;
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `disk_cache_remove&apos;:
| /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&apos;
| collect2: error: ld returned 1 exit status</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>73767</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2017-06-06 17:31:13 +0000</bug_when>
    <thetext>Note that this isn&apos;t in master</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74337</commentid>
    <comment_count>2</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2017-06-19 17:15:19 +0000</bug_when>
    <thetext>do we still have this failure</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>74962</commentid>
    <comment_count>3</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2017-07-12 16:24:27 +0000</bug_when>
    <thetext>is this still an issue ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>75501</commentid>
    <comment_count>4</comment_count>
    <who name="Todor Minchev">todor.minchev</who>
    <bug_when>2017-07-31 16:32:52 +0000</bug_when>
    <thetext>Closing. I am not seeing this in the current builds.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>