Re: Problems compiling with llvm-3.5.0-2 on ARM
Jens, Yes, we'd like to land D155 before 7.10. I've CC'd the relevant people on the patch. Can anyone speak up as to how far along this is? I believe after Peter's review, the ball is in your court, Ben? On Thu, Nov 6, 2014 at 3:40 AM, Jens Petersen juhpeter...@gmail.com wrote: On 6 November 2014 00:49, Carter Schonwald carter.schonw...@gmail.com wrote: TL;DR, you cant use llvm 3.5 or 3.6 with any current ghc release. use 3.4 or older Can we expect 3.5 (3.6) to work with ghc-7.10? (FWIW helloworld seems to work ok with ghc-7.8.3 on x86_64, but not on ARMv7.) Or anyone have any patches? Jens ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs -- Regards, Austin Seipp, Haskell Consultant Well-Typed LLP, http://www.well-typed.com/ ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: Problems compiling with llvm-3.5.0-2 on ARM
On 6 November 2014 00:49, Carter Schonwald carter.schonw...@gmail.com wrote: TL;DR, you cant use llvm 3.5 or 3.6 with any current ghc release. use 3.4 or older Can we expect 3.5 (3.6) to work with ghc-7.10? (FWIW helloworld seems to work ok with ghc-7.8.3 on x86_64, but not on ARMv7.) Or anyone have any patches? Jens ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: Problems compiling with llvm-3.5.0-2 on ARM
TL;DR, you cant use llvm 3.5 or 3.6 with any current ghc release. use 3.4 or older On Tue, Nov 4, 2014 at 10:56 PM, Jens Petersen juhpeter...@gmail.com wrote: Hi Jarl, I think I just ran into this too for Fedora 22 rawhide on ARM and found your posts... On 30 October 2014 16:11, Jarl Gunnar Flaten jarl.fla...@gmail.com wrote: (cf. reddit thread http://www.reddit.com/r/haskell/comments/2kpsz5/ghc_problem_new_llvm_schedule_reentered_unsafely/ ) I am trying to compile a simple hello world program (test.hs). When compiling I am notified: [1 of 1] Compiling Main ( test.hs, test.o ) You are using a new version of LLVM that hasn't been tested yet! test: schedule: re-entered unsafely. Perhaps a 'foreign import unsafe' should be 'safe'? Isn't working. I'm not familiar enough with neither LLVM nor Haskell to troubleshoot from either of these; I don't even know if the messages are even related. They are related in the sense that llvm-3.5 seems to this problem and it is not officially supported by ghc-7.6 or ghc-7.8 (hence the warning). ghc-7.8 supports 3.4 and 7.6 seems to mostly work with some patches. Can you provide more details on your environment: OS and ghc version etc? I am not sure yet what is causing this: perhaps you could try compiling with -threaded and see if that helps? Jens ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Re: Problems compiling with llvm-3.5.0-2 on ARM
Hi Jarl, I think I just ran into this too for Fedora 22 rawhide on ARM and found your posts... On 30 October 2014 16:11, Jarl Gunnar Flaten jarl.fla...@gmail.com wrote: (cf. reddit thread http://www.reddit.com/r/haskell/comments/2kpsz5/ghc_problem_new_llvm_schedule_reentered_unsafely/ ) I am trying to compile a simple hello world program (test.hs). When compiling I am notified: [1 of 1] Compiling Main ( test.hs, test.o ) You are using a new version of LLVM that hasn't been tested yet! test: schedule: re-entered unsafely. Perhaps a 'foreign import unsafe' should be 'safe'? Isn't working. I'm not familiar enough with neither LLVM nor Haskell to troubleshoot from either of these; I don't even know if the messages are even related. They are related in the sense that llvm-3.5 seems to this problem and it is not officially supported by ghc-7.6 or ghc-7.8 (hence the warning). ghc-7.8 supports 3.4 and 7.6 seems to mostly work with some patches. Can you provide more details on your environment: OS and ghc version etc? I am not sure yet what is causing this: perhaps you could try compiling with -threaded and see if that helps? Jens ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Problems compiling with llvm-3.5.0-2 on ARM
Hello, (cf. reddit thread http://www.reddit.com/r/haskell/comments/2kpsz5/ghc_problem_new_llvm_schedule_reentered_unsafely/ ) I am trying to compile a simple hello world program (test.hs). When compiling I am notified: [1 of 1] Compiling Main ( test.hs, test.o ) You are using a new version of LLVM that hasn't been tested yet! We will try though... Linking test ... But it seems to finish compiling fine, without further errors. However, running the program (./test): test: schedule: re-entered unsafely. Perhaps a 'foreign import unsafe' should be 'safe'? Isn't working. I'm not familiar enough with neither LLVM nor Haskell to troubleshoot from either of these; I don't even know if the messages are even related. Any ideas for solutions? Any commands or tests I can perform to give you more information? Thanks, Jarl Gunnar T. Flaten ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs