From nobody Mon Aug 29 00:21:46 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 4MGB2L43sQz4Zm9H for ; Mon, 29 Aug 2022 00:21:46 +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 4MGB2L2xl0z49Pf for ; Mon, 29 Aug 2022 00:21:46 +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 4MGB2L0r13zG4s for ; Mon, 29 Aug 2022 00:21:46 +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 27T0LkoM094300 for ; Mon, 29 Aug 2022 00:21:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27T0LkAu094299 for haskell@FreeBSD.org; Mon, 29 Aug 2022 00:21:46 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, 29 Aug 2022 00:21:46 +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: 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=1661732506; 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=mXxOSdJmzTBu7aZoLTSF6CyRmbMa5X0VWmxg+ygAS+0=; b=LjxQ6EhqOgJdfJ5r5g0FUE5XMHEK4uEZWPH2Z2InVtAKmOtoRdH6sHGmcE2/UdAlWLOrae mYmp/oRIUTDLurb1BRSLuYX5WA2xACVfVufG3RsAgsG9j390C0z++mR/1QKGngBG1BTkXP FXWqI5tJcybXTn1cF6M3MT29uorLgXlaDVpommPIdO8xplmxQGKifWC79vwbGfFlH5SGlx pdHT/XNHDn5/Ad0cziqpaKhLNCKCXJ4XP1U7n6ZZNt9tYtY06tZ0pN0bzJEt9+BhpCVJ2/ Ilk6f0CbcofKF94XO5aX/DgF+a1WxzMjltnmWq9KTT+Z8yCq8KWrmyIPaVpd5g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661732506; a=rsa-sha256; cv=none; b=TT7z0hQcW6J6yeejW3f1UISMnXYDSNFOJwGPI58tvCb+65MhrGZ/Yae77/WFz9N1Ol2NVM /UAV/RhZrDTCw+PCisg2Ov4wAxtvWSV9dp/sK7CXjv2vC6vnK5EAQzycABzYz13LDICF9O +SqAcGs5EOZ7eSOpRhXl1IDA52eD3sCTMAZYeZnBjAuYuRoHxDqsWO+ytu4R0KLTfrUhnE 553yjWFpSrnvwncNhKxEMhFQE/aJ43PBmZmg4UBVQBclLQ9J2aeHnMkZvgfyfmMQzUUyQg Nu1B+MyNRtZZ3pApNJRNJT4HK6GDrjyRbZtHNwtifWNx61yciblnNcXmNXTHHw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264192 --- Comment #52 from Mark Millard --- (In reply to Mark Millard from comment #51) Confirming the aarch64 chroot to armv7 shows a 2 GiByte limitation instead what direct armv7 shows . . . On a Cortex-A72's based system (UFS), chroot'd into an armv7 context: # time -l /usr/local/llvm12/bin/llc -O1 -enable-tbaa -relocation-model=3Dst= atic -mcpu=3Dgeneric -mattr=3D+strict-align ghc2478_0/ghc_6.bc -o ghc2478_0/ghc_= 7.lm_s LLVM ERROR: out of memory Allocation failed PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. Stack dump: 0. Program arguments: /usr/local/llvm12/bin/llc -O1 -enable-tbaa -relocation-model=3Dstatic -mcpu=3Dgeneric -mattr=3D+strict-align ghc2478_0= /ghc_6.bc -o ghc2478_0/ghc_7.lm_s 1. Running pass 'Function Pass Manager' on module 'ghc2478_0/ghc_6.bc'. 2. Running pass 'ARM Instruction Selection' on function '@"rRIA_info$d= ef"' #0 0x422ac0a0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/local/llvm12/bin/../lib/libLLVM-12.so+0x20ac0a0) #1 0x422a9d1c llvm::sys::RunSignalHandlers() (/usr/local/llvm12/bin/../lib/libLLVM-12.so+0x20a9d1c) #2 0x422acd08 (/usr/local/llvm12/bin/../lib/libLLVM-12.so+0x20acd08) #3 0x400eaed8 handle_signal /usr/main-src/lib/libthr/thread/thr_sig.c:0:3 time: command terminated abnormally 228.25 real 214.27 user 11.41 sys 1927128 maximum resident set size 43 average shared memory size 7 average unshared data size 238 average unshared stack size 1036170 page reclaims 134 page faults 0 swaps 17472 block input operations 88235 block output operations 0 messages sent 0 messages received 1 signals received 136543 voluntary context switches 3185 involuntary context switches Abort trap Just before/during the process crash top showed just a little below 2 GiBytes (2046 MiBytes) for SIZE for the llc process, never showing more than 2048 MiBytes: PID JID USERNAME PRI NICE SIZE RES STATE C TIME C= PU COMMAND 1118 0 root 52 0 2046Mi 1880Mi CPU9 9 3:38 85.0= 0% /usr/local/llvm12/bin/llc -O1 -enable-tbaa -relocation-model=3Dstatic -mcpu=3Dgeneric -mattr=3D+strict-align ghc2478_0/ghc_6.bc 1117 0 root 21 0 4352Ki 1596Ki wait 12 0:00 0.0= 0% time -l /usr/local/llvm12/bin/llc -O1 -enable-tbaa -relocation-model=3Dstat= ic -mcpu=3Dgeneric -mattr=3D+strict-align ghc2478_0/ --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=