Yes, this commit indeed introduced the need for makeinfo, however after some 
debugging and improved packaging of the external libffi library, this 
dependency was removed again, and should not be required with the latest head 
anymore.

Then again this should not result in link issues but rather in build time 
issues.

The key to libffi is the libffi-tarballs git submodule, which contains the 
packaged libffi-tarballs. Make sure all your submodules are also updated.

I usually use `git -x -f -d` (read the documentation first) to ensure a clean 
working tree. Especially as you say you can’t reproduce it on other machines, 
maybe there is a file in your tree that the cleaning did not catch?

Sent from my iPhone

> On 9 Oct 2017, at 4:31 AM, Thomas Jakway <tjak...@nyu.edu> wrote:
> 
> I'm on Ubuntu 16.10.
> 
> I ran git bisect:
> 
> ----------------------
> 
> e515c7f37be97e1c2ccc497ddd0a730e63ddfa82 is the first bad commit
> commit e515c7f37be97e1c2ccc497ddd0a730e63ddfa82
> Author: Moritz Angermann <moritz.angerm...@gmail.com>
> Date:   Sat Sep 30 09:31:12 2017 -0400
> 
> Allow libffi snapshots
> 
> This is rather annoying. I'd prefer to have a stable release to
> use. However libffi-3.2.1 has been released November 12, 2014, and
> libffi-4 is TBD. See also https://github.com/libffi/libffi/issues/296
> 
> The core reason for this change is that llvm changed the supported
> assembly to unified syntax, which libffi-3.2.1 does not use, and hence
> fails to compile for arm with llvm. For refence, see the following
> issue: https://github.com/libffi/libffi/issues/191.
> 
> This diff contains a script to generate a tarball for the
> `libffi-tarballs` repository from the libffi GitHub repository; as well
> as the necessary changes to the build system.
> 
> Updates libffi-tarballs submodule.
> 
> Reviewers: austin, bgamari, hvr
> 
> Subscribers: hvr, erikd, rwbarton, thomie
> 
> Differential Revision: https://phabricator.haskell.org/D3574
> 
> ----------------------
> 
> I can't reproduce it on my other linux computers though.
> 
> 
>> On 10/04/2017 02:17 PM, Ben Gamari wrote:
>> Thomas Jakway <tjak...@nyu.edu> writes:
>> 
>>> Anyone else getting linker errors?
>>> 
>>> This is after running
>>> 
>>> make clean && make distclean && find . -name "*.o" -type f -delete &&
>>> find . -name "*.hi" -type f -delete
>>> 
>>> then
>>> 
>>> ./boot && ./configure && make -j5
>>> 
>>> (ghc-new is not a new checkout, this error is happening on a branch I'm
>>> working on, but one that doesn't touch the FFI)
>>> 
>> I'm afraid I can't reproduce this. What platform/operating system is
>> this on?
>> 
>> Cheers,
>> 
>> - Ben
> 
> _______________________________________________
> ghc-devs mailing list
> 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

Reply via email to