Summary: | www-client/firefox-102.9.0: build fail with gcc-13 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | LABBE Corentin <clabbe.montjoie> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=904268 https://bugs.gentoo.org/show_bug.cgi?id=891643 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 865117 | ||
Attachments: | build.log |
Description
LABBE Corentin
2023-03-18 11:02:37 UTC
Please always attach the full build.log. Created attachment 858429 [details]
build.log
Is this with gcc-13? (In reply to Joonas Niilola from comment #3) > Is this with gcc-13? Bleh, I'd missed that. I think you're spot on - dupe of bug 891643 I guess, although we may want to beg upstream to backport the fixes to ESR. GCC 13 will be released in a month or so so we have a bit of time to squeeze it in. oh, and please don't use gcc 13 on stable right now. The priority is on getting things fixed at all right now, not ensuring stable is ready for it. We're a long way off GCC 13 being stable, and it's not even out yet. yes it is gcc 13, I just found that my laptop was building fine and found that it was with gcc 12. So I restart with gcc 12 on box that failed, and it works now. Logs are sometimes tedious to read, but giving attention to this one, the fail occurs near the line 2291: 8 0:23.79 /usr/bin/x86_64-pc-linux-gnu-g++ -o ApplicationAccessibleWrap.o -c -flto -flifetime-dse=1 -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/stl_wrappers -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefo x_build/dist/system_wrappers -include /var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -DNDEBUG=1 -DTRIMMED=1 -DOS_POSIX=1 -DOS_LINUX=1 -DMOZ _HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/atk -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/accessible/atk - I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/base -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/generic -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/acces sible/html -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/ipc -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/ipc/other -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox- 102.9.0/accessible/xpcom -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/xul -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/layout/generic -I/var/tmp/portage/www-client/firefox-102.9.0/work/ firefox-102.9.0/other-licenses/atk-1.0 -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/widget -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/widget/gtk -I/var/tmp/portage/www-client/firefox-102.9.0/wor k/firefox_build/ipc/ipdl/_ipdlheaders -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/ipc/chromium/src -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss - I/usr/include/nspr -I/var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/nss -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/mozilla-config.h -Wall -We mpty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wno-invalid-offsetof -Wc++2a-compat -Wduplicated-cond -Wimplicit-fallthrough -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations - Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wno-error=deprecated-copy -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -fno-sized-dealloc ation -fno-aligned-new -pipe -fno-tree-loop-vectorize -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -O2 -fomit-frame-pointer -funwind-tables -I/usr/include/gtk-3.0 -I/usr/ include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I /usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/ dbus-1.0/include -I/usr/include/gtk-3.0/unix-print -pthread -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -Wno-error=unused-function -Wno-unused-local-typedefs -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/ApplicationAcc essibleWrap.o.pp -fdiagnostics-color /var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/atk/ApplicationAccessibleWrap.cpp 8 0:24.60 In file included from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/ProfilerThreadState.h:14, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/ProfilerLabels.h:14, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/AutoEntryScript.h:16, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/CallbackObject.h:34, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/CallbackFunction.h:20, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/AnimationFrameProviderBinding.h:10, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/AnimationFrameProvider.h:10, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/Document.h:49, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/AsyncEventDispatcher.h:15, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/dom/HTMLDetailsElement.h:10, 8 0:24.60 from /var/tmp/portage/www-client/firefox-102.9.0/work/firefox-102.9.0/accessible/html/HTMLElementAccessibles.cpp:17, 8 0:24.60 from Unified_cpp_accessible_html0.cpp:11: 8 0:24.60 /var/tmp/portage/www-client/firefox-102.9.0/work/firefox_build/dist/include/mozilla/ProfilerThreadRegistration.h:217:38: error: declaration of 'mozilla::profiler::ThreadRegistration::OnThreadRef::RWOnThreadWithLock mozilla::profil er::ThreadRegistration::OnThreadRef::LockedRWOnThread()' changes meaning of 'LockedRWOnThread' [-fpermissive] (...) I am unable to reproduce it on my machine with GCC 13.0.1_pre20230409-r3 as of this morning. However I do have another issue related to types/namespaces which is also present in 102.10.0 (ESR), see bug #904268 Hmm I thought I added a gcc-13 patch to ESR, but looks like it's only applied for Thunderbird currently. Guess my thinking was ~unstable users can still use TB which follows the ESR release cycle. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60b5c3433426186756fa317139510d84275fdeab commit 60b5c3433426186756fa317139510d84275fdeab Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2023-04-14 09:16:53 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-04-14 09:17:43 +0000 www-client/firefox: add gcc-13 patch to 102esr Closes: https://bugs.gentoo.org/902025 Closes: https://bugs.gentoo.org/904268 Signed-off-by: Joonas Niilola <juippis@gentoo.org> www-client/firefox/Manifest | 1 + www-client/firefox/firefox-102.10.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) |