This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Problems with build of egcs


I have got a problem when rebuilding EGCS under NT and CYGWIN, latest
version. When the latest set of binutils is used I get the following problem
in building EGCS, is this a standard problem ? If I use a version of LD from
the ecos toolset then the build is OK.

make[4]: Leaving directory `/build/egcs/gcc'
touch stmp-multilib
/build/egcs/gcc/xgcc -B/build/egcs/gcc/ -nostdinc -B/build/egcs/arm-elf/newl
ib/ -isystem /build/egcs/arm-elf/newlib/targ-include -isystem
/c/cygnus/GNU-Source-Code/egcs/newlib/libc/include -B/c/cygnus/xgcc-arm/gnu/
arm-elf/bin/ -B/c/cygnus/xgcc-arm/gnu/arm-elf/lib/ -isystem
/c/cygnus/xgcc-arm/gnu/arm-elf/include -DCROSS_COMPILE -DIN_GCC
   `echo -g -O2|sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` -isystem
./include     -c /c/cygnus/GNU-Source-Code/egcs/gcc/libgcc1-test.c
Testing libgcc1.  Ignore linker warning messages.
/build/egcs/gcc/xgcc -B/build/egcs/gcc/ -nostdinc -B/build/egcs/arm-elf/newl
ib/ -isystem /build/egcs/arm-elf/newlib/targ-include -isystem
/c/cygnus/GNU-Source-Code/egcs/newlib/libc/include -B/c/cygnus/xgcc-arm/gnu/
arm-elf/bin/ -B/c/cygnus/xgcc-arm/gnu/arm-elf/lib/ -isystem
/c/cygnus/xgcc-arm/gnu/arm-elf/include -DCROSS_COMPILE -DIN_GCC
   `echo -g -O2|sed -e 's/-pedantic//g' -e 's/-Wtraditional//g'` -isystem
./include  libgcc1-test.o -o libgcc1-test \
  -nostartfiles -nostdlib
`/build/egcs/gcc/xgcc -B/build/egcs/gcc/ -nostdinc -B/build/egcs/arm-elf/new
lib/ -isystem /build/egcs/arm-elf/newlib/targ-include -isystem
/c/cygnus/GNU-Source-Code/egcs/newlib/libc/include -B/c/cygnus/xgcc-arm/gnu/
arm-elf/bin/ -B/c/cygnus/xgcc-arm/gnu/arm-elf/lib/ -isystem
/c/cygnus/xgcc-arm/gnu/arm-elf/include --print-libgcc-file-name`
/c/cygnus/xgcc-arm/gnu/arm-elf/bin/ld: internal error
/c/cygnus/GNU-Source-Code/binutils/ld/ldexp.c 471
collect2: ld returned 1 exit status
make[3]: *** [libgcc1-test] Error 1
make[3]: Leaving directory `/build/egcs/gcc'
make[2]: *** [all-gcc] Error 2
make[2]: Leaving directory `/build/egcs'

Binutils is configured thus :
 /c/cygnus/GNU-Source-Code/binutils/configure -v \
  --prefix=/c/cygnus/xgcc-arm/gnu \
  --exec-prefix=/c/cygnus/xgcc-arm/gnu \
  --host=i586-cygwin32 --target=arm-elf >configure.out 2>&1

and egcs configured and built thus;
 /c/cygnus/GNU-Source-Code/egcs/configure -v \
  --prefix=/c/cygnus/xgcc-arm/gnu \
  --exec-prefix=/c/cygnus/xgcc-arm/gnu \
  --host=i586-cygwin32 --target=arm-elf \
  --with-headers=/c/cygnus/GNU-Source-code/newlib/newlib.libc/include \
  --with-newlib >configure.out 2>&1

 make -w all-gcc install LIBGCC2_DEBUG_CFLAGS="-g1 -O1"  LANGUAGES="c" >
make.out 2>&1

If anyone can shed some light on the problem or at least tell me if it is me
I would be grateful.

Andy Hare



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]