Can't make libffi

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Mateusz Kowalczyk
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.
--
Mateusz K.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x2ADA9A97.asc
Type: application/pgp-keys
Size: 5619 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130820/ec7c7ef2/attachment.key>

Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Mateusz Kowalczyk
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.



Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Austin Seipp-4
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>

Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Mateusz Kowalczyk
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.



Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Austin Seipp-4
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>

Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Mateusz Kowalczyk
On 23/08/13 21:23, Austin Seipp wrote:
> What platform are you compiling on?
>
>
Linux misaki 3.9.0-rc6 #1 SMP Tue Apr 9 10:51:07 BST 2013 i686 Intel(R)
Core(TM)2 Duo CPU L7700 @ 1.80GHz GenuineIntel GNU/Linux

32-bit Gentoo.


--
Mateusz K.



Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Austin Seipp-4
Ah, I see what your problem is now. I encountered this on 32bit Windows
which was slightly different.

While my i386 machine is spinning up, can you try the attached patch? If
you haven't cleaned your build tree, you can do:


$ git am ~/path/to/file.patch
$ make

from the root of the tree, and it should keep going normally.




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

> On 23/08/13 21:23, Austin Seipp wrote:
> > What platform are you compiling on?
> >
> >
> Linux misaki 3.9.0-rc6 #1 SMP Tue Apr 9 10:51:07 BST 2013 i686 Intel(R)
> Core(TM)2 Duo CPU L7700 @ 1.80GHz GenuineIntel GNU/Linux
>
> 32-bit Gentoo.
>
>
> --
> Mateusz K.
>



--
Regards,
Austin - PGP: 4096R/0x91384671
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130823/9fba5f2c/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-i386-unix-build.patch
Type: application/octet-stream
Size: 985 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130823/9fba5f2c/attachment.obj>

Reply | Threaded
Open this post in threaded view
|

Can't make libffi

Mateusz Kowalczyk
On 23/08/13 21:31, Austin Seipp wrote:

> Ah, I see what your problem is now. I encountered this on 32bit Windows
> which was slightly different.
>
> While my i386 machine is spinning up, can you try the attached patch? If
> you haven't cleaned your build tree, you can do:
>
>
> $ git am ~/path/to/file.patch
> $ make
>
> from the root of the tree, and it should keep going normally.
>
>

It seems to have worked: it's going along nicely, I think it got past
the error stage. Hopefully I won't have any more problems.


Much obliged.

--
Mateusz K.