Can't make libffi

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Fri Aug 23 22:22:30 CEST 2013


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.




More information about the ghc-devs mailing list