[Bug 264192] lang/ghc: poudriere based build used odd mix of devel/llvm10 and system toolchain

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 28 Aug 2022 18:37:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264192

--- 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.

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