[Scummvm-devel] PS2 backend - up & running (almost)

Keith Scroggins kws at radix.net
Fri Oct 31 15:56:55 CET 2008


Hello Max,

First off, yes, the m68k (and Coldfire) are targets still supported in 
GCC, actually, alot of work was done for the 4.3 series.

I'm going to foward this to the person who has been working on the Atari 
port specifically (had a previous problem compiling ScummVM in the past, 
and he sorted it out) and see if he thinks this should be passed on up the 
chain to be reported as a possible GCC bug.

Keith

On Thu, 30 Oct 2008, Max Horn wrote:

> Hi Keith!
>
> Am 29.10.2008 um 19:48 schrieb Keith Scroggins:
>
>> Hello Max and all,
>> 
>> I suffer the same ICE in the ThemeParser/hashmap code with -O2, but am
>> fine with just -O building for my Atari target.  Sort of figured it might
>> be a gcc issue, and did not look further because I have not had the time
>> to dig into it.  Here is my error:
>
> Thanks for your report. So this issue also happens with GCC 4.3.2? Max was 
> using GCC 3.2.2 for PS2...
>
> Is the 68k target still actively supported by the GCC folks? If so, it might 
> be a good idea to file a bug report about this. The Hashmap code is fairly 
> isolated, so it shouldn't be difficult to generate a "minimal" code example 
> from this. Keith, can you do that? You can find instructions for this on 
> <http://gcc.gnu.org/bugs.html>;  if you need advice/assistance, ping me.
>
>
>> ../scummvm/gui/ThemeParser.h: In member function 'virtual void
>> GUI::ThemeParser::buildLayout()':
>> ../scummvm/gui/ThemeParser.h:224: error: insn does not satisfy its 
>> constraints:
>> (insn 194 6419 6421 16 ../scummvm/common/hashmap.h:457 (set (reg:SI 0 %d0)
>>        (plus:SI (mem/f:SI (reg:SI 8 %a0) [79 S4 A16])
>>            (reg:SI 0 %d0))) 132 {*addsi3_internal} (nil))
>> ../scummvm/gui/ThemeParser.h:224: internal compiler error: in
>> reload_cse_simplify_operands, at postreload.c:395
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <http://gcc.gnu.org/bugs.html> for instructions.
>> make: *** [gui/ThemeParser.o] Error 1
>> 
>
> This error is quite different from the one Max got in GCC 3.2.2, and even 
> occurs in a different line in hashmap.h, so they might not be related, given 
> that the two GCC versions are also radically different, and so are the target 
> CPUs.
>
>
> Cheers,
> Max




More information about the Scummvm-devel mailing list