build failure on FreeBSD 9.1

Kazu Yamamoto ( 山本和彦 ) kazu at
Mon Mar 25 03:42:30 CET 2013

> What is the version of your devel/libffi port?


> Could not adding
> --with-system-libffi and related flags to the configuration phase fix
> the problem?

Yes. When I added --with-system-libffi
--with-ffi-libraries=/usr/local/lib, this problem does not happen.

Summary: building GHC head succeeds both on FreeBSD and Mac. But
installing GHC head fails both on FreeBSD and Mac. This is probably
because no installed scripts define (DY)LD_LIBRARY_PATH.

If --with-system-libffi and etc are specified, both building and
installation succeeds on FreeBSD. "validate" with these options still

Note that I set "sudo -w vfs.timestamp_precision=1" on FreeBSD
according to:


More information about the ghc-devs mailing list