[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-08-04 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 Artem S. Tashkinov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #10 from Artem S. Tashkinov --- I'm not a programmer at all (not to mention that I know nothing about CPU instruction set, assembler, etc.), debugging GCC (!) and Wine (!) libraries is quite complicated for me, so I have a strong

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #9 from Artem S. Tashkinov --- The crash is in ntdll.dll.so but that's a huge library: $ ls -la ntdll*so* -rwxr-xr-x. 1 root root 926240 May 23 09:42 ntdll.dll.so.o2 -rwxr-xr-x. 1 root root 950816 May 23 09:46 ntdll.dll.so.pentiumm

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #8 from Artem S. Tashkinov --- (In reply to Richard Biener from comment #7) > It's only a guess but since GCC 12 we enable vectorization by default and > with wine and 32bit apps the stack might not be always aligned properly. So >

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #7 from Richard Biener --- It's only a guess but since GCC 12 we enable vectorization by default and with wine and 32bit apps the stack might not be always aligned properly. So I'd try to use -fno-tree-vectorize as additional flag.

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #6 from Artem S. Tashkinov --- (In reply to Alexander Monakov from comment #5) > (In reply to Artem S. Tashkinov from comment #4) > > > There should be a note in dmesg when a process segfaults outside of a > > > debugger. If you run

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #5 from Alexander Monakov --- (In reply to Artem S. Tashkinov from comment #4) > > There should be a note in dmesg when a process segfaults outside of a > > debugger. If you run wine without gdb, and winedevice.exe crashes, is there

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #4 from Artem S. Tashkinov --- (In reply to Alexander Monakov from comment #3) > It seems you're already getting some good advice on the Wine Bugzilla > (thanks for linking it in the URL field). > > There should be a note in dmesg

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #2 from Artem S. Tashkinov --- This bug doesn't require any extensive debugging. You just 1. wget https://dl.winehq.org/wine/source/7.x/wine-7.9.tar.xz 2. tar xf wine-7.9.tar.xz 3. cd wine-7.9 4. build using the instructions above

[Bug target/105700] GCC miscompiles? wine when using -march=pentium-m

2022-05-23 Thread aros at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105700 --- Comment #1 from Artem S. Tashkinov --- If I enable core dump gdb rejects the resulting core file as invalid.