From nobody Mon May 23 21:37:58 2022 X-Original-To: haskell@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 218211AEBFF3 for ; Mon, 23 May 2022 21:37:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6W066ryjz4gdg for ; Mon, 23 May 2022 21:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C7E0017F02 for ; Mon, 23 May 2022 21:37:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 24NLbwFS067324 for ; Mon, 23 May 2022 21:37:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24NLbwDc067323 for haskell@FreeBSD.org; Mon, 23 May 2022 21:37:58 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 264192] lang/ghc: poudriere based build used odd mix of devel/llvm10 and system toolchain Date: Mon, 23 May 2022 21:37:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Haskell issues and discussions List-Archive: https://lists.freebsd.org/archives/freebsd-haskell List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-haskell@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653341879; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=brY/ooULO/rlVgX+utotThcSxhEjV4jLUKBMkmO9cz8=; b=rMraNRzqhY89scuhJQ+rsSMpWP/J5bYR1Ma83LmvnByyFLeEXo2t+cYM95eYJUhD8zHQ8L L8kUdNXWt5QmXmN0R7WlEtRzzogILx/7NGgTjXawb5LtolJfsw1NPzmOrWllKX8eLGCwTk F2iGXlet48HAgZw8mhImFbtU2pmHkuUPfIx5zgJzfY6ZeJBrw+/5coxXae7EkAHazNXmLY b/IUXW79AnH8qZwEm1/5zkJwv2MGMf+sS+lo840yEWH+NMPIPiQ6i8dRoOINnCbQp5NwXc JcCC0zKvjsaruiZhr/YXte1bsEuiLvByB3qVOPfAKPKAKh09vvPYaBr06qZYNg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653341879; a=rsa-sha256; cv=none; b=xBy2RpuD5yaLQmNB+yA8qB/uOHIrw+Tn0drwOBkBeDFJjBEpXtmLmfenana8HPBIeYnf8c 1SHTNMCsNXACfLtywSlEfIYdnh3/Fw3oX5HQdsH9+Pm5NvjYON+CvqYo/T0uRZnfixYlJg AgbwRYeHTp9kLgl5/BHRGuMASbOSmhD6vll+Nh+Tk/78P1fIAXUK4KgdwHGq3ooj9Go8ad Btkwd2H3ILsboWv+xt5YXAbWroQwNaCY1n1ON/ie6NkV84XwtG2q6kWl3QsmzygB5bCKvC RhVFaJVG+zMjgZXdNGtKja+vRzQQ9hzhJ2G0GfdE1qWwSbv304Xhok9syj8FWQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264192 Bug ID: 264192 Summary: lang/ghc: poudriere based build used odd mix of devel/llvm10 and system toolchain 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: marklmi26-fbsd@yahoo.com CC: brooks@FreeBSD.org, haskell@FreeBSD.org CC: brooks@FreeBSD.org, haskell@FreeBSD.org There is a lang/ghc build oddity: watching it in top during the early parts of its build shows: 52498 . . . /usr/local/llvm10/bin/llc -O1 -enable-tbaa -relocation-model=3Dstatic -mcpu=3Dgeneric -mattr=3D+strict-align /tmp/ghc4= 7452_0/gh so it is using devel/llvm10 at this stage. I see in the Makefile : LLVM_VERSION=3D 10 BOOT_GHC_VERSION=3D 8.10.7 # LLVM version that bootstrap compiler uses BOOT_LLVM_VERSION=3D 10 . . . .if ${ARCH} =3D=3D aarch64 || ${ARCH:Marmv*} # ghc-8.10.x on arm requires devel/llvm10 # CONFIGURE_TARGET must to be the same as the llvm triple CONFIGURE_TARGET=3D ${ARCH}-unknown-freebsd${"${ARCH:Maarch64}" !=3D "":?:-gnueabihf} CONFIGURE_ARGS+=3D --host=3D${CONFIGURE_TARGET} BUILD_DEPENDS+=3D llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION} RUN_DEPENDS+=3D llc${LLVM_VERSION}:devel/llvm${LLVM_VERSION} # When GHC being compiled and GHC used for bootstrapping support different # LLVM versions, we have to pull in both. Luckily, this is relatively rare. . if ${BOOT_LLVM_VERSION} !=3D ${LLVM_VERSION} BUILD_DEPENDS+=3D llc${BOOT_LLVM_VERSION}:devel/llvm${BOOT_LLVM_VER= SION} . endif .endif Yet the log file for lang/ghc shows, for only some of its activity, far from all: . . . HC [stage 0] utils/genapply/dist/build/Main.o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... "inplace/bin/mkdirhier" utils/genapply/dist/build/tmp//. You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Adjustor.p_o rts_dist_HC rts/dist/build/Arena.p_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Capability.p_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/CheckUnload.p_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/ClosureFlags.p_o . . . rts_dist_HC rts/dist/build/PrimOps.p_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/StgMiscClosures.p_o rts_dist_HC rts/dist/build/StgStartup.p_o rts_dist_HC rts/dist/build/StgStdThunks.p_o rts_dist_HC rts/dist/build/Updates.p_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Adjustor.dyn_o rts_dist_HC rts/dist/build/Arena.dyn_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Capability.dyn_o . . . rts_dist_HC rts/dist/build/StgMiscClosures.dyn_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/StgStartup.dyn_o rts_dist_HC rts/dist/build/StgStdThunks.dyn_o "inplace/bin/ghc-pkg" --simple-output field rts extra-libraries \ | sed -e 's/\([^ ][^ ]*\)/-l\1/g' > rts/dist/libs.depend rts_dist_HC rts/dist/build/Updates.dyn_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Adjustor.l_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... "inplace/bin/ghc-pkg" --simple-output field rts library-dirs \ | sed -e 's/\([^ ][^ ]*\)/-L\1/g' >> rts/dist/libs.depend rts_dist_HC rts/dist/build/Arena.l_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Capability.l_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/CheckUnload.l_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/ClosureFlags.l_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Disassembler.l_o . . . rts_dist_HC rts/dist/build/StgMiscClosures.l_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/StgStartup.l_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/StgStdThunks.l_o rts_dist_HC rts/dist/build/Updates.l_o rts_dist_HC rts/dist/build/Adjustor.debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Arena.debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Capability.debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/CheckUnload.debug_o rts_dist_HC rts/dist/build/ClosureFlags.debug_o rts_dist_HC rts/dist/build/Disassembler.debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/FileLock.debug_o . . . rts_dist_HC rts/dist/build/StgStdThunks.debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Updates.debug_o rts_dist_HC rts/dist/build/Adjustor.thr_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Arena.thr_o rts_dist_HC rts/dist/build/Capability.thr_o rts_dist_HC rts/dist/build/CheckUnload.thr_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/ClosureFlags.thr_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Disassembler.thr_o rts_dist_HC rts/dist/build/FileLock.thr_o rts_dist_HC rts/dist/build/ForeignExports.thr_o rts_dist_HC rts/dist/build/fs.thr_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Globals.thr_o . . . rts_dist_HC rts/dist/build/StgStartup.thr_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/StgStdThunks.thr_o rts_dist_HC rts/dist/build/Updates.thr_o rts_dist_HC rts/dist/build/Adjustor.thr_debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/Arena.thr_debug_o rts_dist_HC rts/dist/build/Capability.thr_debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/CheckUnload.thr_debug_o You are using an unsupported version of LLVM! Currently only 9 to 13 is supported. System LLVM version: 14.0.3 We will try though... rts_dist_HC rts/dist/build/ClosureFlags.thr_debug_o . . . I'll stop with that. There is more. The log files for lang/ghc show: =3D=3D=3D> Installing existing package /packages/All/llvm10-10.0.1_10.pkg [CA72_ZFS] Installing llvm10-10.0.1_10... [CA72_ZFS] `-- Installing libedit-3.1.20210910,1... [CA72_ZFS] `-- Extracting libedit-3.1.20210910,1: .......... done [CA72_ZFS] `-- Installing libxml2-2.9.13_2... [CA72_ZFS] `-- Extracting libxml2-2.9.13_2: .......... done [CA72_ZFS] `-- Installing lua52-5.2.4... [CA72_ZFS] `-- Extracting lua52-5.2.4: ......... done [CA72_ZFS] `-- Installing perl5-5.32.1_1... [CA72_ZFS] `-- Extracting perl5-5.32.1_1: .......... done [CA72_ZFS] Extracting llvm10-10.0.1_10: .......... done but no other devel/llvm* install. So the use of llvm14 was via the system toolchain, not via use of devel/llvm14 . For reference . . . The /usr/ports content vintage in use: merge-base: 0a2f0da65b65bb9b3abf7a06815854f3cff063fa merge-base: CommitDate: 2022-05-07 18:07:34 +0000 0a2f0da65b65 (HEAD -> main) devel/py-tabulate: update to version 0.8.9 n582877 (--first-parent --count for merge-base) The aarch64 system (being used to target armv7 in the build): (system can execute armv7 code natively, so no use of qemu) main-n255745-77649f35a7e5-dirty --=20 You are receiving this mail because: You are on the CC list for the bug.=