Harbourmaster is failing

Edward Z. Yang ezyang at mit.edu
Tue May 10 08:58:16 UTC 2016


260a5648c299636a94b12b9b97bf9743b0a1496d introduced
the #import.  Probably should be an #include.

Edward

Excerpts from Simon Peyton Jones's message of 2016-05-10 01:50:41 -0700:
> Bother. This is killing my build.   I had to switch of –Werror.
> Anyone know what is going on?
> Simon
> 
> 
> make --no-print-directory -f ghc.mk phase=1 phase_1_builds
> 
> inplace/bin/deriveConstants --gen-header -o includes/dist-derivedconstants/header/DerivedConstants.h --tmpdir includes/dist-derivedconstants/header/ --gcc-program "gcc" --gcc-flag -Wall --gcc-flag -Werror --gcc-flag -Werror=unused-but-set-variable --gcc-flag -Wno-error=inline --gcc-flag -std=gnu99 --gcc-flag -fno-stack-protector --gcc-flag -Iincludes --gcc-flag -Iincludes/dist --gcc-flag -Iincludes/dist-derivedconstants/header --gcc-flag -Iincludes/dist-ghcconstants/header --gcc-flag -Irts --gcc-flag -fcommon --nm-program "/usr/bin/nm" --objdump-program "/usr/bin/objdump" --target-os "linux"
> 
> In file included from includes/Stg.h:213:0,
> 
>                  from includes/Rts.h:30,
> 
>                  from includes/dist-derivedconstants/header/tmp.c:13:
> 
> includes/stg/Types.h:31:2: error: #import is a deprecated GCC extension [-Werror=deprecated]
> 
> cc1: all warnings being treated as errors
> 
> Executing "gcc" failed
> 
> make[1]: *** [includes/dist-derivedconstants/header/DerivedConstants.h] Error 1
> 
> make: *** [all] Error 2
> 
> 
> From: ghc-devs [mailto:ghc-devs-bounces at haskell.org] On Behalf Of Simon Peyton Jones
> Sent: 10 May 2016 09:44
> To: ghc-devs <ghc-devs at haskell.org>
> Subject: Harbourmaster is failing
> 
> Lots of early Harbourmaster fails
> https://phabricator.haskell.org/harbormaster/build/11545/
> 
> Simon
> 
> In file included from includes/Stg.h:213:0,
> 
> 
> 
> from includes/Rts.h:30,
> 
> 
> 
> from includes/dist-derivedconstants/header/tmp.c:13:
> 
> 
> 
> includes/stg/Types.h:31:2: error: #import is a deprecated GCC extension [-Werror=deprecated]
> 
> 
> 
> #import <inttypes.h>
> 
> 
> 
> ^
> 
> 
> 
> cc1: all warnings being treated as errors
> 
> 
> Executing "gcc" failed


More information about the ghc-devs mailing list