Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Feb 2021 19:49:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 253771] www/firefox: fails to build with LTO enabled
Message-ID:  <bug-253771-21738-HK5NQTqdwe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-253771-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-253771-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=3D253771

--- Comment #1 from rozhuk.im@gmail.com ---
...
gmake[5]: Leaving directory
'/tmp/ports/usr/ports/www/firefox/work/.build/config/external/sqlite'
gmake[5]: Entering directory
'/tmp/ports/usr/ports/www/firefox/work/.build/toolkit/library/build'
toolkit/library/build/libxul.so
rm -f libxul.so
/usr/local/bin/clang++10 -std=3Dgnu++17 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=
=3D2
-fstack-protector-strong -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-unknown-warning-option -fno-sized-deallocation -fno-aligned-new -O2 -p=
ipe
-O3 -pipe -funroll-loops -DSTRIP_FBSDID -D_FORTIFY_SOURCE=3D2 -mretpoline -=
O3
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing
-fdebug-prefix-map=3D/tmp/ports/usr/ports/www/firefox/work/firefox-86.0=3D.=
 -O3
-funroll-loops -DSTRIP_FBSDID -D_FORTIFY_SOURCE=3D2 -mretpoline -DLIBICONV_=
PLUG
-isystem /usr/local/include -fno-exceptions -fno-strict-aliasing -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -=
O2
-O3 -O3 -fomit-frame-pointer -funwind-tables  -fPIC -shared -Wl,-z,defs
-Wl,--warn-unresolved-symbols -Wl,--gc-sections -Wl,-h,libxul.so -o libxul.=
so
/tmp/ports/usr/ports/www/firefox/work/.build/toolkit/library/build/libxul_s=
o.list
 -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
-Wl,-rpath-link,/tmp/ports/usr/ports/www/firefox/work/.build/dist/bin
-Wl,-rpath-link,/usr/local/lib  ../../../js/src/build/libjs_static.a
/tmp/ports/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   -L/usr/local/lib -licui=
18n
-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 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gob=
ject
-lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lxcb-shm
-lpangoft2-1.0 -lXt -lgthread-2.0
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: Invalid summary version 9. Version should be in the range [1-8].
ld: error: too many errors emitted, stopping now (use -error-limit=3D0 to s=
ee all
errors)
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
gmake[5]: ***
[/tmp/ports/usr/ports/www/firefox/work/firefox-86.0/config/rules.mk:545:
libxul.so] Error 1
gmake[5]: Leaving directory
'/tmp/ports/usr/ports/www/firefox/work/.build/toolkit/library/build'
gmake[4]: ***
[/tmp/ports/usr/ports/www/firefox/work/firefox-86.0/config/recurse.mk:72:
toolkit/library/build/target] Error 2
gmake[4]: *** Waiting for unfinished jobs....
/tmp/ports/usr/ports/www/firefox/work/.build/_virtualenvs/init_py3/bin/pyth=
on
-m mozbuild.action.check_binary --target libmozavcodec.so
BUILDTASK {"argv":
["/tmp/ports/usr/ports/www/firefox/work/firefox-86.0/python/mozbuild/mozbui=
ld/action/check_binary.py",
"--target", "libmozavcodec.so"], "start": 1614022177.1914897, "end":
1614022177.196874, "context": null}
chmod +x libmozavcodec.so
strip  libmozavcodec.so
../../../config/nsinstall -R -m 644 'libmozavcodec.so' '../../../dist/bin'
gmake[5]: Leaving directory
'/tmp/ports/usr/ports/www/firefox/work/.build/media/ffvpx/libavcodec'
gmake[4]: Leaving directory '/tmp/ports/usr/ports/www/firefox/work/.build'
gmake[3]: ***
[/tmp/ports/usr/ports/www/firefox/work/firefox-86.0/config/recurse.mk:34:
compile] Error 2
gmake[3]: Leaving directory '/tmp/ports/usr/ports/www/firefox/work/.build'
gmake[2]: ***
[/tmp/ports/usr/ports/www/firefox/work/firefox-86.0/config/rules.mk:355: al=
l]
Error 2
gmake[2]: Leaving directory '/tmp/ports/usr/ports/www/firefox/work/.build'
=3D=3D=3D> Compilation failed unexpectedly.
...

--=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-253771-21738-HK5NQTqdwe>