Re: [blfs-book] [BLFS Trac] #10503: llvm-6.0.0

2018-03-26 Thread BLFS Trac via blfs-book
#10503: llvm-6.0.0
-+---
 Reporter:  Krejzi   |   Owner:  bdubbs
 Type:  enhancement  |  Status:  assigned
 Priority:  normal   |   Milestone:  8.3
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+---

Comment (by bdubbs):

 Release notes are at http://releases.llvm.org/6.0.0/docs/ReleaseNotes.html

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #10503: llvm-6.0.0

2018-03-23 Thread BLFS Trac via blfs-book
#10503: llvm-6.0.0
-+
 Reporter:  Krejzi   |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.3
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+

Comment (by pierre.labastie):

 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!

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Re: [blfs-book] [BLFS Trac] #10503: llvm-6.0.0

2018-03-13 Thread BLFS Trac via blfs-book
#10503: llvm-6.0.0
-+
 Reporter:  Krejzi   |   Owner:  blfs-book
 Type:  enhancement  |  Status:  new
 Priority:  normal   |   Milestone:  8.3
Component:  BOOK | Version:  SVN
 Severity:  normal   |  Resolution:
 Keywords:   |
-+

Comment (by thomas):

 https://lists.freedesktop.org/archives/mesa-dev/2017-November/175944.html

 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«
flags.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)
 llvm::unwrap(builder)->setFastMathFlags(flags);
 break;
  case LP_FLOAT_MODE_UNSAFE_FP_MATH:
 +#if HAVE_LLVM >= 0x0600
 +  flags.setFast();
 +#else
 flags.setUnsafeAlgebra();
 +#endif
 llvm::unwrap(builder)->setFastMathFlags(flags);
 break;
 }}}
 makes it compilable.

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

[blfs-book] [BLFS Trac] #10503: llvm-6.0.0

2018-03-11 Thread BLFS Trac via blfs-book
#10503: llvm-6.0.0
-+-
 Reporter:  Krejzi   |  Owner:  blfs-book@…
 Type:  enhancement  | Status:  new
 Priority:  normal   |  Milestone:  8.3
Component:  BOOK |Version:  SVN
 Severity:  normal   |   Keywords:
-+-
 http://releases.llvm.org/download.html

 Currency script is broken

--
Ticket URL: 
BLFS Trac 
Beyond Linux From Scratch
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page