FFI library error building GHC

David Feuer david.feuer at gmail.com
Sat Sep 20 16:45:29 UTC 2014


Here's what I could find:

[dfeuer at lemur libffi]$ find . -name "*\.a"
./build/inst/lib64/libffi.a
./build/x86_64-unknown-linux-gnu/.libs/libffi.a
./build/x86_64-unknown-linux-gnu/.libs/libffi_convenience.a

On Sat, Sep 20, 2014 at 6:15 AM, Moritz Angermann <moritz at lichtzwerge.de>
wrote:

> Could you check if you had any other libffi.a or (any other .a) file for
> that matter in the
> libffi folder?  I have the suspicion that the new libffi builds the
> archives for some platforms into different target folders, as someone on
> irc mentioned that for nix, there was a lib64 folder or so, and hence the
> libffi.a was in libffi/build/inst/lib64/libffi.a iirc.
>
> On Sep 20, 2014, at 8:13 AM, David Feuer <david.feuer at gmail.com> wrote:
>
> > I keep getting this error. Can anyone help? I tried removing the file as
> suggested, but it made no difference.
> >
> > "/home/dfeuer/GHC/7.8.3.bin/bin/ghc" -o
> utils/genapply/dist/build/tmp/genapply -hisuf hi -osuf  o -hcsuf hc
> -static  -O -H64m -package pretty -package-db libraries/bootstrapping.conf
>  -i -iutils/genapply/. -iutils/genapply/dist/build
> -iutils/genapply/dist/build/autogen -Iutils/genapply/dist/build
> -Iutils/genapply/dist/build/autogen         -no-user-package-db -rtsopts
>   -odir utils/genapply/dist/build -hidir utils/genapply/dist/build -stubdir
> utils/genapply/dist/build    -static  -O -H64m -package pretty -package-db
> libraries/bootstrapping.conf   -i -iutils/genapply/.
> -iutils/genapply/dist/build -iutils/genapply/dist/build/autogen
> -Iutils/genapply/dist/build -Iutils/genapply/dist/build/autogen
>  -no-user-package-db -rtsopts      utils/genapply/dist/build/GenApply.o
> > libffi/stamp.ffi.static-shared.install exists, but
> libffi/build/inst/lib/libffi.a does not.
> > Suggest removing libffi/stamp.ffi.static-shared.install.
> > make[1]: *** [libffi/build/inst/lib/libffi.a] Error 1
> > make[1]: *** Waiting for unfinished jobs....
> > make: *** [all] Error 2
> >
> > _______________________________________________
> > ghc-devs mailing list
> > ghc-devs at haskell.org
> > http://www.haskell.org/mailman/listinfo/ghc-devs
>
> —————————————————
> Moritz Angermann
> +49 170 54 33 0 74
> moritz at lichtzwerge.de
>
> lichtzwerge GmbH
> Freisinger Landstr. 25
> 85748 Garching b. München
>
> Amtsgericht München HRB 207882
> Geschäftsführung: Moritz Angermann, Ralf Sangl
> USt-Id: DE291948767
>
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
> E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
> Absender und vernichten Sie diese Mail.
> Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail
> ist nicht gestattet.
> This e-mail may contain confidential and/or privileged information.
> If you are not the intended recipient (or have received this e-mail in
> error) please notify the sender immediately and destroy this e-mail.
> Any unauthorized copying, disclosure or distribution of the material in
> this e-mail is strictly forbidden.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140920/3c2562a0/attachment.html>


More information about the ghc-devs mailing list