Bug Report

julia koh kohjulia@hotmail.com
Thu Apr 25 19:29:00 GMT 2002


Hi!

I am currently doing a cross compiler installation.

However, errors occur and I am requested to submit a bug report.

The following files were used during installation.
(1) Binutils-2.10
(2) gcc-2.95.3
(3) Newlib-1.8.2
(4) gdb-5.1.0.1

Host=sparc-sun-solaris2.7
Target=mn10200-elf

The error occurred during installation of gcc-2.95.3.
Category=Target

The bug report is as follows:
(1) The exact version of GCC is gcc-2.95.3
(2) The system type is sparc-sun-solaris2.7
(3) The options given when GCC was configured/built is:
    gmake all install
(4) The complete command line that triggers the bug is
    ../gcc-2.95.3/configure --host=sparc-sun-solaris2.7 --target=mn10200-elf
    --prefix=/homelsi1/wlnew/bar -v
(5) The compiler output (error messages, warnings, etc.) is as follows:

make[2]: Entering directory `/homelsi1/wlnew/build-gcc/gcc/intl'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/homelsi1/wlnew/build-gcc/gcc/intl'
/homelsi1/wlnew/build-gcc/gcc/xgcc -B/homelsi1/wlnew/build-gcc/gcc/ 
-B/homelsi1/wlnew/bar/mn10200-elf/bin/ 
-I/homelsi1/wlnew/bar/mn10200-elf/include -DCROSS_COMPILE -DIN_GCC   -DSVR4  
-g -O2 -I./include     -c ../../gcc-2.95.3/gcc/libgcc1-test.c
../../gcc-2.95.3/gcc/libgcc1-test.c:101: warning: conflicting types for 
built-in function `memcpy'
Testing libgcc1.  Ignore linker warning messages.
/homelsi1/wlnew/build-gcc/gcc/xgcc -B/homelsi1/wlnew/build-gcc/gcc/ 
-B/homelsi1/wlnew/bar/mn10200-elf/bin/ 
-I/homelsi1/wlnew/bar/mn10200-elf/include -DCROSS_COMPILE -DIN_GCC   -DSVR4  
-g -O2 -I./include  libgcc1-test.o -o libgcc1-test \
  -nostartfiles -nostdlib `/homelsi1/wlnew/build-gcc/gcc/xgcc 
-B/homelsi1/wlnew/build-gcc/gcc/ -B/homelsi1/wlnew/bar/mn10200-elf/bin/ 
-I/homelsi1/wlnew/bar/mn10200-elf/include --print-libgcc-file-name`
gmake[1]: Leaving directory `/homelsi1/wlnew/build-gcc/gcc'
Configuring in mn10200-elf/libiberty
loading cache ./config.cache
checking host system type... mn10200-unknown-elf
checking build system type... sparc-sun-solaris2.7
checking for mn10200-elf-ar... mn10200-elf-ar
checking for mn10200-elf-ranlib... mn10200-elf-ranlib
checking for gcc... /homelsi1/wlnew/build-gcc/gcc/xgcc 
-B/homelsi1/wlnew/build-gcc/gcc/ -B/homelsi1/wlnew/bar/mn10200-elf/bin/
checking whether we are using GNU C... yes
checking whether /homelsi1/wlnew/build-gcc/gcc/xgcc 
-B/homelsi1/wlnew/build-gcc/gcc/ -B/homelsi1/wlnew/bar/mn10200-elf/bin/ 
accepts -g... yes
checking for POSIXized ISC... no
checking for a BSD compatible install... 
../../../gcc-2.95.3/libiberty/../install-sh -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... /homelsi1/wlnew/build-gcc/gcc/xgcc 
-B/homelsi1/wlnew/build-gcc/gcc/ -B/homelsi1/wlnew/bar/mn10200-elf/bin/ -E
checking for sys/file.h... no
checking for sys/param.h... no
checking for stdlib.h... no
checking for string.h... no
checking for unistd.h... no
checking for strings.h... no
checking for sys/time.h... no
checking for sys/resource.h... no
checking for sys/wait.h that is POSIX.1 compatible... no
checking whether the C compiler (/homelsi1/wlnew/build-gcc/gcc/xgcc 
-B/homelsi1/wlnew/build-gcc/gcc/ -B/homelsi1/wlnew/bar/mn10200-elf/bin/ -g 
-O2 ) works... no
configure: error: installation or configuration problem: C compiler cannot 
create executables.
gmake[1]: Entering directory `/homelsi1/wlnew/build-gcc/mn10200-elf/libio'
test x"no" != xyes || \
  /homelsi1/wlnew/build-gcc/gcc/xgcc -B/homelsi1/wlnew/build-gcc/gcc/ 
