[GHC] #7904: GHC calls the cc1 of a gcc thats not the first in PATH
GHC
cvs-ghc at haskell.org
Sun May 12 04:12:42 CEST 2013
#7904: GHC calls the cc1 of a gcc thats not the first in PATH
---------------------------+------------------------------------------------
Reporter: carter | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.3
Resolution: | Keywords:
Os: MacOS X | Architecture: x86_64 (amd64)
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
---------------------------+------------------------------------------------
Comment(by carter):
the way the haskell platform papers over this on mac is with
https://github.com/haskell/haskell-
platform/blob/master/src/macos/PatchSettings.hs to adjust the ar and gcc
name settings in the ghc settings file.
which effectively hides / papers over the issue that the -pgmc CCName flag
doesn't seem to quite work
Hrm, it looks like my other issue comes from the {{{as}}} that apple
provides not supporting AVX!
I tried the workaround using "gcc -c" or "clang -c" or "gcc -c
-Xassembler" my assembler via the -pgma flags, but that didn't fix it /
didn't work
instead, i used the directions in this stack overflow
http://stackoverflow.com/questions/9840207/how-to-use-avx-pclmulqdq-on-
mac-os-x-lion to an {{{as}}} wrapper i've put on my PATH. This works.
That still leaves the matter that -pgmc doesn't fully override the ghc
SETTINGS file though, and that my attempt at using -pgma didn't work
either
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7904#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list