Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2019 17:30:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        haskell@FreeBSD.org
Subject:   [Bug 236346] fix build of some haskell ports with base GNU ld
Message-ID:  <bug-236346-16154-wOnViUGewB@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236346-16154@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236346-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236346

--- Comment #4 from mikael.urankar@gmail.com ---
(In reply to Piotr Kubaj from comment #3)
Ok, I'm seeing that too with DYNAMIC option on (I turned it off to do some
quick test and forgot to update my option)

I think we can use devel/binutils by default on ppc64 since it's kind of
mandatory on ppc64:

Index: bsd.cabal.mk
===================================================================
--- bsd.cabal.mk        (revision 495702)
+++ bsd.cabal.mk        (working copy)
@@ -54,7 +54,7 @@

 CABAL_LIBDIR=          ${PREFIX}/lib/cabal/ghc-${GHC_VERSION}
 CABAL_LIBSUBDIR=       ${PACKAGE}
-CABAL_ARCH=            ${ARCH:S/amd64/x86_64/:C/armv.*/arm/}
+CABAL_ARCH=           
${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/powerpc64/ppc64/}
 CABAL_ARCHSUBDIR=      ${CABAL_ARCH}-freebsd-ghc-${GHC_VERSION}
 CABAL_LIBDIR_REL=      ${CABAL_LIBDIR:S,^${PREFIX}/,,}

@@ -93,6 +93,9 @@
 BUILD_DEPENDS+=        ghc>=${GHC_VERSION}:lang/ghc
 .endif

+.if ${ARCH} == powerpc64
+USE_BINUTILS= yes
+.endif

 CONFIGURE_ARGS+=       --with-gcc=${CC} --with-ld=${LD} --with-ar=${AR}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
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-16154-wOnViUGewB>