Patrick R.Michaud (via RT) wrote:

osname= linux
osvers= 2.4.21-27.0.2.elsmp
arch=   i386-linux-thread-multi
cc=     gcc 4.0.0 20050516 (Red Hat 4.0.0-6)
          ^^^^^^^^^
---
Flags:
    category=install
    severity=high
    ack=no
---
Parrot doesn't seem to compile & install under Fedora Core 4.
This is on a fresh install of FC4 (with update packages as appropriate),
and a fresh checkout of Parrot (r8430).

I get the following error during the "make":

ops/core_ops_switch.c
ops/experimental.ops: In function 'switch_core':
ops/experimental.ops:436: error: unable to find a register to spill in class 'DI

This was already reported some time ago. I proposed to try to modify ops/core_ops_switch.c:174 to exclude explicit register allocation for gcc 4.x:

#if    ... && __GNUC__ < 4

If this works then the change has to be done in lib/Parrot/OpTrans/CSwitch.pm

leo

Reply via email to