[Bug 255359] www/firefox: Fails to build with LTO enabled after recent update: LLVM ERROR: Broken module found

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 6 15:27:47 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255359

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

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

---Begin OPTIONS List---
===> The following configuration options are available for firefox-88.0.1,2:
     CANBERRA=off: Sound theme alerts
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Build with debugging support
     FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
     LIBPROXY=off: Proxy support via libproxy
     LTO=on: Use Link-Time Optimization
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
     PROFILE=off: Build with profiling support
     TEST=off: Build and/or run tests
====> Extra cubeb audio backends (OSS is always available)
     ALSA=off: ALSA audio architecture support
     JACK=off: JACK audio server support
     PULSEAUDIO=on: PulseAudio sound server support
     SNDIO=off: Sndio audio support
===> 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 build.
The reporter should check if there are any out of memory messages in dmesg.

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


More information about the freebsd-gecko mailing list