discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] FTBFS: gnuradio over cell (--enable-gcell)


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] FTBFS: gnuradio over cell (--enable-gcell)
Date: Tue, 6 May 2008 16:46:20 -0700
User-agent: Mutt/1.5.17 (2007-11-01)

On Tue, May 06, 2008 at 11:11:54PM +0100, Hector Oron wrote:
> Hello Eric,
> 
> I have got to this point, is there some black magic arround
> {ppu,spu}_intrinsics.h?

There's no black magic if you're using the correct compiler.

What answer does 

  $ g++ --version 

give?

If it's not 4.1.1 it won't find the compiler specific includes in
/usr/lib/gcc/ppu/4.1.1/include

There _is_ a reason I was setting setting CXX to ppu32-g++
It gets me the known good compiler, and it defaults to generating
32-bit code.  I believe you are generating 64-bit code, which is a
total waste on the Cell.

> address@hidden:~/trunk# find / -name ppu_intrinsics.h
> /opt/ibmcmp/xlc/ssc/0.9/include/ppu_intrinsics.h
> /usr/lib/gcc/ppu/4.1.1/include/ppu_intrinsics.h
> 
> 
> make[5]: Entering directory `/home/hecormar/trunk/gcell/src/lib/runtime'
> /bin/sh ../../../../libtool --tag=CXX   --mode=compile g++
> -DHAVE_CONFIG_H -I. -I../../../..  -DOMNITHREAD_POSIX=1
> -I/home/hecormar/trunk/omnithread
> -I/home/hecormar/trunk/mblock/src/lib
> -I/home/hecormar/trunk/gcell/src/include
> -I/home/hecormar/trunk/gcell/src/lib/runtime
> -I/home/hecormar/trunk/gcell/src/lib/general
> -I/home/hecormar/trunk/gcell/src/lib/wrapper
> -I../../../../gcell/src/ibm/sync/ppu_source   -g -O2 -Wall
> -Woverloaded-virtual -pthread -MT gc_job_manager_impl.lo -MD -MP -MF
> .deps/gc_job_manager_impl.Tpo -c -o gc_job_manager_impl.lo
> gc_job_manager_impl.cc
>  g++ -DHAVE_CONFIG_H -I. -I../../../.. -DOMNITHREAD_POSIX=1
> -I/home/hecormar/trunk/omnithread
> -I/home/hecormar/trunk/mblock/src/lib
> -I/home/hecormar/trunk/gcell/src/include
> -I/home/hecormar/trunk/gcell/src/lib/runtime
> -I/home/hecormar/trunk/gcell/src/lib/general
> -I/home/hecormar/trunk/gcell/src/lib/wrapper
> -I../../../../gcell/src/ibm/sync/ppu_source -g -O2 -Wall
> -Woverloaded-virtual -pthread -MT gc_job_manager_impl.lo -MD -MP -MF
> .deps/gc_job_manager_impl.Tpo -c gc_job_manager_impl.cc  -fPIC -DPIC
> -o .libs/gc_job_manager_impl.o
> In file included from gc_job_manager_impl.cc:32:
> ../../../../gcell/src/ibm/sync/ppu_source/atomic_dec_if_positive.h:44:28:
> error: ppu_intrinsics.h: No such file or directory
> ../../../../gcell/src/ibm/sync/ppu_source/atomic.h: In function 'int
> _atomic_replace(atomic_ea_t, int)':
> ../../../../gcell/src/ibm/sync/ppu_source/atomic.h:84: error:
> '__lwarx' was not declared in this scope




reply via email to

[Prev in Thread] Current Thread [Next in Thread]