[Mesa-dev] Please test the automake-gallium branch

Tom Stellard tom at stellard.net
Tue Sep 25 10:59:26 PDT 2012


On Tue, Sep 25, 2012 at 08:57:20PM +0300, Török Edwin wrote:
> On 09/25/2012 12:52 AM, Matt Turner wrote:
> > 
> > Please help me find problems now before it goes into master. Here's a
> > branch. It's easy to test. If you don't test and I commit this in a
> > week and break your stuff, I'm sorry, but you didn't test.
> > 
> > http://cgit.freedesktop.org/~mattst88/mesa/log/?h=automake-gallium
> 
> 1. Noticed this warning:
> ./configure: line 22447: LLVM_INCLUDEDIR: command not found
> 
> This $() in configure.ac should probably be just a $:
>    if grep '\<IntrinsicsR600.td\>' $(LLVM_INCLUDEDIR)/llvm/Intrinsics.td >/dev/null 2>&1; then
> 
> 2. i965 fails to link:
>   CCLD     i965_dri.la
> gcc: error: ../../../../../src/mesa/libdricore/.libs/libdricore9.1.0.so: No such file or directory
> 
> Appears to be a typo in src/mesa/Makefile.am: s/DRICORE_SUBDIR/DRICORE_SUBDIRS/
>     SUBDIRS = x86 x86-64 . $(DRICORE_SUBDIR) drivers
> 
> 3. Next r600g fails to build:
> R600ISelLowering.cpp: In member function 'virtual llvm::SDValue llvm::R600TargetLowering::LowerOperation(llvm::SDValue, llvm::SelectionDAG&) const':
> R600ISelLowering.cpp:363:10: error: 'r600_read_ngroups_x' was not declared in this scope
> R600ISelLowering.cpp:365:10: error: 'r600_read_ngroups_y' was not declared in this scope
> R600ISelLowering.cpp:367:10: error: 'r600_read_ngroups_z' was not declared in this scope
> R600ISelLowering.cpp:369:10: error: 'r600_read_global_size_x' was not declared in this scope
> R600ISelLowering.cpp:371:10: error: 'r600_read_global_size_y' was not declared in this scope
> R600ISelLowering.cpp:373:10: error: 'r600_read_global_size_z' was not declared in this scope
> R600ISelLowering.cpp:375:10: error: 'r600_read_local_size_x' was not declared in this scope
> R600ISelLowering.cpp:377:10: error: 'r600_read_local_size_y' was not declared in this scope
> R600ISelLowering.cpp:379:10: error: 'r600_read_local_size_z' was not declared in this scope
> R600ISelLowering.cpp:382:10: error: 'r600_read_tgid_x' was not declared in this scope
> R600ISelLowering.cpp:385:10: error: 'r600_read_tgid_y' was not declared in this scope
> R600ISelLowering.cpp:388:10: error: 'r600_read_tgid_z' was not declared in this scope
> R600ISelLowering.cpp:391:10: error: 'r600_read_tidig_x' was not declared in this scope
> R600ISelLowering.cpp:394:10: error: 'r600_read_tidig_y' was not declared in this scope
> R600ISelLowering.cpp:397:10: error: 'r600_read_tidig_z' was not declared in this scope
>

Fixing #1 should fix #3 as well.

-Tom

> I don't know if this is due to the automake changes in your branch, or not.
> FWIW master builds for me with same set of flags.
> 
> Here are my build flags:
> ./autogen.sh --prefix=/opt/xorg --with-driver=dri --with-state-trackers="egl dri" --with-dri-drivers=i965 --with-gallium-drivers="r600 swrast" LLVM_CONFIG=/usr/bin/llvm-config-3.1
> --enable-r600-llvm-compiler --enable-openvg --enable-vdpau --enable-glx-tls --enable-shared-glapi --enable-texture-float --enable-egl --enable-gallium-egl --enable-gbm --enable-gallium-gbm
> --with-egl-platforms=x11,drm,fbdev --enable-gles2 PKG_CONFIG_PATH=/opt/xorg/lib/pkgconfig
> 
> Best regards,
> --Edwin
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list