Closed arczi84 closed 5 years ago
I can reproduce this issue when compiling for the scumm or scumm_7-8 engines. But this is not a problem with the amiga-gcc toolchain infrastructure. You should move this issue to "gcc" as it is a compiler issue.
scummvm compiles again, but it's not working properly here. Any hints are welcome!
Still fails to compile for me:
LINK scummvm
(insn 42 41 75 6 (set (mem/f:SI (plus:SI (reg:SI 4 d4 [ D.11279 ])
(const_int 4 [0x4])) [41 _22->_next+0 S4 A16])
(reg:SI 5 d5 [orig:38 D.11279+4 ] [38])) ./common/list.h:238 39 {*movsi_m68k2}
(nil))
common/coroutines.cpp: In member function 'closeEvent':
common/coroutines.cpp:703:1: error: insn does not satisfy its constraints:
}
^
(insn 42 41 75 6 (set (mem/f:SI (plus:SI (reg:SI 4 d4 [ D.11279 ])
(const_int 4 [0x4])) [41 _22->_next+0 S4 A16])
(reg:SI 5 d5 [orig:38 D.11279+4 ] [38])) ./common/list.h:238 39 {*movsi_m68k2}
(nil))
common/coroutines.cpp:703:1: internal compiler error: in extract_constrain_insn, at recog.c:2199
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
lto-wrapper: fatal error: m68k-amigaos-g++ returned 1 exit status
compilation terminated.
collect2: fatal error: lto-wrapper returned 1 exit status
compilation terminated.
Makefile.common:92: recipe for target 'scummvm' failed
make: *** [scummvm] Error 1
With ScummVM configured as:
./configure --host=m68k-amigaos --disable-all-engines --enable-engine=scumm,scumm_7-8,sci,lol --disable-mt32emu --enable-debug --disable-optimizations --disable-hq-scalers --with-amiga-prefix=/media/sf_Amiga/ScummVM --enable-c++11
Something in the latest gcc patches has fixed the build issue. Was that intended? :-)
... still trying to make it work proper... ... scummvm compiles but it's not ok.
Something in the latest gcc patches has fixed the build issue. Was that intended? :-)
the purpose of commits is to break more than it fixes...
Source code https://github.com/mheyer32/scummvm-amigaos3
gcc version 6.5.0b 190720232624 (GCC)