
#7580: Building PrimOps.cmm on OS X with LLVM 3.2 fails ---------------------------------+------------------------------------------ Reporter: thoughtpolice | Owner: thoughtpolice Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler (LLVM) | Version: 7.7 Keywords: | Os: MacOS X Architecture: Unknown/Multiple | Failure: Building GHC failed Difficulty: Unknown | Testcase: Blockedby: 7590 | Blocking: 7588, 7589 Related: #7571, #7575 | ---------------------------------+------------------------------------------ Comment(by thoughtpolice): I do use homebrew, but I do not ever manage my GHC installation with it. I just installed the 7.6.1 binary distribution from here: http://www.haskell.org/ghc/download_ghc_7_6_1#macosx_x86_64 I will get LLVM 3.1 working on my machine and see what happens when I bootstrap with it instead. I can also get 7.4.2 working and see if we can narrow a specific configuration down. Also, did you give a shot to the test I wrote in #7571 ? It should just be as easy as `ghc-stage2 -c -fllvm T7571.cmm` - This test should really be the ultimate clear case of whether one of these bugs does in fact manifest or not. It's worth noting that #7571 will ''only'' manifest during a bootstrap when the RTS is built in profiling mode, due to `#ifdef`ery in the Cmm files. I don't think you can avoid a profiling version of the RTS, but it's worth keeping in mind. I believe I also have an extra 'debug' patch for this ticket in my personal repository, that output a lot of helpful debugging info in tracking this down. I might dust it off, attach it, and step through what I see. Also if you'd like to contact me directly via email or through more instantaneous means (like an instant messaging system or IRC or something) to help sort it out quicker, you're more than free to (I'm CC'd on this ticket, so you can see my email there.) -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/7580#comment:13 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler