RE: LLVM error when building www/firefox 107.0_2,2

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 20 Nov 2022 06:23:47 UTC
Hiroo Ono (小野寛生) <hiroo.ono+freebsd_at_gmail.com> wrote on
Date: Sat, 19 Nov 2022 13:10:15 UTC :


> while building www/firefox with poudriere, following error occurred.
> Should I report it to LLVM project as the error message says? Or is
> this just a bug in firefox or the combination of options I chose?
> 
> The system is:
> FreeBSD 13.1-STABLE #7 stable/13-af3ccd7b6d: Thu Nov 10 08:00:43 JST 2022
> and the llvm suite is LLVM 13.0.1 from ports.
> . . .
> LLVM ERROR: Type mismatch in constant table!
> . . .

That looks like a report of an internally detected error
of soemtihng that should never happen, something that
firefox code or build options should not result in.

As a somewhat confirming note . . .

http://beefy18.nyi.freebsd.org/data/main-amd64-default/pf5ce9b7ee067_s183088934a/logs/firefox-107.0_2,2.log

is a log from a successful build of 107.0_2,2 on/for
main [so: 14] --thus using a more recent clang++
vintage as well.

Thus, it suggests that "LLVM 13.0.1 from ports" has
a problem that firefox's build ran into.


===
Mark Millard
marklmi at yahoo.com