pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/57151: qt6-qtbase build fails on NetBSD/i386 9.3 and pkgsrc-2022Q4



The following reply was made to PR pkg/57151; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: pkg/57151: qt6-qtbase build fails on NetBSD/i386 9.3 and pkgsrc-2022Q4
Date: Sun, 1 Jan 2023 23:17:57 +0900

 With gcc9 __stack_chk_fail_local() fix:
  https://mail-index.netbsd.org/pkgsrc-changes/2023/01/01/msg266230.html
 now pkgsrc/x11/qt6-qtbase on NetBSD/i386 9.3 gets SIGSEGV during build:
 
 ---
  :
 
 [ 38%] Built target Gui_lib_pri
 [ 38%] Generating version linker script for target Gui
 [ 38%] Built target Gui_version_script
 [ 38%] Generating socket_interface.h, socket_interface.cpp
 gmake[2]: *** [src/gui/CMakeFiles/Gui_autogen.dir/build.make:107: src/gui/socket_interface.h] Segmentation fault (core dumped)
 gmake[2]: *** Deleting file 'src/gui/socket_interface.h'
 gmake[1]: *** [CMakeFiles/Makefile2:6584: src/gui/CMakeFiles/Gui_autogen.dir/all] Error 2
 gmake: *** [Makefile:146: all] Error 2
 *** Error code 2
 
 Stop.
 make[1]: stopped in /usr/pkgsrc/x11/qt6-qtbase
 *** Error code 1
 
 Stop.
 make: stopped in /usr/pkgsrc/x11/qt6-qtbase
 
 ---
 
 The core is generated by qtbase-everywhere-src-6.4.1/bin/qdbusxml2cpp
 and gdb says:
  https://gist.github.com/tsutsui/6500088486f7c56f5722ee87cb083ad2
 ---
 # gdb /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/bin/qdbusxml2cpp /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/src/gui/qdbusxml2cpp.core
 GNU gdb (GDB) 8.3
 Copyright (C) 2019 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.
 Type "show copying" and "show warranty" for details.
 This GDB was configured as "i486--netbsdelf".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>.
 Find the GDB manual and other documentation resources online at:
     <http://www.gnu.org/software/gdb/documentation/>.
 
 For help, type "help".
 Type "apropos word" to search for commands related to "word"...
 Reading symbols from /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/bin/qdbusxml2cpp...
 (No debugging symbols found in /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/bin/qdbusxml2cpp)
 [New process 1]
 Core was generated by `qdbusxml2cpp'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0xb0174993 in qDetectCpuFeatures () from /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/lib/libQt6Core.so.6
 (gdb) bt
 #0  0xb0174993 in qDetectCpuFeatures () from /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/lib/libQt6Core.so.6
 #1  0xb047e644 in _GLOBAL__sub_I.02001_qsimd.cpp () from /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/lib/libQt6Core.so.6
 #2  0xb0454762 in __do_global_ctors_aux () from /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/lib/libQt6Core.so.6
 #3  0xb074a120 in QtPrivate::QMetaTypeInterfaceWrapper<QMimeType>::metaType ()
 #4  0xbaf93000 in ?? () from /usr/libexec/ld.elf_so
 #5  0xb017305d in _init () from /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/lib/libQt6Core.so.6
 #6  0xbaf831e6 in _rtld_call_function_void (obj=0xb0841c00, addr=<optimized out>) at /usr/src/libexec/ld.elf_so/rtld.h:490
 #7  _rtld_call_initfini_function (obj=<optimized out>, mask=<optimized out>, func=<optimized out>) at /usr/src/libexec/ld.elf_so/rtld.c:143
 #8  _rtld_call_init_function (cur_objgen=<optimized out>, mask=0xbfbf12ac, obj=0xb0841c00) at /usr/src/libexec/ld.elf_so/rtld.c:242
 #9  _rtld_call_init_functions (mask=mask@entry=0xbfbf12ac) at /usr/src/libexec/ld.elf_so/rtld.c:327
 #10 0xbaf83acf in _rtld (sp=<optimized out>, relocbase=3136815104) at /usr/src/libexec/ld.elf_so/rtld.c:782
 #11 0xbaf8051a in rtld_start () from /usr/libexec/ld.elf_so
 (gdb) 
 
 ---
 
 qDetectCpuFeatures () seems here:
 https://code.qt.io/cgit/qt/qtbase.git/tree/src/corelib/global/qsimd.cpp?h=6.4#n559
 
 With debug symbol:
 ---
 Core was generated by `qdbusxml2cpp'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  0xae158993 in qDetectCpuFeatures () at /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/src/corelib/global/qsimd.cpp:574
 574         QCpuFeatureType f = detectProcessorFeatures();
 (gdb) bt
 #0  0xae158993 in qDetectCpuFeatures () at /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/src/corelib/global/qsimd.cpp:574
 #1  0xae463674 in (anonymous namespace)::QSimdInitializer::QSimdInitializer (this=0xae72f168 <initializer>) at /s/obj.i386/pkgsrc/x11/qt6-qtbase/work.i386/qtbase-everywhere-src-6.4.1/src/corelib/global/qsimd.cpp:776
 
  :
 ---
 Izumi Tsutsui
 


Home | Main Index | Thread Index | Old Index