Missing "exceptions/asm_utils.o" for powerpc 4.7

Ralf Corsepius ralf.corsepius at rtems.org
Mon Feb 21 05:14:44 UTC 2005


On Sun, 2005-02-20 at 10:45 -0500, Peter Dufault wrote:
> OK, my build ran for quite a while (multilibs take forever!) and it 
> finally failed with:
> 
> "powerpc-rtems-gcc: exceptions/asm_utils.o: No such file or directory"
You need the patch attached to 
http://www.rtems.org/cgi-bin/gnatsweb.pl?cmd=view&pr=546

> in directory 
> rtems-4.7/powerpc-rtems/c/mvme500/lib/libcpu/powerpc/mpc6xx (bottom of 
> log attached).
> 
> The configuration is now (from config.status):
> 
> rtems config.status 4.6.99.1
> configured by ../../tools/rtems-4.7/configure, generated by GNU 
> Autoconf 2.59,
>    with options \"'--target=powerpc-rtems'
>    '--prefix=/opt/rtems-4.7'
>    '--enable-posix'
>    '--enable-networking'
>    '--enable-cxx'
>    '--enable-rtems-debug'
>    '--disable-itron'
>    '--enable-multilib'
>    '--enable-maintainer-mode'
>    '--with-cpu=7450'
>    '--enable-rtemsbsp=mvme5500'
>    'target_alias=powerpc-rtems'\"
> 
> and I've set CC_FOR_TARGET to powerpc-rtems-gcc and CXX_FOR_TARGET to 
> powerpc-rtems-g++ in the environment prior to the configuration.

Why? 

--target=powerpc-rtems
does everything you need.

Besides this I strongly recommend to keep rtems-4.7 toolchains separate
from rtems-4.6 toolchains, i.e. to install them into a different prefix
and using a different target tuple.

ie. I recommend to configure binutils and gcc w/
--prefix=/opt/rtems-4.7 --target=<target>-rtems4.7

Ralf





More information about the users mailing list