Opened 5 years ago

Closed 5 years ago

#10503 closed enhancement (fixed)


Reported by: Armin K Owned by: Bruce Dubbs
Priority: normal Milestone: 8.3
Component: BOOK Version: SVN
Severity: normal Keywords:


Currency script is broken

Change History (6)

comment:1 by bdubbs@…, 5 years ago

Owner: changed from blfs-book@… to blfs-book

comment:2 by thomas, 5 years ago

looks like 6.0 causes trouble in mesa (at least in 17.3.5):

  CC       gallivm/lp_bld_gather.lo
  CC       gallivm/lp_bld_init.lo
  CC       gallivm/lp_bld_intr.lo
  CC       gallivm/lp_bld_logic.lo
  CXX      gallivm/lp_bld_misc.lo
gallivm/lp_bld_misc.cpp: In Funktion »LLVMOpaqueBuilder* lp_create_builder(LLVMContextRef, lp_float_mode)«:
gallivm/lp_bld_misc.cpp:833:13: Fehler: »class llvm::FastMathFlags« hat kein Element namens »setUnsafeAlgebra«
make[4]: *** [Makefile:2355: gallivm/lp_bld_misc.lo] Fehler 1
make[4]: Verzeichnis „/tmp/MesaLib/build/mesa-17.3.5/src/gallium/auxiliary“ wird verlassen
make[3]: *** [Makefile:610: all-recursive] Fehler 1
make[3]: Verzeichnis „/tmp/MesaLib/build/mesa-17.3.5/src/gallium“ wird verlassen
make[2]: *** [Makefile:861: all-recursive] Fehler 1
make[2]: Verzeichnis „/tmp/MesaLib/build/mesa-17.3.5/src“ wird verlassen
make[1]: *** [Makefile:652: all] Fehler 2
make[1]: Verzeichnis „/tmp/MesaLib/build/mesa-17.3.5/src“ wird verlassen
make: *** [Makefile:659: all-recursive] Fehler 1

The mentioned modification

diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
--- a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -830,7 +830,11 @@ lp_create_builder(LLVMContextRef ctx, enum lp_float_mode float_mode)
+#if HAVE_LLVM >= 0x0600
+      flags.setFast();

makes it compilable.

comment:3 by Pierre Labastie, 5 years ago

Should be fixed with mesa-17.3.7. Also, llvm-6.0.0 is the version used in upcoming rust-1.25. It would be good if we could use system llvm with rust!

comment:4 by Bruce Dubbs, 5 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:6 by Bruce Dubbs, 5 years ago

Resolution: fixed
Status: assignedclosed

Fixed at revision 20007.

Note: See TracTickets for help on using tickets.