From nobody Sat Aug 27 22:19:21 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 4MFWMY71Jfz4bJhq for ; Sat, 27 Aug 2022 22:19:21 +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 4MFWMY4bDHz3Dhw for ; Sat, 27 Aug 2022 22:19:21 +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 4MFWMY3S1Lzt8g for ; Sat, 27 Aug 2022 22:19:21 +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 27RMJLbu021041 for ; Sat, 27 Aug 2022 22:19:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27RMJLR2021040 for haskell@FreeBSD.org; Sat, 27 Aug 2022 22:19:21 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 22:19:21 +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=1661638761; 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=JMhH9ugRpZGGzK71SEwIulUlgjRbEXc19MB/Z7rlwzc=; b=j7RhEb6TilQB6Io6QquCU6AlDf+p92M1obziTJm7fBM9rQZRaEWDb1gBLHkKTCA2uYLaQO rOyLa8RwNKgmhSjpkAeWwLBoA2M8FdJt1hamhdu6SO4QA9PsNMyNCpTkYBDAy1+ix/hfEx FwagOai9iozXbDZgtuuPYbgIDn2VZ5BgFW8gxlEr1gyT214nGqtZVsbzjCHwuVuI1Ymirx +YF3jL7LraTP7V3dycySk7nd+OE0fjHhwNNQG6XEGSSLYe2OjtbrTcYqqiJnhICcXTmoGo Uo25SeaVVcDclJCX4D8K35T+NaNNBGZLXfUBmpmEyZ+k8NAKiMGFvCKbYF523Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661638761; a=rsa-sha256; cv=none; b=ynGLRT7U2cg/yuXSw5FD/yIqRDOvVzWjewX81HgVXAmz78EuRtHGnVYb6ypjwgJ9EciHqJ iwS2/VrSUaCaqFMN4e17oekQFRtmbFaBZ38JQRlunckWgC1l3JN+f/WSa3rxbfIAcqh4v8 icVph+R3wvOtl9NICAw1oZE3N8PC13q4GqnrU0S+k1UgKVz+xMwcVx86vuhzlNs/7XcVWh hk8Hh5JrFIfX3PlsLprJ+5WrYpQp85gx4NPoxmtkOjnrsHWp4VJyKao72jqpacHCcNf2kS qGFLIUX3tyIl5CEHHlpejrEJag2gMfzgZqbGWsAEHNjVNyqwQbKzGTazPf6+UQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264192 --- Comment #47 from Mark Millard --- (In reply to Mark Millard from comment #34) I wonder if armv7 (and armv6 and 32 bit powerpc) should be marked for being ignored or as broken for lang/ghc* . This is based in part on the below. I built an aarch64 llvm12 and used its llc to process a copy of the ghc_6.bc involved in the armv7 allocation failure context --under a time -l command: 4275764 maximum resident set size So a little over 4 GiBytes resident at some point. (armv7 based processing goes over 2 GiBytes for sure, same file content being processed.) The aarch64 llc did run to completion. With --stats and --time-passes there was the output: ... Pass execution timing report ... =3D=3D=3D------------------------------------------------------------------= -------=3D=3D=3D Total Execution Time: 267.3322 seconds (271.6376 wall clock) ---User Time--- --System Time-- --User+System-- ---Wall Time--- -= -- Name --- 138.2117 ( 58.9%) 7.5446 ( 23.1%) 145.7563 ( 54.5%) 152.2172 ( 56.0%)= =20 ARM Instruction Selection 19.4413 ( 8.3%) 11.4447 ( 35.0%) 30.8859 ( 11.6%) 30.4681 ( 11.2%) A= RM Assembly Printer 9.1118 ( 3.9%) 1.7649 ( 5.4%) 10.8767 ( 4.1%) 10.1547 ( 3.7%)=20 Greedy Register Allocator . . . 234.6558 (100.0%) 32.6764 (100.0%) 267.3322 (100.0%) 271.6376 (100.0%)= =20 Total . . . LLVM IR Parsing =3D=3D=3D------------------------------------------------------------------= -------=3D=3D=3D Total Execution Time: 25.9741 seconds (25.9732 wall clock) ---User Time--- --System Time-- --User+System-- ---Wall Time--- -= -- Name --- 24.5730 (100.0%) 1.4011 (100.0%) 25.9741 (100.0%) 25.9732 (100.0%) P= arse IR 24.5730 (100.0%) 1.4011 (100.0%) 25.9741 (100.0%) 25.9732 (100.0%) T= otal . . . Instruction Selection and Scheduling =3D=3D=3D------------------------------------------------------------------= -------=3D=3D=3D Total Execution Time: 113.1396 seconds (118.8488 wall clock) ---User Time--- --System Time-- --User+System-- ---Wall Time--- -= -- Name --- 46.0782 ( 42.4%) 0.9671 ( 21.4%) 47.0452 ( 41.6%) 50.7440 ( 42.7%) D= AG Combining 1 18.3827 ( 16.9%) 0.4413 ( 9.8%) 18.8240 ( 16.6%) 19.8558 ( 16.7%) D= AG Combining 2 12.1597 ( 11.2%) 0.1607 ( 3.6%) 12.3204 ( 10.9%) 13.0605 ( 11.0%) D= AG Combining after legalize types 10.6380 ( 9.8%) 0.4853 ( 10.7%) 11.1233 ( 9.8%) 11.6023 ( 9.8%)=20 Instruction Selection 9.5097 ( 8.8%) 0.7766 ( 17.2%) 10.2863 ( 9.1%) 10.3773 ( 8.7%)=20 Instruction Scheduling . . . 108.6230 (100.0%) 4.5166 (100.0%) 113.1396 (100.0%) 118.8488 (100.0%)= =20 Total The recent armv7 failure examples via ghc 9 stage activity have all reported llc failure during: Running pass 'ARM Instruction Selection' as well. Older ghc (8.10.7) hit the haddock related memory allocation failures on armv7. --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=