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 compiling c on solaris 2.7


First initial bug sighting and system diagnostics:

medvesajt(SNNSv4.2)% make
cd kernel/sources && make
gcc -I../..   -g -O -c learn_f.c
learn_f.c: In function `LEARN_rprop':
learn_f.c:5038: Internal compiler error in `final_scan_insn', at final.c:2920
Please submit a full bug report.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.
*** Error code 1
make: Fatal error: Command failed for target `learn_f.o'
Current working directory 
/rsc/appenzeller/u5/mabraham/devel/SNNSv4.2/kernel/sources
*** Error code 1
make: Fatal error: Command failed for target `compile-kernel'

medvesajt(SNNSv4.2)% gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/specs
gcc version 2.95 19990728 (release)

medvesajt(SNNSv4.2)% gcc -dumpmachine
sparc-sun-solaris2.7

medvesajt(SNNSv4.2)% uname -a
SunOS medvesajt.anu.edu.au 5.8 Generic sun4u sparc SUNW,Ultra-5_10

medvesajt(SNNSv4.2)% uname -X
System = SunOS
Node = medvesajt.anu.edu.au
Release = 5.8
KernelID = Generic
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1



Now ran the following commands to get the preprocessed source file:

medvesajt(SNNSv4.2)% cd kernel/sources

medvesajt(sources)% gcc -v --save-temps -I../.. -g -O -c learn_f.c
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/specs
gcc version 2.95 19990728 (release)
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/cpp -lang-c -v -I../.. 
-D__GNUC__=2 -D__GNUC_MINOR__=95 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 
-D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun 
-D__unix -Asystem(unix) -Asystem(svr4) -D__OPTIMIZE__ -g 
-D__GCC_NEW_VARARGS__ -Acpu(sparc) -Amachine(sparc) learn_f.c learn_f.i
GNU CPP version 2.95 19990728 (release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 ../..
 /usr/local/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/../../../../sparc-sun-solaris2.7/include
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/../../../../include/g++-3
End of omitted list.
 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/2.95/cc1 learn_f.i -quiet 
-dumpbase learn_f.c -g -O -version -o learn_f.s
GNU C version 2.95 19990728 (release) (sparc-sun-solaris2.7) compiled by 
GNU C version 2.95 19990728 (release).
learn_f.c: In function `LEARN_rprop':
learn_f.c:5038: Internal compiler error in `final_scan_insn', at final.c:2920
Please submit a full bug report.
See <URL:http://egcs.cygnus.com/faq.html#bugreport> for instructions.

The preprocessed source file is attached as learn_f.i.gz and also the 
source file SNNSv4.2/kernel/sources/learn_f.c is attached and is 
unmodified from the FTP distribution of the Stuttgart Neural Network 
Simulator available at 
ftp://ftp.informatik.uni-stuttgart.de/pub/SNNS/SNNSv4.2.tar.gz

Mark Abraham

learn_f.i.bz2

learn_f.c.bz2


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