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]

problems building ecgs-19980803 on i386-nextstep


Hello,

while building the ecgs-19980803 snapshot, the following occured during  
a build for i386-nextstep:

~/Library/nobackup/egcs-19980803> ./config.guess
i386-next-nextstep3
-----------------------------------------------------------
~/Library/nobackup/egcs-19980803>


The last output from 'gnumake bootstrap' was:

[lots of stuff deleted]
mv objc/*.o stage1/objc
mv: objc/*.o: Cannot access: No such file or directory
gnumake[2]: [objc.stage1] Error 1 (ignored)
mv cc1obj stage1
mv: cc1obj: Cannot access: No such file or directory
gnumake[2]: [objc.stage1] Error 1 (ignored)
mv libobjc.a stage1
mv: libobjc.a: Cannot access: No such file or directory
gnumake[2]: [objc.stage1] Error 1 (ignored)
gnumake[2]: Leaving directory  
`/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc'
gnumake CC="stage1/xgcc -Bstage1/" CFLAGS=" -O2 -g -O2" LDFLAGS=""  
libdir=/Net/carnap/Users/tschwarz/Unix/lib STAGE_PREFIX=stage1/  
LANGUAGES="c proto gcov  c++ f77 objc"
gnumake[2]: Entering directory  
`/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc'
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H     -I.  
-I../../gcc -I../../gcc/config \
   
-DGCC_INCLUDE_DIR=\"/Net/carnap/Users/tschwarz/Unix/lib/gcc-lib/i386-next-nextstep3/egcs-2.91.53/include\"  
\
  -DGPLUSPLUS_INCLUDE_DIR=\"/Net/carnap/Users/tschwarz/Unix/include/g++\" \
   
-DOLD_GPLUSPLUS_INCLUDE_DIR=\"/Net/carnap/Users/tschwarz/Unix/lib/g++-include\"  
\
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
   
-DCROSS_INCLUDE_DIR=\"/Net/carnap/Users/tschwarz/Unix/i386-next-nextstep3/sys-include\"  
\
   
-DTOOL_INCLUDE_DIR=\"/Net/carnap/Users/tschwarz/Unix/i386-next-nextstep3/include\"  
\
  -c `echo ../../gcc/cccp.c | sed 's,^\./,,'`
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H     -I.  
-I../../gcc -I../../gcc/config -c ../../gcc/cexp.c
stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H      
-I. -I../../gcc -I../../gcc/config ../../gcc/version.c
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H     -I.  
-I../../gcc -I../../gcc/config \
-DPREFIX=\"/Net/carnap/Users/tschwarz/Unix\" \
  -c `echo ../../gcc/prefix.c | sed 's,^\./,,'`
stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H      
-I. -I../../gcc -I../../gcc/config ../../gcc/obstack.c
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H   -o cccp  
cccp.o cexp.o prefix.o \
  version.o obstack.o
rm -f cpp
ln cccp cpp
stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H      
-I. -I../../gcc -I../../gcc/config ../../gcc/gencheck.c
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H   -o gencheck \
 gencheck.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case ""  
in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in ?*)  
echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
./gencheck > tmp-check.h
gnumake[2]: *** [s-check] Error 139
gnumake[2]: Leaving directory  
`/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc'
gnumake[1]: *** [bootstrap] Error 2
gnumake[1]: Leaving directory  
`/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc'
gnumake: *** [bootstrap] Error 2
-----------------------------------------------------------

Now let's see what's wrong:

~/Library/nobackup/egcs-19980803/objdir/gcc> gdb ./gencheck
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.7 (NeXT 3.1), Copyright 1992 Free Software Foundation, Inc...
Reading symbols from  
/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc/gencheck...done.
Reading symbols from /usr/shlib/libsys_s.B.shlib...done.

Breakpoint 1 at 0x505a693
Breakpoint 2 at 0x505a344
Function "fancy_abort" not defined.
(gdb) run
Starting program:  
/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc/gencheck
/* This file is generated using gencheck. Do not edit. */
Program generated(1): Memory access exception on address 0x6850900f  
(invalid address).
Reading in symbols for ../../gcc/gencheck.c...done.
0x2983 in main (argc=?, argv=0xbffffc1c) at ../../gcc/gencheck.c:53
53        for (i = 0; tree_codes[i]; i++)
(gdb) l
48            usage ();
49            exit (1);
50          }
51
52        printf ("/* This file is generated using gencheck. Do not  
edit. */\n");
53        for (i = 0; tree_codes[i]; i++)
54          {
55            printf ("#define %s_CHECK(t)\tTREE_CHECK (t, %s)\n",
56                    tree_codes[i], tree_codes[i]);
57            printf ("#define %s_CHECK1(t)\tTREE_CHECK1 (t, %s)\n",
(gdb) The program is running.  Quit anyway? (y or n) y
-----------------------------------------------------------
~/Library/nobackup/egcs-19980803/objdir/gcc>

Now, if I compile gencheck.c with gcc-2.8.1, 'gencheck' runs without  
error. The build can be continued (just to test), but then it stops again  
at

[lots of stuff deleted]
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H     -I.  
-I../../gcc -I../../gcc/config -c ../../gcc/c-parse.c
stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H      
-I. -I../../gcc -I../../gcc/config ../../gcc/c-lang.c
stage1/xgcc -Bstage1/ -c  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H      
-I. -I../../gcc -I../../gcc/config ../../gcc/gengenrtl.c
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -g -O2  -DHAVE_CONFIG_H   -o gengenrtl \
 gengenrtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case  
"" in ?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac ` ` case "" in  
?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
./gengenrtl tmp-genrtl.h tmp-genrtl.c
gnumake[2]: *** [s-genrtl] Bus error
gnumake[2]: Leaving directory  
`/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc'
gnumake[1]: *** [bootstrap2] Error 2
gnumake[1]: Leaving directory  
`/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc'
gnumake: *** [bootstrap2] Error 2
-----------------------------------------------------------
~/Library/nobackup/egcs-19980803/objdir> cd gcc
-----------------------------------------------------------
~/Library/nobackup/egcs-19980803/objdir/gcc> gdb ./gengenrtl
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.7 (NeXT 3.1), Copyright 1992 Free Software Foundation, Inc...
Reading symbols from  
/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc/gengenrtl...done.
Reading symbols from /usr/shlib/libsys_s.B.shlib...done.

Breakpoint 1 at 0x505a693
Breakpoint 2 at 0x505a344
Function "fancy_abort" not defined.
(gdb) run tmp-genrtl.h tmp-genrtl.c
Starting program:  
/Users/tschwarz/Library/nobackup/egcs-19980803/objdir/gcc/gengenrtl  
tmp-genrtl.h tmp-genrtl.c
Program generated(1): Memory access exception on address 0x0 (protection  
failure).
Reading in symbols for ../../gcc/gengenrtl.c...done.
0x2698 in find_formats () at ../../gcc/gengenrtl.c:149
149             if (!strcmp(*f, defs[i].format))
(gdb) l
144
145           if (special_format (defs[i].format))
146             continue;
147
148           for (f = formats; *f ; ++f)
149             if (!strcmp(*f, defs[i].format))
150               break;
151
152           if (!*f)
153             *f = defs[i].format;
(gdb) The program is running.  Quit anyway? (y or n) y
-----------------------------------------------------------
~/Library/nobackup/egcs-19980803/objdir/gcc>

Thanks for any hint....

Bye
	Tilo

--------------------
Tilo Schwarz, Daimler-Benz AG, Research Center Ulm, FT3/AB
Address:      Wilhelm-Runge-Str.11,  P.O. Box 23 60,  89013 Ulm,  Germany
Phone:        +49 731 505 2376
Email:        tilo.schwarz@dbag.ulm.daimlerbenz.com
              (NeXT- and MIME-Mail welcome)


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