[Bug 236346] fix build of some haskell ports with base GNU ld
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 7 06:52:57 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236346
Bug ID: 236346
Summary: fix build of some haskell ports with base GNU ld
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: pkubaj at anongoth.pl
Created attachment 202671
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=202671&action=edit
patch
GCC architectures currently use GNU ld 2.17 (no lld). Linking some hs- ports
fails, because of too large TOC. In case of C or C++ programs, you can usually
add -mminimal-toc to CFLAGS or CXXFLAGS to mitigate it, but I didn't find a
similar option for GHC.
Thus, use GNU ld from ports to fix build.
Tested on powerpc64 and amd64.
Hardware sponsored by IntegriCloud.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list