patch applied (ghc): Do not #include external header files when
compiling via C
Simon Marlow
marlowsd at gmail.com
Mon Apr 7 17:33:11 EDT 2008
Ian Lynagh wrote:
> On Thu, Apr 03, 2008 at 09:41:58AM -0700, Simon Marlow wrote:
>> Tue Apr 1 22:14:12 PDT 2008 Simon Marlow <simonmar at microsoft.com>
>> * Do not #include external header files when compiling via C
>
> This patch breaks validate for me:
>
> ../compiler/ghc-inplace -Werror -H64m -Onot -fasm -optc-O2 -I../includes -I. -Iparallel -Ism -DCOMPILING_RTS -package-name rts -fvia-C -static -I../gmp/gmpbuild -I. -dcmm-lint -c Apply.cmm -o Apply.o
> In file included from ../includes/Stg.h:155,
>
> from /tmp/ghc17183_0/ghc17183_0.hc:3:0:
> /tmp/ghc17183_0/ghc17183_0.hc: In function ‘stg_PAP_apply’:
>
> /tmp/ghc17183_0/ghc17183_0.hc:189:0:
> error: ‘stg_ap_stack_entries’ undeclared (first use in this function)
I think this might not show up on x86, which explains why I didn't see
it. Looking into it now.
Cheers,
Simon
More information about the Cvs-ghc
mailing list