ipc/compat.c:468: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1592

Bug #180319 reported by Aneesh Kumar K.V
10
Affects Status Importance Assigned to Milestone
Ubuntu PS3 Port
Fix Released
Undecided
Dan Munckton
cell-gcc (Ubuntu)
Fix Released
Undecided
Dan Munckton

Bug Description

Fails while building linux kernel version 2.6.22

[<email address hidden>]$ make ARCH=powerpc CROSS_COMPILE=ppu- zImage
  CHK include/linux/version.h
  CHK include/linux/utsrelease.h
  CALL scripts/checksyscalls.sh
  CHK include/linux/compile.h
  CC ipc/compat.o
ipc/compat.c: In function 'compat_sys_msgctl':
ipc/compat.c:468: error: insn does not satisfy its constraints:
(insn 1132 28 1133 2 (parallel [
            (set (reg:DI 31 31 [280])
                (and:DI (reg:DI 0 0 [276])
                    (const_int 2052 [0x804])))
            (clobber (scratch:CC))
        ]) 286 {anddi3_mc} (nil)
    (expr_list:REG_UNUSED (scratch:CC)
        (nil)))
ipc/compat.c:468: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1592
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [ipc/compat.o] Error 1
make: *** [ipc] Error 2
[<email address hidden>]$

Related branches

Revision history for this message
Dan Munckton (munckfish) wrote :

Hi Aneesh. Are you still affected by this bug? Were you trying to cross-compile for Cell on an alternate architecture (i386 or amd64)?

Changed in cell-gcc:
assignee: nobody → munckfish
status: New → Incomplete
Revision history for this message
Aaron Brice (aaron-brice) wrote :

I get a similar error trying to cross-compile the 2.6.24 kernel: Bug #229834

Revision history for this message
Dan Munckton (munckfish) wrote :

Hi Aaron. I think this is the same problem. I've marked yours as a duplicate for now. I think we need to try upgrading the cell-sdk and see if that improves the situation.

Changed in cell-gcc:
assignee: munckfish → nobody
status: Incomplete → Confirmed
Changed in ubuntu-ps3-port:
status: New → Confirmed
Revision history for this message
Aaron Brice (aaron-brice) wrote :

I updated ppu-gcc to the cell sdk 3.0.0.3 version from http://www.bsc.es/plantillaH.php?cat_id=461 and it does fully compile the kernel (but I haven't yet tested the resulting kernel).

Revision history for this message
Dan Munckton (munckfish) wrote :

Have updated the package to version 3.0.0.3 from upstream. Awaiting upload either to Intrepid or possibly to the Port team's PPA otherwise.

Changed in ubuntu-ps3-port:
status: Confirmed → Fix Committed
Changed in cell-gcc:
status: Confirmed → Fix Committed
Changed in ubuntu-ps3-port:
assignee: nobody → munckfish
Changed in cell-gcc:
assignee: nobody → munckfish
Revision history for this message
Dan Munckton (munckfish) wrote :

Both hardy and intrepid versions of the updated cell-gcc are hosted in the PS3 Dev team PPA here:

https://launchpad.net/~ubuntu-ps3-dev/+archive

Revision history for this message
Matthias Klose (doko) wrote :

> Have updated the package to version 3.0.0.3 from upstream. Awaiting upload either
> to Intrepid or possibly to the Port team's PPA otherwise.

gcc-4.3-spu is now updated to the cell-4_3-branch. why do you still need the old packages? If you need to build the cross compiler, please do that using a new (empty) source package and using the binutils-source, newlib-source and gcc-4.3-source packages as build dependencies.

Revision history for this message
Dan Munckton (munckfish) wrote :

Yep, that's why I never made the effort to get the updated packages into the official repo. We can let these packages die in Jaunty. I'll have more time to spend on getting a cross compiler working then. Didn't have that luxury this cycle.

Changed in cell-gcc:
status: Fix Committed → Fix Released
Changed in ubuntu-ps3-port:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.