Skip to contentSkip to conversation

New: cannot build mesa 9.2 without llvm

Bug 68544 [email protected] 1 participant 8 messages Aug 25, 2013 – Aug 27, 2013

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=68544

          Priority: medium
            Bug ID: 68544
          Assignee: [email protected]
           Summary: cannot build mesa 9.2 without llvm
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: Other
            Status: NEW
           Version: 9.2
         Component: Drivers/Gallium/i915g
           Product: Mesa

See https://bugs.gentoo.org/show_bug.cgi?id=482134

Using Gentoo on a x86/i915 configuration, LLVM is disabled.

emerge -pv1 mesa

These are the packages that would be merged, in order:

Calculating dependencies ... done!
[ebuild U ] media-libs/mesa-9.2.0_rc1 [9.1.6] USE="classic egl gallium
nptl -bindist -debug -gbm -gles1 -gles2 -llvm -opencl% -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa -xorg -xvmc (-shared-glapi%*)" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="intel (-freedreno) -i915 -i965 -ilo% -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware" 0 kB

In file included from ../../../../src/gallium/auxiliary/gallivm/lp_bld_type.h:42:0,

                 from lp_bld_blend.c:31:

../../../../src/gallium/auxiliary/gallivm/lp_bld.h:49:27: fatal error:
llvm-c/Core.h: No such file or directory
compilation terminated.
gmake[3]: *** [lp_bld_blend.lo] Erreur 1
gmake[3]: *** Attente des tâches non terminées....
In file included from ../../../../src/gallium/auxiliary/gallivm/lp_bld_type.h:42:0,

                 from lp_bld_blend_aos.c:50:

../../../../src/gallium/auxiliary/gallivm/lp_bld.h:49:27: fatal error:
llvm-c/Core.h: No such file or directory
compilation terminated.
gmake[3]: *** [lp_bld_blend_aos.lo] Erreur 1
In file included from ../../../../src/gallium/auxiliary/gallivm/lp_bld_type.h:42:0,

                 from lp_bld_alpha.c:37:

../../../../src/gallium/auxiliary/gallivm/lp_bld.h:49:27: fatal error:
llvm-c/Core.h: No such file or directory
compilation terminated.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 68544] cannot build mesa 9.2 without llvm

https://bugs.freedesktop.org/show_bug.cgi?id=68544

--- Comment #1 from Kris <[email protected]> ---
Created attachment 84625
--> https://bugs.freedesktop.org/attachment.cgi?id=84625&action=edit
Fix order of "and"/"or" for AM_CONDITIONAL

Seems to be problem within configure.ac,
occuring since:

http://cgit.freedesktop.org/mesa/mesa/commit/configure.ac?id=0d3b1b0e

Added possible patch, needs testing.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 68544] cannot build mesa 9.2 without llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68544

--- Comment #2 from Emil Velikov <[email protected]> --- Seems like test always priorities the _and_ over _or_ :)

Kris' patch does the right thing, although it can be simplified to either:

test "x$HAVE_GALLIUM_I915" = xyes -o "x$HAVE_GALLIUM_SOFTPIPE" = xyes && test "x$MESA_LLVM" = x1

or

test "x$HAVE_GALLIUM_I915" = xyes -a "x$MESA_LLVM" = x1 -o "x$HAVE_GALLIUM_SOFTPIPE" = xyes -a "x$MESA_LLVM" = x1

Feel free to test either one(all three :P) and send the git patch to the ML [email protected]

Thanks for spotting this :)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 68544] cannot build mesa 9.2 without llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68544

--- Comment #3 from Xavier Miller <[email protected]> --- The proposed patch worked for me (Gentoo Linux, mesa-9.2.0_rc2)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 68544] cannot build mesa 9.2 without llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68544

--- Comment #4 from Chí-Thanh Christopher Nguyễn <[email protected]> --- Patch sent:
http://lists.freedesktop.org/archives/mesa-dev/2013-August/043891.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 68544] cannot build mesa 9.2 without llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68544

--- Comment #5 from Kris <[email protected]> ---
Cleaner patch already in mailing list:

http://lists.freedesktop.org/archives/mesa-dev/2013-August/043882.html

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 68544] cannot build mesa 9.2 without llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68544

--- Comment #6 from Chí-Thanh Christopher Nguyễn <[email protected]> --- Ah sorry, I missed that somehow.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 68544] cannot build mesa 9.2 without llvm

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=68544

Matt Turner <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|[email protected] |[email protected]
                   |.org                        |
                 CC|                            |[email protected]
                   |                            |.org

--- Comment #7 from Matt Turner <[email protected]> --- Committed, thanks! Should get picked to the 9.2 branch before release.

Signature · 3 lines
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel