Bug 101418

Summary: Build failure in GNOME Continuous
Product: Mesa Reporter: Emmanuele Bassi (:ebassi) <ebassi>
Component: Drivers/DRI/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Nouveau Project <nouveau>
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Emmanuele Bassi (:ebassi) 2017-06-14 09:27:52 UTC
Mesa master branch is failing to build in the GNOME Continuous build service:

libtool: link: ( cd ".libs" && rm -f "libnouveau.la" && ln -s "../libnouveau.la" "libnouveau.la" )
/bin/sh ../../../../libtool  --tag=CXX   --mode=link x86_64-gnomeostree-linux-g++  -g -m64 -mtune=generic -Wall -fno-math-errno -fno-trapping-math    -o nouveau_compiler nouveau_compiler.o libnouveau.la ../../../../src/gallium/auxiliary/libgallium.la ../../../../src/util/libmesautil.la -lm    -lpthread -ldl -ldrm 
libtool: link: x86_64-gnomeostree-linux-g++ -g -m64 -mtune=generic -Wall -fno-math-errno -fno-trapping-math -o nouveau_compiler nouveau_compiler.o  ./.libs/libnouveau.a ../../../../src/gallium/auxiliary/.libs/libgallium.a ../../../../src/util/.libs/libmesautil.a -lz -lm -lpthread -ldl -ldrm
../../../../src/gallium/auxiliary/.libs/libgallium.a(tgsi_scan.o): In function `scan_instruction':
/ostbuild/source/mesa/_build/src/gallium/auxiliary/../../../../src/gallium/auxiliary/tgsi/tgsi_scan.c:402: undefined reference to `tgsi_is_bindless_image_file'
/ostbuild/source/mesa/_build/src/gallium/auxiliary/../../../../src/gallium/auxiliary/tgsi/tgsi_scan.c:406: undefined reference to `tgsi_is_bindless_image_file'
collect2: error: ld returned 1 exit status
Makefile:1128: recipe for target 'nouveau_compiler' failed
make[4]: *** [nouveau_compiler] Error 1
Comment 1 Samuel Pitoiset 2017-06-14 09:37:59 UTC
Does this help ?

https://lists.freedesktop.org/archives/mesa-dev/2017-June/159245.html
Comment 2 Yanko Kaneti 2017-06-14 13:22:10 UTC
Helps here (rawhide, configuration along the line of the continuous setup)
Comment 4 Emmanuele Bassi (:ebassi) 2017-06-15 13:35:15 UTC
Nope, the build is still bust:

/ostbuild/source/mesa/_build/src/gallium/auxiliary/../../../../src/gallium/auxiliary/tgsi/tgsi_scan.c:402: undefined reference to `tgsi_is_bindless_image_file'
/ostbuild/source/mesa/_build/src/gallium/auxiliary/../../../../src/gallium/auxiliary/tgsi/tgsi_scan.c:406: undefined reference to `tgsi_is_bindless_image_file'

Full log: http://build.gnome.org/continuous/buildmaster/builds/2017/06/14/21/build/log-mesa.txt

This is a linker issue, not a static inline one.
Comment 5 Emmanuele Bassi (:ebassi) 2017-06-15 15:33:40 UTC
Turns out the buildbot got stuck and it didn't check out the updated master branch.

Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.