Summary: | app-emulation/wine-any-4.1 - .../work/wine-4.1/dlls/dxerr9/dxerr9.c:139:1: internal compiler error: in choose_baseaddr, at config/i386/i386.c:12194 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | daniel <paessler> |
Component: | Current packages | Assignee: | Wine Maintainers <wine> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build log |
Description
daniel
2019-04-28 10:27:05 UTC
Created attachment 574498 [details]
emerge --info
Created attachment 574500 [details]
build log
Forgot to mention: gcc --version gcc (Gentoo 8.3.0-r1 p1.1) 8.3.0 Looks like a compiler bug, not sure what I can do I installed and switched to the latest gcc-7 (gcc-7.4.0-r1) and wine compiles without an error. I then remembered an old userpatch for gcc lying around (from 2016) which was somehow needed at that time: --- trunk/gcc/config/i386/i386.c 2016/01/06 20:13:19 232110 +++ trunk/gcc/config/i386/i386.c 2016/01/06 20:19:04 232111 @@ -13065,6 +13065,8 @@ m->fs.fp_valid = true; } + m->fs.sp_valid = !frame_pointer_needed; + if (!int_registers_saved) ix86_emit_save_regs_using_mov (frame.reg_save_offset); if (!sse_registers_saved) Removing this patch and recompiling gcc-8.3.0 solved the problem and wine compiles without that error with gcc-8.3.0 too, so this is solved. Sorry for the inconvenience. |