From nobody Thu May 26 20:38:39 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 6753A1B4C534 for ; Thu, 26 May 2022 20:38:39 +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 4L8KXH0fn5z3Ktq for ; Thu, 26 May 2022 20:38:39 +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 D347014F2F for ; Thu, 26 May 2022 20:38:38 +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 24QKccZL058276 for ; Thu, 26 May 2022 20:38:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24QKccv8058275 for haskell@FreeBSD.org; Thu, 26 May 2022 20:38:38 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: Thu, 26 May 2022 20:38:39 +0000 X-Bugzilla-Reason: AssignedTo CC 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: Open 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 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=1653597519; 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=NGvZA9ErVF64ANMDJo7n/SUK25EwpeblEOgep5BMdxc=; b=HzKIP+Wb9WZxY7pMQYzrPdAfiPKiKI18GuTaUZsjhMV2wHS1ia3tFivbWRIbS+eT0chqx0 nTw/4cisX4oGj0f5uyQHtdZ5FVei26DNGcpc0mfkDAayx4Gzr24ibFc5BCgqVBdHs8p7hj w3iTLI85SWkJN4ysGmfA2Db98BDgJ2jGU7nYng0BLdGCbQZyEqDNSiuAToTnmf269Q0+gu YTT9CjwQQea+t6qxfFcqjKCGeN63vMQVwro3Mnj+j7ckaXAdvSf1a1H9swXmhfWdHG2rfv jSyfUrXwbX4S7sg1Q0cYxBKTxTxrPoSZ5FRrVd9Vfd7OLgPsveeTp7tnO/WSWw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653597519; a=rsa-sha256; cv=none; b=p9rczT4fYTkIY845m8qqw73Z7cbIJtp0ymSYEs/C1ZsVae6r+bZ5MqGBnV2SpFsCKghQQy RCXO6yT2RCAA153uPMUDJa48H1s5GmD+lpGP325ZdYnxb0WDyxkPH+DuqDr2oJy9a/EdjS +e6KagN4UZZpmf3ortNQPfHIrrppRMrI9Vx6rG6ajFJXubzvf+MdBFFfnY8aBJk7vlpqKD tEzGR0cVXDhZxJoIveYCPGU2OwdlxeMEvo7FAtKioiRYR1VVKw9dgQEUenQoFgzIBhoPHS gI7PoEEC/egIjfJPmpWBlyrsRKiWJXBzT3uLzkh2DhHNXbnU+5k3aOXpMcK7IA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264192 --- Comment #7 from Mark Millard --- (In reply to Gleb Popov from comment #6) I assume the poudriere jail got it via: # poudriere jail -jmain-CA7-bulk_a -i Jail name: main-CA7-bulk_a Jail version: 14.0-CURRENT Jail arch: arm.armv7 Jail method: null Jail mount: /usr/obj/DESTDIRs/main-CA7-poud-bulk_a Jail fs:=20=20=20=20=20=20=20=20=20=20=20 Jail updated: 2021-12-04 14:54:10 Jail pkgbase: disabled # chroot /usr/obj/DESTDIRs/main-CA7-poud-bulk_a/ # which llc /usr/bin/llc Is there anything better to looks at under: /wrkdirs/usr/ports/lang/ghc/work/ from the -w ? For reference, the log around the later failure looks like: . . . 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... HC [stage 1] compiler/stage2/build/CmmLayoutStack.o HC [stage 1] compiler/stage2/build/GHC/StgToCmm/Prim.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... LLVM ERROR: out of memory Allocation failed PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include = the crash backtrace. Stack dump: 0. Program arguments: llc -O2 -enable-tbaa -relocation-model=3Dstatic -mcpu=3Dgeneric -mattr=3D+strict-align /tmp/ghc22572_0/ghc_6.bc -o /tmp/ghc22572_0/ghc_7.lm_s 1. Running pass 'Function Pass Manager' on module '/tmp/ghc22572_0/ghc_6.bc'. 2. Running pass 'ARM Instruction Selection' on function '@"g3ky7_info$def"' LLVM ERROR: out of memory Allocation failed `llc' failed in phase `LLVM Compiler'. (Exit code: -6) gmake[2]: *** [compiler/ghc.mk:308: compiler/stage2/build/GHC/Hs/Instances.= p_o] Error 1 gmake[2]: *** Waiting for unfinished jobs.... However, watching with top showed llc . I do not remember ever seeing a ll= c10 at any stage. But I was trying to report the early activity that was (only sometimes) reporting the messages about LLVM version 14.0.3 being in use. That might invalidate later activity. --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=