[Cbe-oss-dev] Problem to build spufs/spu_*_dump.h

Noguchi, Masato Masato.Noguchi at jp.sony.com
Wed Apr 5 21:43:54 EST 2006


I found problem on linux-2.6.16 to build following files:

  arch/powerpc/platforms/cell/spufs/spu_save_dump.h
  arch/powerpc/platforms/cell/spufs/spu_restore_dump.h

It was not burned due to *_shipped file.
Once we removed that *_shipped file, we will take error as below:
-----------------
  SPU_AS  arch/powerpc/platforms/cell/spufs/spu_save_crt0.o
/home/noguchim/linux-2.6.16/arch/powerpc/platforms/cell/spufs/spu_save_c
rt0.S: Assembler messages:
/home/noguchim/linux-2.6.16/arch/powerpc/platforms/cell/spufs/spu_save_c
rt0.S:32: Error: .space specifies non-absolute value
make[4]: *** [arch/powerpc/platforms/cell/spufs/spu_save_crt0.o] Error 1
make[3]: *** [arch/powerpc/platforms/cell/spufs] Error 2
make[2]: *** [arch/powerpc/platforms/cell] Error 2
make[1]: *** [arch/powerpc/platforms] Error 2
make: *** [_all] Error 2
-----------------

The easy way to fix it is just unpatching below:
 [PATCH] powerpc: sanitize header files for user space includes
 
http://linux.bkbits.net:8080/linux-2.6/diffs/include/asm-powerpc/spu_csa
.h at 1.4?nav=index.html|src/.|src/include|src/include/asm-powerpc|hist/inc
lude/asm-powerpc/spu_csa.h

But, it is not cool, I think.

Is this known problem?


Regards,

 > M.Noguchi <    Masato.Noguchi at jp.sony.com




More information about the cbe-oss-dev mailing list