Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2022 18:37:14 +0000
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
Message-ID:  <bug-264192-16154-YQzBRO25uE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-264192-16154@https.bugs.freebsd.org/bugzilla/>
References:  <bug-264192-16154@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264192

--- Comment #49 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mikael Urankar from comment #48)

That is 9.2.4 or so that you built --via llvm12
for the 9.2.4 stages? I do not get anywhere near
haddock's stage for it. (I did for 8.10.7, last
I tried.) I see the same 9.2.4 and 8.7.10 status
when I look at the FreeBSD build server log
failures.

Notably, for the 9.2.4 context, it is llc that
runs out of memory processing a specific file
and top does not indicate that multi-threading
is in use for that in my context.

I wonder if the content of the input file varies
or if it is only llc itself that is at issue.
GHC/Hs/Instances gets a ghc_6.bc that is what
gets the failure in my context. I've a copy of
that ghc_6.bc and running the armv7 LLVM12 llc
command independently on it gets the out of memory
problem. (The aarch64 llvm12 llc processes it just
fine, but uses far more than 2 GiBytes in its
processing in order to do so.)

The only armv7-only system that I have access to is
a Orange Pi Plus 2E. As I remember, build experiments
on this took a very long time. But the llc / ghc_6.bc
file experiment might be more reasonable if I get the
OPi+2e set up for it. I might try that.

Another possibility is that llvm12 builds differently
on armv7-only hardware vs. on aarch64+armv7 hardware
used for armv7 --so that the llc's are not equivalent.

--=20
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-264192-16154-YQzBRO25uE>