#5019: OS X: ld: warning: could not create compact unwind for _ffi_call_unix64 -------------------------------+-------------------------------------------- Reporter: altaic | Owner: igloo Type: bug | Status: new Priority: high | Milestone: 7.2.1 Component: Compiler | Version: 7.1 Keywords: | Testcase: Blockedby: | Difficulty: Os: MacOS X | Blocking: Architecture: x86_64 (amd64) | Failure: Incorrect warning at compile-time -------------------------------+--------------------------------------------
Comment(by chak): This is fixed by {{{ commit 30ccc9f39dd2cf1ad14e6116778aa1fd94526c19 Author: Manuel M T Chakravarty <c...@cse.unsw.edu.au> Date: Wed Jul 27 23:05:01 2011 +1000 On OS X x86_64, use "-Wl,-no_pie" and "-Wl,-no_compact_unwind" to avoid linker warnings - "-Wl,-no_pie" can be removed once GMP gets updated }}} on Lion (10.7) with Xcode 4.1. There is still (another) warning on Snow Leopard. I'd recommend to upgrade your OS. I wonder whether the warning about the unwinds will go away once we can compile with clang. In that case, we could remove "-Wl,-no_compact_unwind". We should also be able to remove "-Wl,-no_pie" with a newer GMP. I don't know how this all affects the 32bit build (the patch only applies to x86_64). Apple basically deprecated 32bit binaries with Lion. Igloo, do you want to close the bug or leave it open as a reminder. (At least the priority can be downgraded, I think.) -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5019#comment:16> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler _______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs