Date: Thu, 07 Mar 2019 06:52:54 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 236346] fix build of some haskell ports with base GNU ld Message-ID: <bug-236346-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236346 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@FreeBSD.org Reporter: pkubaj@anongoth.pl Created attachment 202671 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202671&action= =3Dedit 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 usua= lly 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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236346-7788>