[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#476088: gcc-4.3-spu: spu-gcc fails to create executable due to missing crt1.o



Package: gcc-4.3-spu
Version: 4.3.0-3
Severity: grave
Justification: renders package unusable


spu-gcc cannot produce executables. It also misses the system include 
dir:

adi@ps3:~$ cat spu_hello.c 
#include <stdio.h>

int main( unsigned long spuid )
{
    printf("Hello, World! (From SPU:%d)\n",spuid);
    return (0);
}

adi@ps3:~$ spu-gcc spu_hello.c -o spu_hello   
spu_hello.c:1:19: error: stdio.h: No such file or directory
spu_hello.c: In function 'main':
spu_hello.c:5: warning: incompatible implicit declaration of built-in 
function 'printf'

adi@ps3:~$ spu-gcc -I/usr/include spu_hello.c -o spu_hello
/usr/bin/spu-ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status

adi@ps3:~$ dpkg -L gcc-4.3-spu | grep crt1
adi@ps3:~$ echo $?
1



Reply to: