
Anyone else getting linker errors?
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_uint64'
chmod +x inplace/bin/runghc
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_uint32'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_uint16'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_uint8'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_sint64'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_sint32'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_sint16'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_sint8'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_double'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_float'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_pointer'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_type_void'
/home/thomas/git/ghc-new/libraries/ghci/dist-install/build/libHSghci-8.3-ghc8.3.
20171003.so: error: undefined reference to 'ffi_prep_cif'
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
iserv/ghc.mk:108: recipe for target
'iserv/stage2_dyn/build/tmp/ghc-iserv-dyn' f
ailed
make[1]: *** [iserv/stage2_dyn/build/tmp/ghc-iserv-dyn] Error 1
make[1]: *** Waiting for unfinished jobs....
<
I hope this will be fixed with: https://phabricator.haskell.org/D4053 and https://phabricator.haskell.org/D4054
Sent from my iPhone
On 2 Oct 2017, at 6:33 AM, Ryan Scott
mailto:ryan.gl.scott@gmail.com> wrote: Trying to build a fresh copy of GHC HEAD (at commit [1]) today failed for me with this error: [2]
/u/rgscott/Software/ghc4/libffi/build/missing: line 81: makeinfo: command not found WARNING: 'makeinfo' is missing on your system. You should only need it if you modified a '.texi' file, or any other file indirectly affecting the aspect of the manual. You might want to install the Texinfo package: http://www.gnu.org/software/texinfo/ The spurious makeinfo call might also be the consequence of using a buggy 'make' (AIX, DU, IRIX), in which case you might want to install GNU make: http://www.gnu.org/software/make/
On my Ubuntu machine, I was able to work around the issue by running:
apt-get install texinfo
But I'm not sure if the texinfo requirement was expected or an unintended side effect of recent libffi changes. Do you know what's happening here Moritz?
Best, Ryan S. ----- [1] http://git.haskell.org/ghc.git/commit/e515c7f37be97e1c2ccc497ddd0a730e63ddfa... [2] http://lpaste.net/6716863452582772736 _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org mailto:ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs