https://bugzilla.redhat.com/show_bug.cgi?id=1385475
Bug ID: 1385475 Summary: dynamic linking failing for armv7hl executables with ghc-7.10.3 Product: Fedora Version: rawhide Component: ghc Assignee: petersen@redhat.com Reporter: petersen@redhat.com QA Contact: extras-qa@fedoraproject.org CC: bos@serpentine.com, haskell-devel@lists.fedoraproject.org, petersen@redhat.com
Description of problem: Dynamic linking of for packages with executables is failing on armv7hl when using ghc-7.10.3 on armv7hl (and aarch64).
eg: Linking dist/build/xmobar/xmobar ... /usr/lib/ghc-7.10.3/scien_3vmCXiZeJinKZBcLawS8i0/libHSscientific-0.3.4.7-3vmCXiZeJinKZBcLawS8i0-ghc7.10.3.so: error: undefined reference to 'log' collect2: error: ld returned 1 exit status
How reproducible: 100%
Steps to Reproduce: 1. build packages with dynlinked executable
Actual results: fails with "undefined reference to 'log'" etc.
Expected results: dynlinking to work
Additional info: This worked earlier though, eg in beginning of August 2016: http://koji.fedoraproject.org/koji/buildinfo?buildID=787831
https://bugzilla.redhat.com/show_bug.cgi?id=1385475
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1385477
https://bugzilla.redhat.com/show_bug.cgi?id=1385475
--- Comment #1 from Jens Petersen petersen@redhat.com --- As a workaround for now I have disabled exe dynlinking in ghc-rpm-macros.
https://bugzilla.redhat.com/show_bug.cgi?id=1385475
--- Comment #2 from Jens Petersen petersen@redhat.com --- ghc-rpm-macros-1.6.9-8.fc26
https://bugzilla.redhat.com/show_bug.cgi?id=1385475
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE Last Closed| |2017-04-26 03:41:53
https://bugzilla.redhat.com/show_bug.cgi?id=1385475
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|RAWHIDE |DUPLICATE
--- Comment #4 from Jens Petersen petersen@redhat.com ---
*** This bug has been marked as a duplicate of bug 1386126 ***
haskell-devel@lists.fedoraproject.org