From owner-freebsd-haskell@freebsd.org Thu Mar 14 17:30:35 2019 Return-Path: Delivered-To: freebsd-haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D799F15249FB for ; Thu, 14 Mar 2019 17:30:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0868A213 for ; Thu, 14 Mar 2019 17:30:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 23B7015249FA; Thu, 14 Mar 2019 17:30:34 +0000 (UTC) Delivered-To: haskell@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11EB715249F9 for ; Thu, 14 Mar 2019 17:30:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A1CD18A20B for ; Thu, 14 Mar 2019 17:30:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D9194B4C5 for ; Thu, 14 Mar 2019 17:30:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x2EHUW9U073052 for ; Thu, 14 Mar 2019 17:30:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x2EHUWWI073051 for haskell@FreeBSD.org; Thu, 14 Mar 2019 17:30:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: haskell@FreeBSD.org Subject: [Bug 236346] fix build of some haskell ports with base GNU ld Date: Thu, 14 Mar 2019 17:30:32 +0000 X-Bugzilla-Reason: CC AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mikael.urankar@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: haskell@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Mar 2019 17:30:35 -0000 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.=