too long lines were shrinked: x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-rpath,. -Wl,-rpath,. -Wl,-rpath,.. -Wl,-rpath,../lib -shared -o libCsvExport.so ../../../build/csvexport.o ../../../build/qrc_csvexport.o ../../../build/qrc_qmake_qmake_qm_files.o rm -f libCsvImport.so x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-rpath,. -Wl,-rpath,. -Wl,-rpath,.. -Wl,-rpath,../lib -shared -o libCsvImport.so ../../../build/csvimport.o ../../../build/qrc_csvimport.o ../../../build/qrc_qmake_qmake_qm_files.o /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error in ../../../build/qrc_qmake_qmake_qm_files.o(.eh_frame); no .eh_frame_hdr table will be created make[1]: Entering directory '/var/tmp/portage/dev-db/sqlitestudio-3.4.3/work/sqlitestudio-3.4.3/output/build/Plugins/PdfExport' x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=native -fno-diagnostics-color -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DPROJECT_MODULE_NAME=PdfExport -DPDFEXPORT_LIBRARY -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../Plugins/PdfExport -I. -I../../../../SQLiteStudio3/coreSQLiteS collect2: fatal error: ld terminated with signal 11 [Segmentation fault] compilation terminated. make[1]: *** [Makefile:236: ../../../SQLiteStudio/plugins/libCsvExport.so] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_gnome_systemd-j4-20230320-130004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.0 Python 3.10.10 Available Rust versions: [1] rust-bin-1.68.1 [2] rust-1.68.1 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-bin-8] 2) OpenJDK 17.0.6_p10 [openjdk-17] 3) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] *) Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17] 5) Eclipse Temurin JRE 8.362_p09 [openjdk-jre-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-17 [3] openjdk-bin-17 [4] openjdk-jre-bin-8 [5] openjdk-jre-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): (none found) HEAD of ::gentoo commit 04792a4922d8f2f3f3ea2fc753182dc36b9917ec Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Mar 24 19:18:58 2023 +0000 2023-03-24 19:18:58 UTC emerge -qpvO dev-db/sqlitestudio [ebuild N ] dev-db/sqlitestudio-3.4.3 USE="cups -cli -python -tcl -test" PYTHON_SINGLE_TARGET="python3_10 -python3_9 -python3_11"
Created attachment 858869 [details] emerge-info.txt
Created attachment 858871 [details] dev-db:sqlitestudio-3.4.3:20230324-201611.log.bz2
Created attachment 858873 [details] emerge-history.txt.bz2
Created attachment 858875 [details] environment
Created attachment 858877 [details] etc.clang.tar.bz2
Created attachment 858879 [details] etc.portage.tar.bz2
Created attachment 858881 [details] temp.tar.bz2
Does the same host compile the previous version successfully? Segmentation fault in ld should preferrably be fixed in ld so it prints out a more meaningful error. Does it fail reproducible or change with different compiler or linker settings for the particular ebuild? (-O or so?)
*** This bug has been marked as a duplicate of bug 895704 ***
Undo sans segfault in the other bug.
ci has reproduced this issue with version 3.4.4-r1 - Updating summary.
Additionally I get: [Mon Jul 29 14:32:53 2024] ld[2369]: segfault at 60 ip 00007a044329a947 sp 00007ffe19fc2500 error 4 in libbfd-2.42.0.gentoo-sys-devel-binutils-st.so[7a044324d000+c8000] likely on CPU 7 (core 7, socket 0) maybe this is interesting for toolchain
I got `lto1: error: ../../../build/qrc_qmake_qmake_qm_files.o: file too short` when using LTO which makes me think it's a race.
(In reply to Agostino Sarubbo from comment #12) > Additionally I get: > > [Mon Jul 29 14:32:53 2024] ld[2369]: segfault at 60 ip 00007a044329a947 sp > 00007ffe19fc2500 error 4 in > libbfd-2.42.0.gentoo-sys-devel-binutils-st.so[7a044324d000+c8000] likely on > CPU 7 (core 7, socket 0) > > > maybe this is interesting for toolchain Can you give me a fresh build.log + emerge --info, and tell me if you can reproduce with -j1? Thanks.
atm I can't reproduce the error in the summary. I can reproduce a failure but not at 100% of times ( dunno if binutils version changed in the middle ). Attaching a fresh build log.
Created attachment 900832 [details] sqlitestudio-3.4.4-r1:20240820-155754.log.xz sqlitestudio-3.4.4-r1:20240820-155754.log (compressed because it exceeds attachment limit, use 'xzless' to read it)
How about with -j1?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efcad109bf466b26305cb3cd6be714971d3c50c7 commit efcad109bf466b26305cb3cd6be714971d3c50c7 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-09 12:52:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-09 12:52:36 +0000 dev-db/sqlitestudio: build with -j1 The build system is qmake so a pain to fix. Closes: https://bugs.gentoo.org/902991 Closes: https://bugs.gentoo.org/924672 Closes: https://bugs.gentoo.org/928736 Closes: https://bugs.gentoo.org/941074 Signed-off-by: Sam James <sam@gentoo.org> dev-db/sqlitestudio/sqlitestudio-3.4.4-r1.ebuild | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)