This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

gcc-bug ??


Hello over there !
 
First of all: If this is the wrong way to report a bug, please send me a short message
on how to do it correctly. It's the first time I'm using GNU software and I'm not yet
too familiar with your rules.
 
 
 
Now the problems:
 
On my ATHLON I tried to build gcc (2.95.2) under (SUSE-)linux. The "configure"
went OK, but the "make bootstrap" issued the following error message  (after
about 5 minutes of compiling happily and productively  :-) 
 
....
....
make[3]: Leaving directory `/home/bernd/gccdir/i686-pc-linux-gnu/libiberty'
make[2]: Leaving directory `/home/bernd/gccdir/i686-pc-linux-gnu/libiberty'
make[2]: Entering directory `/home/bernd/gccdir/i686-pc-linux-gnu/libio'
test x"no" != xyes || \
  /home/bernd/gccdir/gcc/xgcc -B/home/bernd/gccdir/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I../../../junk/gcc/libio -nostdinc++ -D_IO_MTSAFE_IO  ../../../junk/gcc/libio/indstream.cc -o pic/indstream.o
/home/bernd/gccdir/gcc/xgcc -B/home/bernd/gccdir/gcc/ -B/usr/local/i686-pc-linux-gnu/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I../../../junk/gcc/libio -nostdinc++ -D_IO_MTSAFE_IO ../../../junk/gcc/libio/indstream.cc
../../../junk/gcc/libio/indstream.cc: In method `struct streampos indirectbuf::seekoff(long long int, ios::seek_dir, int = 3)':
../../../junk/gcc/libio/indstream.cc:82: `struct streampos' used where a `int' was expected
../../../junk/gcc/libio/indstream.cc:85: `struct streampos' used where a `int' was expected
../../../junk/gcc/libio/indstream.cc:87: `struct streampos' used where a `int' was expected
../../../junk/gcc/libio/indstream.cc:89: conversion from `int' to non-scalar type `streampos' requested
../../../junk/gcc/libio/indstream.cc: In method `struct streampos indirectbuf::seekpos(_G_fpos64_t, int = 3)':
../../../junk/gcc/libio/indstream.cc:99: `struct streampos' used where a `int' was expected
../../../junk/gcc/libio/indstream.cc:102: `struct streampos' used where a `int' was expected
../../../junk/gcc/libio/indstream.cc:104: `struct streampos' used where a `int' was expected
../../../junk/gcc/libio/indstream.cc:106: conversion from `int' to non-scalar type `streampos' requested
make[2]: *** [indstream.o] Error 1
make[2]: Leaving directory `/home/bernd/gccdir/i686-pc-linux-gnu/libio'
make[1]: *** [all-target-libio] Error 2
make[1]: Leaving directory `/home/bernd/gccdir'
make: *** [bootstrap] Error 2
 
 
When I remove the "indstream" from the corresponding Makefiles, 
make bootstrap completes successfully and gcc works OK.
 
But it still does not solve the following problem:
 
 
 
 
The reason why I downloaded gcc-everything-2.95.2.tar and tried to
install gcc and g77 is the following:
 
I have the SU (seismic un*x, Colorado School of Mines) package installed
on my machine (under SUSE-linux). No problems occured during the
installation until I added my own stuff, which used to be running under SU
on an IBM 320H workstation (under AIX 3.something).
 
I am calling FORTRAN from C several times, and everything works all
right, but when there is eg exponentiation (a**B) within the FORTRAN
routine, an error message like the one below occurs: 
 
 
....
....
cd mystuff ; make
make[2]: Entering directory `/home/bernd/su/src/su/mystuff'
gcc -O   -I/home/bernd/su/include  dipmodel.c  -L/home/bernd/su/lib  -lsu -lpar -lF77 -lcwp -lm  -o /home/bernd/su/bin/dipmodel libftr.a

/home/bernd/su/lib/libpar.a(subcalls.o): In function `etmpnam':
subcalls.o(.text+0x3de): the use of `tmpnam' is dangerous, better use `mkstemp'
libftr.a(genfilt.o): In function `genfilt_':
genfilt.o(.text+0x50): undefined reference to `s_copy'
genfilt.o(.text+0x79): undefined reference to `s_copy'
genfilt.o(.text+0xaa): undefined reference to `s_copy'
genfilt.o(.text+0xf2): undefined reference to `s_cmp'
genfilt.o(.text+0x115): undefined reference to `pow_dd'
genfilt.o(.text+0x144): undefined reference to `s_cmp'
genfilt.o(.text+0x167): undefined reference to `pow_dd'
genfilt.o(.text+0x196): undefined reference to `s_cmp'
genfilt.o(.text+0x1bd): undefined reference to `pow_dd'
genfilt.o(.text+0x1ef): undefined reference to `pow_dd'
genfilt.o(.text+0x373): undefined reference to `pow_dd'
genfilt.o(.text+0x396): undefined reference to `pow_dd'
genfilt.o(.text+0x3b2): undefined reference to `s_cmp'
genfilt.o(.text+0x451): undefined reference to `pow_dd'
genfilt.o(.text+0x493): undefined reference to `pow_dd'
genfilt.o(.text+0x4ba): undefined reference to `pow_dd'
genfilt.o(.text+0x51f): undefined reference to `s_cmp'
genfilt.o(.text+0x5ad): undefined reference to `pow_dd'
genfilt.o(.text+0x60f): undefined reference to `s_cmp'
genfilt.o(.text+0x693): undefined reference to `pow_dd'
collect2: ld returned 1 exit status
make[2]: *** [/home/bernd/su/bin/dipmodel] Error 1
make[2]: Leaving directory `/home/bernd/su/src/su/mystuff'
make[1]: *** [INSTALL] Error 2
make[1]: Leaving directory `/home/bernd/su/src/su'
make: *** [sustuff] Error 2
 
So I thought there could be something wrong with gcc and/or g77
under linux, and this is why tried to install gcc from scratch.
 
 
Many thanks in anticipation of your help (and for all the great stuff
your creating)
 
 
best regards
 
 
 
Bernd Kuehbach  (kuehbach@addcom.de)

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