Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27634 - [mesa] Doesn't built with llvm-3.0

Attached to Project: Arch Linux
Opened by Laurent Carlier (lordheavy) - Monday, 19 December 2011, 20:47 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 17 February 2012, 09:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:
mesa-7.11.2 doesn't built with llvm-3.0 in the repo

ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -m32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0300 -fvisibility=hidden -I/usr/lib32/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS gallivm/lp_bld_tgsi_soa.c -o gallivm/lp_bld_tgsi_soa.o
gcc -m32 -c -I. -I../../../src/gallium/include -I../../../src/gallium/auxiliary -I../../../src/gallium/drivers -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -m32 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -m32 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0300 -fvisibility=hidden -I/usr/lib32/include -DNDEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS gallivm/lp_bld_type.c -o gallivm/lp_bld_type.o
gallivm/lp_bld_type.c: In function 'lp_typekind_name':
gallivm/lp_bld_type.c:328:9: error: 'LLVMOpaqueTypeKind' undeclared (first use in this function)
gallivm/lp_bld_type.c:328:9: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [gallivm/lp_bld_type.o] Error 1
make[3]: Leaving directory `/build/src/Mesa-7.11.2/src/gallium/auxiliary'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/build/src/Mesa-7.11.2/src/gallium'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/build/src/Mesa-7.11.2/src'
make: *** [default] Error 1

There is a patch (taken from gentoo) available with lib32-mesa-7.11.2-2 which fixes the problem.


This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 17 February 2012, 09:46 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Mesa 8.0 builds fine without any patch and there's currently no need to rebuild the old 7.x packages in extra.
Comment by einar (esjurso) - Tuesday, 20 December 2011, 17:05 GMT
NVM this comment.
Comment by Isaac G (IsaacG) - Tuesday, 20 December 2011, 21:48 GMT
Patch link?
Comment by Michael Abbott (Araneidae) - Thursday, 22 December 2011, 15:54 GMT
A note in passing: please don't apply the lib32-mesa patch without first testing the result on a Cayman (HD 6950) card with the Radeon driver, see bug #27645, where lib32-mesa 7.11.2-2 breaks 32-bit 3D applications.
Comment by Baho Utot (baho-utot) - Monday, 02 January 2012, 01:29 GMT
Gentoo have this patch to fix this

https://bugs.gentoo.org/show_bug.cgi?id=393013
Comment by einar (esjurso) - Monday, 02 January 2012, 02:19 GMT
Thats exactly the same patch thats currently included in lib32-mesa. Anyway, it works just fine for me on 64bit mesa package.
Comment by Michael Abbott (Araneidae) - Monday, 02 January 2012, 14:25 GMT
> Anyway, it works just fine for me on 64bit mesa package.

Think you need to be specific about your hardware, my point is that lib32-mesa currently doesn't worth with HD 6950 -- have you check mesa+gentoo patch with this specific hardware?
Comment by Ionut Biru (wonder) - Thursday, 12 January 2012, 22:34 GMT
is easier to create a snapshot from mesa 7.11 branch and package it.

Loading...