From nobody Sat Aug 27 01:02:23 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 4MDz272L10z4bJk7 for ; Sat, 27 Aug 2022 01:02:23 +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 4MDz270XSFz46rm for ; Sat, 27 Aug 2022 01:02:23 +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 4MDz266kQRzb8Q for ; Sat, 27 Aug 2022 01:02:22 +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 27R12MVa078867 for ; Sat, 27 Aug 2022 01:02:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27R12MEQ078866 for haskell@FreeBSD.org; Sat, 27 Aug 2022 01:02:22 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: Sat, 27 Aug 2022 01:02:23 +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: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED 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 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=1661562143; 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: in-reply-to:in-reply-to:references:references; bh=xm5g4cM4vO/ZZEITKsV7J+EV2VUX2P0dJNZahAoUxU8=; b=T8DuUHutXmhzMpoVVpoCKUjCPEdWUVnOX8qAehfXEyocGBJNLOtD6VIElcoRJ+DK71HIXj 6YyTO0VOw8MfLy54QWJlzSxFqG26SKfHaRtvWaTJMPkpkXZq08Rdx29juQQg8YGiKcCcW1 aMooxvIgi6RKtqcuTW8fVa29x6N34jeWBqJ0TTo/pOv/5TiAniytlnSsjRK4DuBpwGHDQt W6IMrMP6t0lYNdxC3lkE6BbkMFkfBJjufnYNHPtmH7Jzn+K4ThHrEMmHqz/R5f+BYYc9v1 2kzMzyFs/OKEXrkbv/ijNPgbjq8h3e83K0qV2Kp/uG53bYAY5dbNyWlg02AmTA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661562143; a=rsa-sha256; cv=none; b=TJhHupCIS8cCOWE8HVR4A+pnjX/kshs8exg+GMUAizakqNrY+Aq73BcoQ2HBxLLUe7pB0m NJXJ7rKEQdXvCIKZOQCxb+bzcufZvkN3cJCYSI9cap+DAWSw+lWadpOrQDtGxFwJIuwdgb rrqJZb5pXomUP8u5U93XWS/vmZFNznnseo3EQwtHdsRnD9EIqC+8Tf3qYRlTLgUmUfplUZ Sdo1mxGgTLrAx9PFBqIQeJJkouxldJM14Wh3kQs1+AiHtAlySB7iTsl2KpqW2n9uIJjzCT xwuUvgHNjWfe8a22vdzySr49HN8UjvsnqT2fzggGewhRvT209u+xlBOffUzPsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264192 --- Comment #41 from Mark Millard --- (In reply to Gleb Popov from comment #40) You have not answered how lang/ghc/Makefile leads to bootstrap 8.10.7 using LLVM10's clang for/during its build. There is evidence of use: # grep -r "\" work/ghc-8.10.7-boot/ | more Binary file work/ghc-8.10.7-boot/utils/ghc-cabal/dist-install/build/tmp/ghc-cabal match= es Binary file work/ghc-8.10.7-boot/utils/ghc-pkg/dist-install/build/tmp/ghc-p= kg matches Binary file work/ghc-8.10.7-boot/utils/iserv/stage2/build/tmp/ghc-iserv mat= ches work/ghc-8.10.7-boot/mk/config.mk.in:# NB. Don't override $(CC) using build= .mk, re-configure using work/ghc-8.10.7-boot/mk/config.mk.in:# the flag CC=3D instead. The r= eason is that the configure script work/ghc-8.10.7-boot/mk/config.mk.in:CC =3D @CC@ work/ghc-8.10.7-boot/mk/config.mk.in:CC_STAGE1 =3D $(CC) work/ghc-8.10.7-boot/mk/config.mk.in:CC_STAGE2 =3D $(CC) work/ghc-8.10.7-boot/mk/config.mk.in:CC_STAGE3 =3D $(CC) work/ghc-8.10.7-boot/mk/config.mk.in:AS =3D @CC@ work/ghc-8.10.7-boot/includes/ghc.mk:DERIVE_CONSTANTS_FLAGS +=3D --gcc-prog= ram "$(CC)" . . . # grep -r "\" work/ghc-8.10.7-boot/ | more work/ghc-8.10.7-boot/mk/config.mk.in:CLANG =3D @ClangCmd@ Similarly for how lang/ghc/Makefile leads to 9.2.4 using LLVM12's clang for/during its build. There is evidence of use: # grep -r "\" work/ghc-9.2.4/ | more work/ghc-9.2.4/configure:CC work/ghc-9.2.4/configure:CC work/ghc-9.2.4/configure:To assign environment variables (e.g., CC, CFLAGS.= ..), specify them as work/ghc-9.2.4/configure: --with-gcc=3DARG Use ARG as the path to= gcc (obsolete, use CC=3DARG work/ghc-9.2.4/configure: --with-clang=3DARG Use ARG as the path to= clang (obsolete, use CC=3DARG work/ghc-9.2.4/configure: CC C compiler command work/ghc-9.2.4/configure:ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$a= c_ext >&5' work/ghc-9.2.4/configure:ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPF= LAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' work/ghc-9.2.4/configure: CC=3D"${mingwbin}gcc.exe" . . . # grep -r "\" work/ghc-9.2.4/ | more work/ghc-9.2.4/configure:CLANG work/ghc-9.2.4/configure:CLANG work/ghc-9.2.4/configure: CLANG Use as the path to clang [default=3Dautodetect] work/ghc-9.2.4/configure: if test -n "$CLANG"; then work/ghc-9.2.4/configure: ac_cv_prog_CLANG=3D"$CLANG" # Let the user overr= ide the test. work/ghc-9.2.4/configure:CLANG=3D$ac_cv_prog_CLANG work/ghc-9.2.4/configure:if test -n "$CLANG"; then work/ghc-9.2.4/configure: { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CLANG" >&5 work/ghc-9.2.4/configure:printf "%s\n" "$CLANG" >&6; } work/ghc-9.2.4/configure: ac_ct_CLANG=3D$CLANG work/ghc-9.2.4/configure: CLANG=3D$ac_ct_CLANG work/ghc-9.2.4/configure: CLANG=3D"" work/ghc-9.2.4/configure: CLANG=3D"$ac_cv_prog_CLANG" work/ghc-9.2.4/configure:ClangCmd=3D"$CLANG" . . . --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=