
These two LLVM tests are still failing consistently for me (on Linux). I think Austin said this should not happen, and he would fix, but I can't find the thread. Anyway, what should I do? Simon <no location info>: You are using an old version of LLVM that isn't supported anymore! We will try though... /usr/bin/opt: /tmp/ghc60014_1/ghc60014_2.ll:7:6: error: expected type !0 = !{!"top", i8* null} Unexpected failures: llvm/should_compile T5681 [exit code non-0] (optllvm) llvm/should_compile T7571 [exit code non-0] (optllvm)

Dear Simon, Am Mittwoch, den 04.03.2015, 12:04 +0000 schrieb Simon Peyton Jones:
These two LLVM tests are still failing consistently for me (on Linux). I think Austin said this should not happen, and he would fix, but I can’t find the thread. Anyway, what should I do?
it looks like you’ll need to install llvm-3.6. What distribution are you using, and what release of that in particular? (Usually, the output of "lsb_release -a" is the easiest way to find that out.) Greetings, Joachim -- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0xF0FBF51F Debian Developer: nomeata@debian.org

bash$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise | -----Original Message----- | From: ghc-devs [mailto:ghc-devs-bounces@haskell.org] On Behalf Of | Joachim Breitner | Sent: 04 March 2015 15:59 | To: ghc-devs@haskell.org | Subject: Re: LLVM failures | | Dear Simon, | | Am Mittwoch, den 04.03.2015, 12:04 +0000 schrieb Simon Peyton Jones: | > These two LLVM tests are still failing consistently for me (on | Linux). | > I think Austin said this should not happen, and he would fix, but I | > can’t find the thread. Anyway, what should I do? | | it looks like you’ll need to install llvm-3.6. | | What distribution are you using, and what release of that in | particular? | (Usually, the output of "lsb_release -a" is the easiest way to find | that | out.) | | | Greetings, | Joachim | | -- | Joachim “nomeata” Breitner | mail@joachim-breitner.de • http://www.joachim-breitner.de/ | Jabber: nomeata@joachim-breitner.de • GPG-Key: 0xF0FBF51F | Debian Developer: nomeata@debian.org

Dear Simon, Am Mittwoch, den 04.03.2015, 16:03 +0000 schrieb Simon Peyton Jones:
bash$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.5 LTS Release: 12.04 Codename: precise
in that case I suggest the following source for llvm-3.6, which is the same that we use on Travis (all commands to be run as root): First enable this repository to get a libstdc++ backport $ add-apt-repository -y ppa:ubuntu-toolchain-r/test Then add the llvm backports repository $ echo 'deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main' >> /etc/apt/sources.list $ wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add - Then you can install the llvm package: $ apt-get update $ apt-get install llvm-3.6 Finally, you need to make sure that GHC’s configure finds these binaries, e.g. by extending your PATH. You probably know better where to put this in your configuration: export PATH=/usr/lib/llvm-3.6/bin:$PATH Greetings, Joachim -- Joachim Breitner e-Mail: mail@joachim-breitner.de Homepage: http://www.joachim-breitner.de Jabber-ID: nomeata@joachim-breitner.de

A side question, my understanding is that llvm-3.5 is the "official" llvm
for ghc 7.10. Does anybody know if llvm-3.6 works with ghc 7.10?
Regards
George
On Wed, Mar 4, 2015 at 11:58 AM, Joachim Breitner
Dear Simon,
Am Mittwoch, den 04.03.2015, 12:04 +0000 schrieb Simon Peyton Jones:
These two LLVM tests are still failing consistently for me (on Linux). I think Austin said this should not happen, and he would fix, but I can’t find the thread. Anyway, what should I do?
it looks like you’ll need to install llvm-3.6.
What distribution are you using, and what release of that in particular? (Usually, the output of "lsb_release -a" is the easiest way to find that out.)
Greetings, Joachim
-- Joachim “nomeata” Breitner mail@joachim-breitner.de • http://www.joachim-breitner.de/ Jabber: nomeata@joachim-breitner.de • GPG-Key: 0xF0FBF51F Debian Developer: nomeata@debian.org
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

George Colpitts
A side question, my understanding is that llvm-3.5 is the "official" llvm for ghc 7.10. Does anybody know if llvm-3.6 works with ghc 7.10?
I'm afraid that we won't have support for LLVM 3.6 until GHC 7.12 due to non-backwards compatible syntax changes in LLVM's intermediate language. With GHC 7.12 we will have precisely one supported LLVM version which we will optionally ship with the GHC release. Depending upon timing this will be either LLVM 3.6 or 3.7. Cheers, - Ben
participants (4)
-
Ben Gamari
-
George Colpitts
-
Joachim Breitner
-
Simon Peyton Jones