Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904271 - dev-python/pyside2-5.15.9 with LTO active => GCC 13.0.1_pre20230409-r3 ICE (GCC-13-SYSTEM)
Summary: dev-python/pyside2-5.15.9 with LTO active => GCC 13.0.1_pre20230409-r3 ICE (...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-04-13 15:59 UTC by Adrien Dessemond
Modified: 2023-04-21 07:58 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Full build.log (compressed) (build.log.xz,105.61 KB, application/x-xz)
2023-04-13 16:09 UTC, Adrien Dessemond
Details
build-python3_10.log (compressed) (build-python3_10.log.xz,105.11 KB, application/x-xz)
2023-04-13 16:10 UTC, Adrien Dessemond
Details
build-python3_11.log (compressed) (build-python3_11.log.xz,2.18 KB, application/x-xz)
2023-04-13 16:10 UTC, Adrien Dessemond
Details
emerge --info (emerge-info,7.66 KB, text/plain)
2023-04-13 16:11 UTC, Adrien Dessemond
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adrien Dessemond 2023-04-13 15:59:14 UTC
Build aborts with:

FAILED: PySide2/QtUiTools.cpython-310-x86_64-linux-gnu.so 
: && /usr/bin/x86_64-pc-linux-gnu-g++ -fPIC -O3 -pipe -march=native -fomit-frame-pointer -fopt-info-vec -fcf-protection=return -flto=auto -ffat-lto-objects -Wall -fvisibility=hidden -Wno-strict-aliasing  -flto=auto   -pthread -shared  -o PySide2/QtUiTools.cpython-310-x86_64-linux-gnu.so P
ySide2/QtUiTools/CMakeFiles/QtUiTools.dir/PySide2/QtUiTools/quiloader_wrapper.cpp.o PySide2/QtUiTools/CMakeFiles/QtUiTools.dir/PySide2/QtUiTools/qtuitools_module_wrapper.cpp.o  -Wl,-rpath,/var/tmp/portage/dev-python/pyside2-5.15.9/work/pyside-setup-opensource-src-5.15.9/sources/pyside2_bu
ild-python3_10/libpyside:  libpyside/libpyside2-python3.10.so.5.15.8  plugins/libuiplugin.a  /usr/lib64/libQt5UiTools.a  /usr/lib64/libQt5Widgets.so.5.15.8  /usr/lib64/libshiboken2-python3.10.so.5.15.8  /usr/lib64/libQt5Gui.so.5.15.8  /usr/lib64/libQt5Core.so.5.15.8  -lQt5Widgets  -lQt5Gu
i  -lQt5Core  -lQt5Widgets  -lQt5Gui  -lQt5Core  -lGL && :
lto1: internal compiler error: Segmentation fault
0xd75173 crash_signal
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/toplev.cc:314
0x7fc5e45685df ???
        /usr/src/debug/sys-libs/glibc-2.37-r1/glibc-2.37/signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
0x8bd220 bp_unpack_string(data_in*, bitpack_d*)

        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/data-streamer-in.cc:112
0xc7c27f cl_optimization_stream_in(data_in*, bitpack_d*, cl_optimization*)
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/build/gcc/options-save.cc:13501
0xfeb513 streamer_read_tree_bitfields(lto_input_block*, data_in*, tree_node*)
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/tree-streamer-in.cc:562
0xbe071b lto_read_tree_1
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto-streamer-in.cc:1713
0xbe0c20 lto_read_tree
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto-streamer-in.cc:1760
0xbe0c20 lto_input_tree_1(lto_input_block*, data_in*, LTO_tags, unsigned int)
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto-streamer-in.cc:1901
0xbe0e6b lto_input_scc(lto_input_block*, data_in*, unsigned int*, unsigned int*, bool)
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto-streamer-in.cc:1789
0x83f9d4 lto_read_decls
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto/lto-common.cc:1908
0x83f9d4 lto_file_finalize
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto/lto-common.cc:2288
0x83f9d4 lto_create_files_from_ids
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto/lto-common.cc:2298
0x83f9d4 lto_file_read
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto/lto-common.cc:2353
0x83f9d4 read_cgraph_and_symbols(unsigned int, char const**)
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto/lto-common.cc:2801
0x80e5d6 lto_main()
        /usr/src/debug/sys-devel/gcc-13.0.1_pre20230409-r3/gcc-13-20230409/gcc/lto/lto.cc:654
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-g++ returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
Comment 1 Adrien Dessemond 2023-04-13 16:09:31 UTC
Created attachment 859998 [details]
Full build.log (compressed)
Comment 2 Adrien Dessemond 2023-04-13 16:10:29 UTC
Created attachment 859999 [details]
build-python3_10.log (compressed)
Comment 3 Adrien Dessemond 2023-04-13 16:10:48 UTC
Created attachment 860000 [details]
build-python3_11.log (compressed)
Comment 4 Adrien Dessemond 2023-04-13 16:11:34 UTC
Created attachment 860001 [details]
emerge --info
Comment 5 Arsen Arsenović gentoo-dev 2023-04-18 21:33:32 UTC
Can't reproduce on:

~$ gcc --version
gcc (Gentoo Hardened 13.0.1_pre20230409-r4 p9) 13.0.1 20230409 (experimental)
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comment 6 Adrien Dessemond 2023-04-18 22:01:58 UTC
Arsen, mine was -r3 not -r4 perhaps.
 landed that fixes the (In reply to Arsen Arsenović from comment #5)
> Can't reproduce on:
> 
> ~$ gcc --version
> gcc (Gentoo Hardened 13.0.1_pre20230409-r4 p9) 13.0.1 20230409 (experimental)
> Copyright (C) 2023 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Mine was "-r3" not "-r4" perhaps you have a patch with that version that fixes this issue.

I am also unable to reproduce it with sys-devel/gcc-13.0.1_pre20230416.

We can close it, nothing more to do, issue solved!