[Bug 1179804] New: dxvk causes ICE in mingw32 g++ in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1258
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1179804 Bug ID: 1179804 Summary: dxvk causes ICE in mingw32 g++ in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1258 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: rguenther@suse.com Reporter: meissner@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- x86_64-w64-mingw32-g++ -std=c++17 -O2 -fstack-clash-protection -fPIC -c dxbc_compiler.ii during RTL pass: final ../dxvk-1.7.3/src/dxbc/dxbc_compiler.cpp: In member function 'void dxvk::DxbcCompiler::emitDclImmediateConstantBufferBaked(uint32_t, const uint32_t*)': ../dxvk-1.7.3/src/dxbc/dxbc_compiler.cpp:1519:3: internal compiler error: in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1258 1519 | } | ^ 0xccea65 i386_pe_seh_unwind_emit(_IO_FILE*, rtx_insn*) ../../gcc/config/i386/winnt.c:1258 0x73f582 final_scan_insn_1 ../../gcc/final.c:3117 0x74058b final_scan_insn(rtx_insn*, _IO_FILE*, int, int, int*) ../../gcc/final.c:3153 0x740854 final_1 ../../gcc/final.c:2021 0x7412d4 rest_of_handle_final ../../gcc/final.c:4659 0x7412d4 execute ../../gcc/final.c:4737 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1179804 https://bugzilla.suse.com/show_bug.cgi?id=1179804#c1 --- Comment #1 from Marcus Meissner <meissner@suse.com> --- x86_64-w64-mingw32-g++ -v Using built-in specs. COLLECT_GCC=x86_64-w64-mingw32-g++ COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper Target: x86_64-w64-mingw32 Configured with: ../configure --prefix=/usr --bindir=/usr/bin --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --build=x86_64-suse-linux-gnu --host=x86_64-suse-linux-gnu --target=x86_64-w64-mingw32 --with-gnu-as --with-gnu-ld --verbose --without-newlib --disable-multilib --enable-shared --disable-plugin --with-system-zlib --disable-nls --without-included-gettext --disable-win32-registry --enable-threads=posix --enable-version-specific-runtime-libs --with-sysroot=/usr/x86_64-w64-mingw32/sys-root --enable-languages=c,c++,fortran,objc,obj-c++ --without-x --enable-hash-synchronization --enable-fully-dynamic-string --enable-libgomp --enable-linker-build-id --disable-vtable-verify --with-pkgversion='SUSE Linux' Thread model: posix gcc version 9.2.0 (SUSE Linux) -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1179804 https://bugzilla.suse.com/show_bug.cgi?id=1179804#c2 --- Comment #2 from Marcus Meissner <meissner@suse.com> --- Created attachment 844298 --> https://bugzilla.suse.com/attachment.cgi?id=844298&action=edit dxbc_compiler.ii x86_64-w64-mingw32-g++ -std=c++17 -O2 -fstack-clash-protection -fPIC -c dxbc_compiler.ii -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1179804 https://bugzilla.suse.com/show_bug.cgi?id=1179804#c3 --- Comment #3 from Marcus Meissner <meissner@suse.com> --- (package the compiler is in is mingw64-cross-gcc-c++ ) -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1179804 https://bugzilla.suse.com/show_bug.cgi?id=1179804#c6 --- Comment #6 from Marcus Meissner <meissner@suse.com> --- I guess stackclash + seh + the big vector this function wants to push on the stack are related std::array<uint32_t, 4096> vectorIds; and as richi says, likely fixed already ;) -- You are receiving this mail because: You are on the CC list for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
https://bugzilla.suse.com/show_bug.cgi?id=1179804 https://bugzilla.suse.com/show_bug.cgi?id=1179804#c8 --- Comment #8 from Marcus Meissner <meissner@suse.com> --- i removed -fstack-clash-protection from the packaages optflags as workaround -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com