#8438 closed bug (worksforme)

Validation failure compiling primitive-memops.c

Reported by: goldfire Owned by:
Priority: normal Milestone:
Component: Build System Version: 7.7
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Building GHC failed Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

When I try to validate a clean checkout of HEAD, I see this:

"inplace/bin/ghc-stage2" -optc-Werror -optc-Wall -optc-Ilibraries/primitive/cbits -optc-O3 -optc-ftree-vectorize -optc-fomit-frame-pointer -optc-msse2 -optc-I'/Users/rae/Documents/ghc-cur/libraries/base/include' -optc-I'/Users/rae/Documents/ghc-cur/rts/dist/build' -optc-I'/Users/rae/Documents/ghc-cur/includes' -optc-I'/Users/rae/Documents/ghc-cur/includes/dist-derivedconstants/header' -static  -H32m -O -Werror -Wall -H64m -O0    -package-name primitive-0.5.1.0 -hide-all-packages -i -ilibraries/primitive/. -ilibraries/primitive/dist-install/build -ilibraries/primitive/dist-install/build/autogen -Ilibraries/primitive/dist-install/build -Ilibraries/primitive/dist-install/build/autogen -Ilibraries/primitive/cbits    -optP-include -optPlibraries/primitive/dist-install/build/autogen/cabal_macros.h -package base-4.7.0.0 -package ghc-prim-0.3.1.0 -O2 -Wall -XHaskell2010 -O2 -O -dcore-lint -fno-warn-amp  -fno-warn-deprecated-flags  -no-user-package-db -rtsopts -Wwarn     -c libraries/primitive/cbits/primitive-memops.c -o libraries/primitive/dist-install/build/cbits/primitive-memops.o
cc1: warnings being treated as errors
libraries/primitive/cbits/primitive-memops.c: In function ‘hsprimitive_memset_Word16’:

libraries/primitive/cbits/primitive-memops.c:44:0:
     warning: dereferencing type-punned pointer will break strict-aliasing rules
libraries/primitive/cbits/primitive-memops.c: In function ‘hsprimitive_memset_Word32’:

libraries/primitive/cbits/primitive-memops.c:45:0:
     warning: dereferencing type-punned pointer will break strict-aliasing rules
libraries/primitive/cbits/primitive-memops.c: In function ‘hsprimitive_memset_Word64’:

libraries/primitive/cbits/primitive-memops.c:46:0:
     warning: dereferencing type-punned pointer will break strict-aliasing rules
libraries/primitive/cbits/primitive-memops.c: In function ‘hsprimitive_memset_Word’:

libraries/primitive/cbits/primitive-memops.c:47:0:
     warning: dereferencing type-punned pointer will break strict-aliasing rules
libraries/primitive/cbits/primitive-memops.c: In function ‘hsprimitive_memset_Ptr’:

libraries/primitive/cbits/primitive-memops.c:48:0:
     warning: dereferencing type-punned pointer will break strict-aliasing rules
libraries/primitive/cbits/primitive-memops.c: In function ‘hsprimitive_memset_Float’:

libraries/primitive/cbits/primitive-memops.c:49:0:
     warning: dereferencing type-punned pointer will break strict-aliasing rules
libraries/primitive/cbits/primitive-memops.c: In function ‘hsprimitive_memset_Double’:

libraries/primitive/cbits/primitive-memops.c:50:0:
     warning: dereferencing type-punned pointer will break strict-aliasing rules
make[1]: *** [libraries/primitive/dist-install/build/cbits/primitive-memops.o] Error 1
make: *** [all] Error 2

I run Mac OS 10.7.5 with XCode 4.3.3.

Change History (2)

comment:1 Changed 13 months ago by rwbarton

So, did this go away, or what?

comment:2 Changed 10 months ago by thomie

  • Component changed from Compiler to Build System
  • Resolution set to worksforme
  • Status changed from new to closed
  • Type of failure changed from None/Unknown to Building GHC failed
Note: See TracTickets for help on using tickets.