validate failure on Mac OSX for ghc head (validate fails with clang)

Carter Schonwald carter.schonwald at
Fri Dec 29 20:17:10 UTC 2017

I put some notes on trac.  I’ll see about updating build notes later.

I did find some stuff in the Mach linker that needs to be handled
differently on gcc vs clang on Mac.  And likely needs a patch so it also
builds clean with gcc

On Thu, Dec 28, 2017 at 10:26 AM Ben Gamari <ben at> wrote:

> Carter Schonwald <carter.schonwald at> writes:
> > digging around in it looks like i need to set CC_STAGE0 env
> > variable to my desired CC :)
> >
> > hope this helps other folks... but it definiely seems like the current
> > logic for CC_STAGE0 is more brittle than for CC
> >
> Indeed, I've realized over the last few weeks in attempts to
> cross-compile GHC that our configure script is a bit... let's say
> peculiar in several respects.
> Do record your findings on the Wiki. They will be much easier to find
> there than buried on ghc-devs.
> Cheers,
> - Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ghc-devs mailing list