Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2021 15:27:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 255359] www/firefox: Fails to build with LTO enabled after recent update: LLVM ERROR: Broken module found
Message-ID:  <bug-255359-21738-b8RRvXCbNg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255359-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255359-21738@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=3D255359

--- Comment #18 from Evgeniy Khramtsov <evgeniy@khramtsov.org> ---
(In reply to Jan Beich from comment #15)

I can't reproduce this with llvm=3D12 and new rust from this review. To mim=
ic a
more vanilla environment, I built firefox without DankBSD lightweight harde=
ning
and with X11 on. I can post a compressed poudriere log if you need this. So=
rry
for not posting yesterday, my build machine is kinda slow. The options were:

---Begin OPTIONS List---
=3D=3D=3D> The following configuration options are available for firefox-88=
.0.1,2:
     CANBERRA=3Doff: Sound theme alerts
     DBUS=3Don: D-Bus IPC system support
     DEBUG=3Doff: Build with debugging support
     FFMPEG=3Don: FFmpeg support (WMA, AIFF, AC3, APE...)
     LIBPROXY=3Doff: Proxy support via libproxy
     LTO=3Don: Use Link-Time Optimization
     OPTIMIZED_CFLAGS=3Don: Use extra compiler optimizations
     PROFILE=3Doff: Build with profiling support
     TEST=3Doff: Build and/or run tests
=3D=3D=3D=3D> Extra cubeb audio backends (OSS is always available)
     ALSA=3Doff: ALSA audio architecture support
     JACK=3Doff: JACK audio server support
     PULSEAUDIO=3Don: PulseAudio sound server support
     SNDIO=3Doff: Sndio audio support
=3D=3D=3D> Use 'make config' to modify these settings
---End OPTIONS List---

LTO likely requires more memory to build, but I have 16 GB swap so the build
passed. Note that profiling on may increase the requirements for an LTO bui=
ld.
The reporter should check if there are any out of memory messages in dmesg.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255359-21738-b8RRvXCbNg>