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

2017-12-29 Thread Carter Schonwald
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 wrote: > Carter Scho

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

2017-12-28 Thread Ben Gamari
Carter Schonwald writes: > digging around in configure.ac 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

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

2017-12-24 Thread Carter Schonwald
digging around in configure.ac 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 On Sun, Dec 24, 2017 at 5:02 PM, Carter Schonwald < carter.schonw...@gmail.c

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

2017-12-24 Thread Carter Schonwald
hey All, the current settings for warnings etc for ghc validate do not work on mac, this is because some gcc flag isn't in clang, or vice versa, or some version of gcc related matter the relevant error is: error: unknown warning option '-Werror=unused-but-set-variable'; did you mean '-Werror=unu

validate failure on Mac

2013-10-03 Thread Richard Eisenberg
Sorry if this has been addressed recently, but I can't validate right now, due to a build failure from -Werror in C code in primitive: > "inplace/bin/ghc-stage2" -optc-Werror -optc-Wall > -optc-Ilibraries/primitive/cbits -optc-O3 -optc-ftree-vectorize > -optc-fomit-frame-pointer -optc-msse2 >