Can't make libffi

Austin Seipp aseipp at pobox.com
Fri Aug 23 22:23:24 CEST 2013


What platform are you compiling on?


On Fri, Aug 23, 2013 at 3:22 PM, Mateusz Kowalczyk
<fuuzetsu at fuuzetsu.co.uk>wrote:

> On 23/08/13 20:13, Austin Seipp wrote:
> > I believe this should now be fixed.
> >
> >
> > On Thu, Aug 22, 2013 at 2:08 PM, Mateusz Kowalczyk
> > <fuuzetsu at fuuzetsu.co.uk>wrote:
> >> I started with a fresh tree today and am now getting
> >>
> >> "inplace/bin/ghc-stage1" -optc-Wall -optc-Wextra
> >> -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> >> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> >> -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs
> >> -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist
> >> -optc-Iincludes/dist-derivedconstants/header
> >> -optc-Iincludes/dist-ghcconstants/header -optc-Irts
> >> -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing
> >> -optc-fno-common -optc-O2 -optc-fomit-frame-pointer
> >> -optc-DRtsWay=\"rts_v\" -static  -H64m -O0 -fasm -Iincludes
> >> -Iincludes/dist -Iincludes/dist-derivedconstants/header
> >> -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build
> >> -DCOMPILING_RTS -package-name rts -dcmm-lint      -i -irts
> >> -irts/dist/build -irts/dist/build/autogen -Irts/dist/build
> >> -Irts/dist/build/autogen           -O2    -c rts/StgPrimFloat.c -o
> >> rts/dist/build/StgPrimFloat.o
> >> "inplace/bin/ghc-stage1" -optc-Wall -optc-Wextra
> >> -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> >> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> >> -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs
> >> -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist
> >> -optc-Iincludes/dist-derivedconstants/header
> >> -optc-Iincludes/dist-ghcconstants/header -optc-Irts
> >> -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing
> >> -optc-fno-common -optc-O2 -optc-fomit-frame-pointer
> >> -optc-DRtsWay=\"rts_v\" -optc-DDYNAMIC_GHC_PROGRAMS -static  -H64m -O0
> >> -fasm -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header
> >> -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build
> >> -DCOMPILING_RTS -package-name rts -dcmm-lint      -i -irts
> >> -irts/dist/build -irts/dist/build/autogen -Irts/dist/build
> >> -Irts/dist/build/autogen           -O2    -c rts/Linker.c -o
> >> rts/dist/build/Linker.o
> >> rts/Linker.c: In function ‘freeObjectCode’:
> >>
> >> rts/Linker.c:2073:18:
> >>      error: ‘ObjectCode’ has no member named ‘symbol_extras’
> >>
> >> rts/Linker.c:2074:16:
> >>      error: ‘ObjectCode’ has no member named ‘n_symbol_extras’
> >> make[1]: *** [rts/dist/build/Linker.o] Error 1
> >> make: *** [all] Error 2
> >>
> >>
> >> Help appreciated.
> >>
> >> --
>
> I ra ‘./sync-all get’ followed by ‘./sync-all pull’ and I still get the
> same failure.
>
> […large snip…]
> "inplace/bin/ghc-stage1" -optc-Wall -optc-Wextra
> -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs
> -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist
> -optc-Iincludes/dist-derivedconstants/header
> -optc-Iincludes/dist-ghcconstants/header -optc-Irts
> -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing
> -optc-fno-common -optc-O2 -optc-fomit-frame-pointer
> -optc-DRtsWay=\"rts_v\" -static  -H64m -O0 -fasm -Iincludes
> -Iincludes/dist -Iincludes/dist-derivedconstants/header
> -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build
> -DCOMPILING_RTS -package-name rts -dcmm-lint      -i -irts
> -irts/dist/build -irts/dist/build/autogen -Irts/dist/build
> -Irts/dist/build/autogen           -O2    -c rts/StgPrimFloat.c -o
> rts/dist/build/StgPrimFloat.o
> "inplace/bin/ghc-stage1" -optc-Wall -optc-Wextra
> -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> -optc-Wmissing-declarations -optc-Winline -optc-Waggregate-return
> -optc-Wpointer-arith -optc-Wmissing-noreturn -optc-Wnested-externs
> -optc-Wredundant-decls -optc-Iincludes -optc-Iincludes/dist
> -optc-Iincludes/dist-derivedconstants/header
> -optc-Iincludes/dist-ghcconstants/header -optc-Irts
> -optc-Irts/dist/build -optc-DCOMPILING_RTS -optc-fno-strict-aliasing
> -optc-fno-common -optc-O2 -optc-fomit-frame-pointer
> -optc-DRtsWay=\"rts_v\" -static  -H64m -O0 -fasm -Iincludes
> -Iincludes/dist -Iincludes/dist-derivedconstants/header
> -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build
> -DCOMPILING_RTS -package-name rts -dcmm-lint      -i -irts
> -irts/dist/build -irts/dist/build/autogen -Irts/dist/build
> -Irts/dist/build/autogen           -O2    -c rts/Linker.c -o
> rts/dist/build/Linker.o
> rts/Linker.c: In function ‘freeObjectCode’:
>
> rts/Linker.c:2062:18:
>      error: ‘ObjectCode’ has no member named ‘symbol_extras’
>
> rts/Linker.c:2063:16:
>      error: ‘ObjectCode’ has no member named ‘n_symbol_extras’
> make[1]: *** [rts/dist/build/Linker.o] Error 1
> make: *** [all] Error 2
>
>
> --
> Mateusz K.
>



-- 
Regards,
Austin - PGP: 4096R/0x91384671
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130823/3ba8c6cc/attachment.htm>


More information about the ghc-devs mailing list