[Fedora-haskell-list] [Bug 741725] ghc armv7hl arch support

bugzilla at redhat.com bugzilla at redhat.com
Wed Sep 28 09:03:31 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=741725

Henrik Nordström <henrik at henriknordstrom.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|needinfo?(henrik at henriknord |
                   |strom.net)                  |

--- Comment #7 from Henrik Nordström <henrik at henriknordstrom.net> 2011-09-28 05:03:30 EDT ---
Those two comments is about problems relating to the Fedora patch to use system
provided libffi instead of the normal bundled copy.

THe first comment is about that on the primary arches ghc is patched to use the
system provided libffi, but on armv7hl and presumably ppc64 as well this then
fails to find ffi.h during stage1 compile. And my guess is that it's due to
differences in how libffi is referenced when ghci is enabled as that was the
only clue I could find in the .mk files to why it could fail to find ffi.h on
arm but not x86. More investigation is needed to fully identify why if fails to
properly reference the system provided libffi header location in unregisterised
builds without ghci.


The second comment is from the fact that libffi is always referenced and
linked, even when not using the system provided copy (a bundled copy is then
used). It should not be needed to add -lffi globally only because the system
provided libffi is used. The same -lffi is also added by the .mk files in
modules where libffi is needed.

I have not yet tried to build without the added -lffi (need to solve the first
issue first). These are notes from unsuccessfully trying to build ghc using
system provided libffi instead of the bundled copy on armv7hl.

As you probably know, bundling libraries like this is against packaging
guidelines for good reasons.

Regards
Henrik

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the haskell-devel mailing list