gcc-4.3-spu missing spu cache

Bug #285780 reported by Simon Wunderlich
2
Affects Status Importance Assigned to Milestone
gcc-4.3 (Ubuntu)
Fix Released
High
Unassigned
Intrepid
Fix Released
High
Unassigned

Bug Description

Binary package hint: gcc-4.3-spu

Unlike the cell-gcc/spu-gcc package, SPU Software Managed Cache controlling files are missing in gcc-4.3-spu. They are responsible for managing and interfacing (spu_cache.h) the Software Managed Cache on the Cell BE SPU which is implemented as library within gcc.

These files were present in spu-gcc_4.1.1r886, but there is nothing like this in gcc-4.3-spu:

./usr/lib/gcc/spu/4.1.1/mea64/libgcc_cache64k.a
./usr/lib/gcc/spu/4.1.1/mea64/libgcc_cache16k.a
./usr/lib/gcc/spu/4.1.1/mea64/libgcc_cache8k.a
./usr/lib/gcc/spu/4.1.1/mea64/libgcc_cache32k.a
./usr/lib/gcc/spu/4.1.1/mea64/libgcc_cachemgr_nonatomic.a
./usr/lib/gcc/spu/4.1.1/mea64/libgcc_cachemgr.a
./usr/lib/gcc/spu/4.1.1/mea64/libgcc_cache128k.a
./usr/lib/gcc/spu/4.1.1/libgcc_cache16k.a
./usr/lib/gcc/spu/4.1.1/libgcc_cache8k.a
./usr/lib/gcc/spu/4.1.1/libgcc_cache32k.a
./usr/lib/gcc/spu/4.1.1/libgcc_cachemgr_nonatomic.a
./usr/lib/gcc/spu/4.1.1/libgcc_cachemgr.a
./usr/lib/gcc/spu/4.1.1/libgcc_cache128k.a
./usr/lib/gcc/spu/4.1.1/include/spu_cache.h

The consequence is that my software using SPU Software Managed Caches won't compile anymore. On the other hand i'm forced to gcc-4.3 because of bugs in gcc 4.1 [1]. It seems that the SPU Software Managed Cache patches are also still present in the upstream gcc-4.3 cell branch [2], but not in the upstream gcc-4.3 release [3].

[1] https://bugs.launchpad.net/ubuntu/+source/cell-gcc/+bug/285186
[2] http://gcc.gnu.org/viewcvs/branches/cell-4_3-branch/gcc/config/spu/
[3] http://gcc.gnu.org/viewcvs/tags/gcc_4_3_2_release/gcc/config/spu/

Related branches

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

fix unlikely for intrepid, will be in jaunty

please check the packages at:

  deb http://people.ubuntu.com/~doko/gcc-spu .

Changed in gcc-4.3:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

a regression compared to the cell-gcc package, upload 4.3.2-1ubuntu11 was tested with a build on i386 and powerpc, and the only package build-depending on gcc-spu (newlib) was sucessfully built.

Changed in gcc-4.3:
importance: Medium → High
milestone: none → ubuntu-8.10
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gcc-4.3 - 4.3.2-1ubuntu11

---------------
gcc-4.3 (4.3.2-1ubuntu11) intrepid; urgency=low

  * Update the spu cross compiler from the cell-gcc-4_3-branch 20081023.
    Adds the spu cache files as found in the cell-gcc packages. LP: #285780.
    Enable multilibs for the spu cross compiler.

 -- Matthias Klose <email address hidden> Fri, 24 Oct 2008 22:16:13 +0200

Changed in gcc-4.3:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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