Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 18:38:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 255193] www/firefox: fails to build with llvm error
Message-ID:  <bug-255193-21738-h0GtW0rG0v@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-255193-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-255193-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gecko (Nobody)
<gecko@FreeBSD.org> for maintainer-feedback:
Bug 255193: www/firefox: fails to build with llvm error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255193



--- Description ---
> uname -a
FreeBSD myhost 13.0-STABLE FreeBSD 13.0-STABLE #5
stable/13-n245247-53c0fd84096: Sat Apr 17 19:47:37 CEST 2021=09
me@myhost:/usr/src/sys/amd64/compile/MY  amd64

OPTIONS_FILE_SET+=3DCANBERRA
OPTIONS_FILE_SET+=3DDBUS
OPTIONS_FILE_UNSET+=3DDEBUG
OPTIONS_FILE_SET+=3DFFMPEG
OPTIONS_FILE_SET+=3DLIBPROXY
OPTIONS_FILE_SET+=3DLTO
OPTIONS_FILE_SET+=3DOPTIMIZED_CFLAGS
OPTIONS_FILE_UNSET+=3DPROFILE
OPTIONS_FILE_UNSET+=3DTEST
OPTIONS_FILE_SET+=3DALSA
OPTIONS_FILE_SET+=3DJACK
OPTIONS_FILE_SET+=3DPULSEAUDIO
OPTIONS_FILE_UNSET+=3DSNDIO

CFLAGS+=3D-O2 -pipe -march=3Dnative

---
/usr/local/bin/clang++11 -std=3Dgnu++17 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=
=3D2
-fstack-protector-strong -fstack-clash-protection -Qunused-arguments
-DLIBICONV_PLUG -isystem /usr/local/include -Qunused-arguments -Wall
-Wbitfield-enum-conversion -Wempty-body -Wignored-qualifiers
-Woverloaded-virtual -Wpointer-arith -Wshadow-field-in-constructor-modified
-Wsign-compare -Wtype-limits -Wunreachable-code -Wunreachable-code-return
-Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt
-Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis
-Wno-range-loop-analysis -Wc++2a-compat -Wcomma -Wimplicit-fallthrough
-Wunused-function -Wunused-variable -Wstring-conversion
-Wtautological-overlap-compare -Wtautological-unsigned-enum-zero-compare
-Wtautological-unsigned-zero-compare -Wno-error=3Dtautological-type-limit-c=
ompare
-Wno-inline-new-delete -Wno-error=3Ddeprecated-declarations
-Wno-error=3Darray-bounds -Wno-error=3Dbackend-plugin -Wno-error=3Dreturn-s=
td-move
-Wno-error=3Datomic-alignment -Wno-error=3Ddeprecated-copy -Wformat
-Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wno-psabi
-Wno-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -p=
ipe
-O2 -pipe -march=3Dnative -O3 -DLIBICONV_PLUG -fstack-protector-strong -isy=
stem
/usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem
/usr/local/include -fno-exceptions -fno-strict-aliasing -fPIC -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -=
O2
-O2 -O3 -fomit-frame-pointer -funwind-tables  -shared -Wl,-z,defs
-Wl,--warn-unresolved-symbols -Wl,--gc-sections -Wl,-h,libxul.so -o libxul.=
so
/usr/ports/www/firefox/work/.build/toolkit/library/build/libxul_so.list=20
-flto=3Dthin -Wl,-plugin-opt=3D-import-instr-limit=3D10
-Wl,-plugin-opt=3Dnew-pass-manager -Wl,-plugin-opt=3D-import-hot-multiplier=
=3D30
-pthread -Wl,--as-needed -fstack-protector-strong -Wl,-z,noexecstack
-Wl,-z,text -Wl,-z,relro -Wl,-z,nocopyreloc -Wl,-Bsymbolic-functions
-Wl,--build-id=3Dsha1 -fstack-protector-strong -fstack-clash-protection
-Wl,-rpath-link,/usr/ports/www/firefox/work/.build/dist/bin
-Wl,-rpath-link,/usr/local/lib	../../../js/src/build/libjs_static.a
/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libgkrust=
.a
../../../config/external/lgpllibs/liblgpllibs.so
../../../config/external/sqlite/libmozsqlite3.so
../../../widget/gtk/mozgtk/stub/libmozgtk_stub.so
../../../widget/gtk/mozwayland/libmozwayland.so   -L/usr/local/lib -licui18n
-L/usr/local/lib -licuuc -licudata -laom -ldav1d -lX11 -lX11-xcb -lxcb
-lXcomposite -lXcursor -lXdamage -lXext -lXfixes -lXi -lXrender -lpthread -=
lffi
-lplds4 -lplc4 -lnspr4 -pthread -ldl -lz -lm -lnss3 -lsmime3 -lssl3 -lnssut=
il3
-lfreetype -lfontconfig -lutil -lpng -lwebpdemux -lwebp -lgraphite2 -lharfb=
uzz
-levent -lvpx -lpixman-1 -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -l=
intl
-lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf=
-2.0
-lgio-2.0 -lxcb-shm -lpangoft2-1.0 -lXt -lgthread-2.0 -lproxy
/usr/ports/www/firefox/work/.build/_virtualenvs/init_py3/bin/python -m
mozbuild.action.check_binary --target ../../dist/bin/firefox
BUILDTASK {"argv":
["/usr/ports/www/firefox/work/firefox-88.0/python/mozbuild/mozbuild/action/=
chec
k_binary.py",
"--target", "../../dist/bin/firefox"], "start": 1618767092.051863, "end":
1618767092.0601516, "context": null}
strip  ../../dist/bin/firefox
gmake[5]: Leaving directory '/usr/ports/www/firefox/work/.build/browser/app'
LLVM ERROR: Cannot select: intrinsic %llvm.x86.aesni.aesenc
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace.
Stack dump:
0.	Running pass 'Function Pass Manager' on module
'/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libgkrus=
t.a(
wgpu_bindings-a1120473880a547d.wgpu_bindings.62k6hogr-cgu.0.rcgu.o
at 7003454)'.
1.	Running pass 'X86 DAG->DAG Instruction Selection' on function
'@"_ZN9hashbrown3map24HashMap$LT$K$C$V$C$S$GT$7get_mut17hcdbe53e167f900f3E"'
#0 0x0000000801e84036 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/local/llvm11/lib/libLLVM-11.so+0x1684036)
#1 0x0000000801e822d7 llvm::sys::RunSignalHandlers()
(/usr/local/llvm11/lib/libLLVM-11.so+0x16822d7)
#2 0x0000000801e848bc (/usr/local/llvm11/lib/libLLVM-11.so+0x16848bc)
#3 0x0000000800748d60 (/lib/libthr.so.3+0x19d60)
clang++: error: unable to execute command: Abort trap (core dumped)
clang++: error: linker command failed due to signal (use -v to see invocati=
on)
gmake[5]: *** [/usr/ports/www/firefox/work/firefox-88.0/config/rules.mk:545:
libxul.so] Error 254
---

Both 87.0.1 and 88.0 fail with the same error, and AFAIR 87.0.1 built fine =
with
rust-1.50 in March on the same system.



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