On Tue, Sep 18, 2007 at 06:09:18PM +0200, Rask Ingemann Lambertsen wrote:
> On Tue, Sep 18, 2007 at 10:19:37PM +0800, Jie Zhang wrote:
> > Rask Ingemann Lambertsen wrote:
> > >The file bf532.ld is nowhere to be found in gcc or newlib/libgloss.
> > >
> > I have not pushed out our recent newlib/libgloss changes to upstream 
> > yet. Currently you could get latest blackfin port newlib/libgloss from
> > 
> > http://blackfin.uclinux.org/gf/project/toolchain/scmsvn
> 
>    Thanks. With that, I instead get:
> 
> /home/rask/build/gcc-bfin-unknown-elf/gcc/../ld/ld-new:
> crt532.o: No such file: No such file or directory

   I sorted that out by using your config/bfin/elf.h, but there's something
weird. The first time configure runs, it will complain about
GCC_NO_EXECUTABLES but there's no (obvious) clue as to why in config.log. If
I run make again, it begins to build libstdc++ but fails with this:

Making all in libsupc++
make[4]: Entering directory 
`/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3/libsupc++'
/bin/sh ../libtool --tag CXX --tag disable-shared --mode=compile 
/home/rask/build/gcc-bfin-unknown-elf/./gcc/xgcc -shared-libgcc 
-B/home/rask/build/gcc-bfin-unknown-elf/./gcc -nostdinc++ 
-L/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3/src 
-L/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3/src/.libs 
-nostdinc -B/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/newlib/ 
-isystem 
/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/newlib/targ-include 
-isystem /n/12/rask/src/all/newlib/libc/include 
-B/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libgloss/bfin 
-L/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libgloss/libnosys 
-L/n/12/rask/src/all/libgloss/bfin -B/usr/local/bfin-unknown-elf/bin/ 
-B/usr/local/bfin-unknown-elf/lib/ -isystem /usr/local/bfin-unknown-elf/include 
-isystem /usr/local/bfin-unknown-elf/sys-include 
-L/home/rask/build/gcc-bfin-unknown-elf/./ld 
-I/n/12/rask/src/all/libstdc++-v3/../gcc 
-I/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3/include/bfin-unknown-elf
 -I/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3/include 
-I/n/12/rask/src/all/libstdc++-v3/libsupc++  -fno-implicit-templates  -Wall 
-Wextra -Wwrite-strings -Wcast-qual  -fdiagnostics-show-location=once  
-ffunction-sections -fdata-sections  -g -O2    -c -o array_type_info.lo 
/n/12/rask/src/all/libstdc++-v3/libsupc++/array_type_info.cc
/bin/sh: ../libtool: No such file or directory
make[4]: *** [array_type_info.lo] Error 127
make[4]: Leaving directory 
`/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3/libsupc++'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/rask/build/gcc-bfin-unknown-elf/bfin-unknown-elf/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/rask/build/gcc-bfin-unknown-elf'
make: *** [all] Error 2

I don't know why this happens to bfin and not to the other newlib targets.

-- 
Rask Ingemann Lambertsen
Danish law requires addresses in e-mail to be logged and stored for a year

Reply via email to