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=3D236346 --- 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 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- bsd.cabal.mk (revision 495702) +++ bsd.cabal.mk (working copy) @@ -54,7 +54,7 @@ CABAL_LIBDIR=3D ${PREFIX}/lib/cabal/ghc-${GHC_VERSION} CABAL_LIBSUBDIR=3D ${PACKAGE} -CABAL_ARCH=3D ${ARCH:S/amd64/x86_64/:C/armv.*/arm/} +CABAL_ARCH=3D=20=20=20=20=20=20=20=20=20=20=20 ${ARCH:S/amd64/x86_64/:C/armv.*/arm/:S/powerpc64/ppc64/} CABAL_ARCHSUBDIR=3D ${CABAL_ARCH}-freebsd-ghc-${GHC_VERSION} CABAL_LIBDIR_REL=3D ${CABAL_LIBDIR:S,^${PREFIX}/,,} @@ -93,6 +93,9 @@ BUILD_DEPENDS+=3D ghc>=3D${GHC_VERSION}:lang/ghc .endif +.if ${ARCH} =3D=3D powerpc64 +USE_BINUTILS=3D yes +.endif CONFIGURE_ARGS+=3D --with-gcc=3D${CC} --with-ld=3D${LD} --with-ar=3D= ${AR} --=20 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>