-B/homelsi1/wlnew/bar/mn10200-elf/bin/ -c -g -O2 -fno-implicit-templates -I. 
-I../../../gcc-2.95.3/libio -nostdinc++   
../../../gcc-2.95.3/libio/iostream.cc -o pic/iostream.o
/homelsi1/wlnew/build-gcc/gcc/xgcc -B/homelsi1/wlnew/build-gcc/gcc/ 
-B/homelsi1/wlnew/bar/mn10200-elf/bin/ -c -g -O2 -fno-implicit-templates -I. 
-I../../../gcc-2.95.3/libio -nostdinc++  
../../../gcc-2.95.3/libio/iostream.cc
In file included from ../../../gcc-2.95.3/libio/iostream.cc:36:
/homelsi1/wlnew/files/string.h:43: warning: declaration of `void * 
memcpy(void *, const void *, unsigned int)'
/homelsi1/wlnew/files/string.h:43: warning: conflicts with built-in 
declaration `void * memcpy(void *, const void *, long unsigned int)'
/homelsi1/wlnew/files/string.h:51: warning: declaration of `int memcmp(const 
void *, const void *, unsigned int)'
/homelsi1/wlnew/files/string.h:51: warning: conflicts with built-in 
declaration `int memcmp(const void *, const void *, long unsigned int)'
/homelsi1/wlnew/files/string.h:71: warning: declaration of `size_t 
strlen(const char *)'
/homelsi1/wlnew/files/string.h:71: warning: conflicts with built-in 
declaration `long unsigned int strlen(const char *)'
test x"no" != xyes || \
  /homelsi1/wlnew/build-gcc/gcc/xgcc -B/homelsi1/wlnew/build-gcc/gcc/ 
-B/homelsi1/wlnew/bar/mn10200-elf/bin/ -c -g -O2 -fno-implicit-templates -I. 
-I../../../gcc-2.95.3/libio -nostdinc++   
../../../gcc-2.95.3/libio/isgetline.cc -o pic/isgetline.o
/homelsi1/wlnew/build-gcc/gcc/xgcc -B/homelsi1/wlnew/build-gcc/gcc/ 
-B/homelsi1/wlnew/bar/mn10200-elf/bin/ -c -g -O2 -fno-implicit-templates -I. 
-I../../../gcc-2.95.3/libio -nostdinc++  
../../../gcc-2.95.3/libio/isgetline.cc
In file included from ../../../gcc-2.95.3/libio/isgetline.cc:27:
/homelsi1/wlnew/files/string.h:43: warning: declaration of `void * 
memcpy(void *, const void *, unsigned int)'
/homelsi1/wlnew/files/string.h:43: warning: conflicts with built-in 
declaration `void * memcpy(void *, const void *, long unsigned int)'
/homelsi1/wlnew/files/string.h:51: warning: declaration of `int memcmp(const 
void *, const void *, unsigned int)'
/homelsi1/wlnew/files/string.h:51: warning: conflicts with built-in 
declaration `int memcmp(const void *, const void *, long unsigned int)'
/homelsi1/wlnew/files/string.h:71: warning: declaration of `size_t 
strlen(const char *)'
/homelsi1/wlnew/files/string.h:71: warning: conflicts with built-in 
declaration `long unsigned int strlen(const char *)'
../../../gcc-2.95.3/libio/isgetline.cc: In function `char * 
_sb_readline(streambuf *, long int &, char)':
../../../gcc-2.95.3/libio/isgetline.cc:113: Internal compiler error in 
`copy_to_mode_reg', at explow.c:669
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
gmake[1]: *** [isgetline.o] Error 1
gmake[1]: Leaving directory `/homelsi1/wlnew/build-gcc/mn10200-elf/libio'
gmake: *** [all-target-libio] Error 2

With Best Regards,
Julia.


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com



More information about the Gcc-bugs mailing list