Summary: | dev-qt/qt{declarative,multimedia,quick3d}:6 fail to build due to shader issue | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Udvare <audvare> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ionen, sandbox |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=908809 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
coredump "strstr" |
Description
Andrew Udvare
2023-06-19 00:05:01 UTC
Please include (at least one of) the build.log files. Created attachment 864223 [details]
build log
This looks to be the same as https://bugs.gentoo.org/908809 Using host libthread_db library "/usr/lib64/libthread_db.so.1". Core was generated by `/usr/lib64/qt6/bin/qsb --glsl 100es,120,150 --hlsl 50 --msl 12 -b -O -s -o /var'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fd2bba02410 in do_lookup_x (undef_name=undef_name@entry=0x7fd2bb9d96de "strstr", new_hash=new_hash@entry=479451991, old_hash=old_hash@entry=0x7ffc05f5ba78, ref=0x7fd2bb9d8df0, result=result@entry=0x7ffc05f5ba80, scope=<optimized out>, i=<optimized out>, version=0x7fd2bad0ebd8, flags=1, skip=<optimized out>, type_class=1, undef_map=0x7fd2bb9f70e0) at dl-lookup.c:445 445 dl-lookup.c: No such file or directory. (ins)(gdb) bt #0 0x00007fd2bba02410 in do_lookup_x (undef_name=undef_name@entry=0x7fd2bb9d96de "strstr", new_hash=new_hash@entry=479451991, old_hash=old_hash@entry=0x7ffc05f5ba78, ref=0x7fd2bb9d8df0, result=result@entry=0x7ffc05f5ba80, scope=<optimized out>, i=<optimized out>, version=0x7fd2bad0ebd8, flags=1, skip=<optimized out>, type_class=1, undef_map=0x7fd2bb9f70e0) at dl-lookup.c:445 #1 0x00007fd2bba02f37 in _dl_lookup_symbol_x (undef_name=0x7fd2bb9d96de "strstr", undef_map=undef_map@entry=0x7fd2bb9f70e0, ref=ref@entry=0x7ffc05f5bb10, symbol_scope=<optimized out>, version=0x7fd2bad0ebd8, type_class=type_class@entry=1, flags=1, skip_map=0x7fd2bba09527 <_dl_fixup+631>) at dl-lookup.c:776 #2 0x00007fd2bba093b2 in _dl_fixup (l=0x7fd2bb9f70e0, reloc_arg=73) at dl-runtime.c:95 #3 0x00007fd2bba0b68a in _dl_runtime_resolve_xsavec () at ../sysdeps/x86_64/dl-trampoline.h:130 #4 0x00007ffc05f5c760 in ?? () #5 0x00007ffc05f5c758 in ?? () #6 0x00007fd2bb9e906f in ?? () from /usr/lib64/qt6/bin/../../libsandbox.so #7 0x00007fd2bb9e8e0d in ?? () from /usr/lib64/qt6/bin/../../libsandbox.so #8 0x00007fd2b977464b in ?? () from /usr/lib64/qt6/bin/../../libc.so.6 #9 0x00007fd2b96ad058 in ?? () from /usr/lib64/qt6/bin/../../libc.so.6 #10 0x00007fd2bb9fa489 in __GI__dl_catch_exception (exception=exception@entry=0x7ffc05f5c700, operate=0x7fd2b96ad040, args=0x7ffc05f5c7a0) at dl-catch.c:237 #11 0x00007fd2bb9fa5af in _dl_catch_error (objname=0x7ffc05f5c660, errstring=0x7ffc05f5c810, mallocedp=0x7ffc05f5c757, operate=<optimized out>, args=<optimized out>) at dl-catch.c:256 #12 0x00007fd2b96ac987 in ?? () from /usr/lib64/qt6/bin/../../libc.so.6 #13 0x00007fd2b96ad11e in dlvsym () from /usr/lib64/qt6/bin/../../libc.so.6 #14 0x00007fd2bb9e066e in get_dlsym (symname=0x7fd2bb9e906f "execv", symver=0x7fd2bb9e8e63 "GLIBC_2.2.5") at /var/tmp/portage/sys-apps/sandbox-2.31/work/sandbox-2.31/libsandbox/wrappers.c:53 #15 0x00007fd2bb9e3ba9 in sb_unwrapped_execv_DEFAULT (argv=0x56315c1ffb60, path=0x56315bb43a20 "/usr/bin/spirv-opt") at /var/tmp/portage/sys-apps/sandbox-2.31/work/sandbox-2.31/libsandbox/wrapper-funcs/__wrapper_exec.c:259 #16 execv_DEFAULT (path=0x56315bb43a20 "/usr/bin/spirv-opt", argv=0x56315c1ffb60) at /var/tmp/portage/sys-apps/sandbox-2.31/work/sandbox-2.31/libsandbox/wrapper-funcs/__wrapper_exec.c:329 #17 0x00007fd2b9f8ec0d in qt_safe_execv (argv=<optimized out>, path=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.5.1-r1/work/qtbase-everywhere-src-6.5.1_build/include/QtCore/6.5.1/QtCore/private/../../../../../../qtbase-everywhere-src-6.5.1/src/corelib/kernel/qcore_unix_p.h:289 #18 QProcessPrivate::execChild (this=0x56315bb953e0, workingDir=0x0, argv=0x56315c1ffb60, envp=0x0) at /var/tmp/portage/dev-qt/qtbase-6.5.1-r1/work/qtbase-everywhere-src-6.5.1/src/corelib/io/qprocess_unix.cpp:547 #19 0x00007fd2b9f8ec6e in operator() (__closure=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.5.1-r1/work/qtbase-everywhere-src-6.5.1/src/corelib/io/qprocess_unix.cpp:461 #20 operator() (lambda=<optimized out>, __closure=0x0) at /var/tmp/portage/dev-qt/qtbase-6.5.1-r1/work/qtbase-everywhere-src-6.5.1/src/corelib/io/qprocess_unix.cpp:464 #21 _FUN () at /var/tmp/portage/dev-qt/qtbase-6.5.1-r1/work/qtbase-everywhere-src-6.5.1/src/corelib/io/qprocess_unix.cpp:466 #22 0x00007fd2b9731840 in clone () from /usr/lib64/qt6/bin/../../libc.so.6 I tried again today and got a slightly different backtrace: #0 0x000000001c93db57 in ?? () #1 0x00007ff5b922ce74 in ?? () from /usr/lib64/qt6/bin/../../libc.so.6 #2 0x00007ff5bb3ff6cb in do_lookup_x (undef_name=0x557aff107c60 "'\216\277\250\177U", new_hash=<optimized out>, old_hash=0x0, ref=0x7ff5b9b0689c <(anonymous namespace)::CharPointerList::CharPointerList(QString const&, QStringList const&)+396>, result=0x7fff3735d38c, scope=<optimized out>, i=<optimized out>, version=0x0, flags=926274576, skip=0x7fff3735d430, type_class=0, undef_map=0x0) at dl-lookup.c:416 #3 0x0000000000000000 in ?? () Created attachment 864418 [details]
coredump "strstr"
Due to size here is the newer coredump where do_lookup_x(undef_name is garbage. https://chunk.io/Tatsh/54762243b5e147d79fff53f53c8ef993 As with qwt:6 https://bugs.gentoo.org/908809 , with FEATURES="-sandbox -usersandbox" all of these packages can build. This issue is solely caused by having CFLAGS=-ftree-vectorize on sys-apps/sandbox, on the kind of system I am on (Rocket Lake). I got this error again today right after updating qtbase. It may be related to having a newer version of qtbase and an older version of qtdeclarative version already installed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9152c25f592db19e2d6f6ab0aab991a463503a34 commit 9152c25f592db19e2d6f6ab0aab991a463503a34 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2023-10-21 05:46:22 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2023-10-21 06:21:50 +0000 dev-qt/qtbase: fix qsb and qmake with sandbox Also add to 6.5.3, while the issue has been less prominent in 6.5.x, there has been users that ran into issues with older versions, and is needed for stable users. See bug #915695 for details, the others are essentially duplicates which are hopefully fixed too (please report if still issues given I could never reproduce myself and cannot confirm). Closes: https://bugs.gentoo.org/908809 Closes: https://bugs.gentoo.org/908816 Closes: https://bugs.gentoo.org/913493 Closes: https://bugs.gentoo.org/915695 Thanks-to: vowstar Thanks-to: Mike Gilbert <floppym@gentoo.org> Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../qtbase-6.5.3-forkfd-childstack-size.patch | 27 ++++++++++++++++++++++ ...{qtbase-6.5.3.ebuild => qtbase-6.5.3-r1.ebuild} | 1 + ...{qtbase-6.6.0.ebuild => qtbase-6.6.0-r1.ebuild} | 1 + 3 files changed, 29 insertions(+) |