Can't make libffi

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Thu Aug 22 21:08:26 CEST 2013


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.




More information about the ghc-devs mailing list