[commit: ghc] master: Change how we handle libffi (b30015e)
Edward Z. Yang
ezyang at MIT.EDU
Mon Mar 25 10:20:18 CET 2013
Excerpts from Ian Lynagh's message of Sat Mar 23 17:01:29 -0700 2013:
> commit b30015e78db99d79cdb48c6c810e3fd49573c5cd
> Author: Ian Lynagh <ian at well-typed.com>
> Date: Sat Mar 23 23:55:56 2013 +0000
>
> Change how we handle libffi
[snip]
> -rts_PACKAGE_CPP_OPTS += -DFFI_INCLUDE_DIR=""
> -rts_PACKAGE_CPP_OPTS += -DFFI_LIB_DIR=""
> +rts_PACKAGE_CPP_OPTS += -DFFI_INCLUDE_DIR=
> +rts_PACKAGE_CPP_OPTS += -DFFI_LIB_DIR=
> +rts_PACKAGE_CPP_OPTS += '-DFFI_LIB="Cffi"'
When I run make in testsuite now, I get:
ezyang at javelin:~/Dev/ghc-build-tick/testsuite$ make fast
mk/boilerplate.mk:164: mk/ghcconfig_srv_code_ghc-build-tick_inplace_bin_ghc-stage2.mk: No such file or directory
"/srv/code/ghc-build-tick/inplace/bin/ghc-stage2" --make -o mk/ghc-config mk/ghc-config.hs
Linking mk/ghc-config ...
/usr/bin/ld: cannot find -lCffi
collect2: error: ld returned 1 exit status
make: *** [mk/ghc-config] Error 1
Some extra diagnostics:
ezyang at javelin:~/Dev/ghc-build-tick$ find -name *Cffi*
./rts/dist/build/libCffi_p.a
./rts/dist/build/libCffi_thr_p.a
./rts/dist/build/libCffi_debug_p.a
./rts/dist/build/libCffi_thr_debug.a
./rts/dist/build/libCffi_debug.a
./rts/dist/build/libCffi_l.a
./rts/dist/build/libCffi_thr_l.a
./rts/dist/build/libCffi_thr.a
Edward
More information about the ghc-commits
mailing list