Can't make libffi

Austin Seipp aseipp at pobox.com
Fri Aug 23 21:13:59 CEST 2013


I believe this should now be fixed.


On Thu, Aug 22, 2013 at 2:08 PM, Mateusz Kowalczyk
<fuuzetsu at fuuzetsu.co.uk>wrote:

> On 20/08/13 11:55, Mateusz Kowalczyk wrote:
> > Trying to build HEAD I get.
> >
> > "inplace/bin/ghc-stage1 at exeext_host@" -fPIC -dynamic  -H32m -O -Werror
> > -Wall -H64m -O0 -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/PrimOps.cmm -o
> > rts/dist/build/PrimOps.dyn_o
> > "inplace/bin/ghc-stage1 at exeext_host@" -fPIC -dynamic  -H32m -O -Werror
> > -Wall -H64m -O0 -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/dist/build/AutoApply.cmm -o rts/dist/build/AutoApply.dyn_o
> > "inplace/bin/ghc-pkg at exeext_host@" --simple-output field rts
> > extra-libraries \
> >   | sed -e 's/\([^ ][^ ]*\)/-l\1/g' > rts/dist/libs.depend
> > "inplace/bin/ghc-pkg at exeext_host@" --simple-output field rts
> library-dirs \
> >   | sed -e 's/\([^ ][^ ]*\)/-L\1/g' >> rts/dist/libs.depend
> > make[1]: *** No rule to make target
> > `libffi/build/inst/lib/libffi at soext_target@', needed by
> > `rts/dist/build/libffi at soext_target@'.  Stop.
> > make: *** [all] Error 2
> >
> >
> > I know there is some repository moving shenanigans going on at the
> > moment so I am not sure whether that's something to look out for. All I
> > did was ./sync-all get and then ./sync-all pull without changing
> > anything – I have the same setup as I did couple of weeks ago.
> >
> >
> >
> > _______________________________________________
> > ghc-devs mailing list
> > ghc-devs at haskell.org
> > http://www.haskell.org/mailman/listinfo/ghc-devs
> >
> 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.
>
> --
> Mateusz K.
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>



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


More information about the ghc-devs mailing list