This is the mail archive of the gcc-patches@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]

Re: Improved abort(), rev 3


Am Thu, 15 Apr 1999 schrieb Zack Weinberg:
>1999-04-15 11:56 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
>
>	* system.h: Always prototype abort.  Prototype fatal.  Define
>	abort to call fatal, not fprintf/exit.  Define a stub macro
>	for trim_filename.
>	* toplev.c: Define DIR_SEPARATOR.  (trim_filename): New
>	function.
>	* toplev.h: Prototype trim_filename, and #undef system.h's stub.
>
>	* gcc.c, genattr.c, genattrtab.c, gencodes.c, genconfig.c,
>	genemit.c, genextract.c, genflags.c, genopinit.c, genoutput.c,
>	genpeep.c, genrecog.c: Make fatal non-static.
>	* gcov.c, gengenrtl.c, protoize.c: #undef abort after
>	including system.h.
>
>	* config/i386/dgux.h, config/m68k/xm-amix.h: Remove stale code
>	relating to abort.


Hi,

with this patch I can no longer bootstrap the CVS on powerpc-linux-gnu
(glibc-2.1.1cvs):

gcc  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H    -I. -I../../../egcsm/gcc -I../../../egcsm/gcc/config -I../../../egcsm/gcc/../include -c
 ../../../egcsm/gcc/cexp.c
cexp.y: In function `yyparse':
cexp.y:310: warning: comparison between signed and unsigned
cexp.y:317: warning: comparison between signed and unsigned
cexp.y:324: warning: comparison between signed and unsigned
cexp.y:331: warning: comparison between signed and unsigned
gcc  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H    -I. -I../../../egcsm/gcc -I../../../egcsm/gcc/config -I../../../egcsm/gcc/../include \
  -DLOCALEDIR=\"/home/fsirl/gnubin2/share/locale\" \
  -c `echo ../../../egcsm/gcc/intl.c | sed 's,^\./,,'`
gcc  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H    -I. -I../../../egcsm/gcc -I../../../egcsm/gcc/config -I../../../egcsm/gcc/../include \
-DPREFIX=\"/home/fsirl/gnubin2\" \
  -c `echo ../../../egcsm/gcc/prefix.c | sed 's,^\./,,'`
gcc -c  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H    -I. -I../../../egcsm/gcc -I../../../egcsm/gcc/config -I../../../egcsm/gcc/../include
 ../../../egcsm/gcc/version.c
gcc -c  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H    -I. -I../../../egcsm/gcc -I../../../egcsm/gcc/config -I../../../egcsm/gcc/../include
 ../../../egcsm/gcc/mbchar.c
rm -f obstack.c
ln -s ../../../egcsm/gcc/../libiberty/obstack.c obstack.c
gcc -c  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H    -I. -I../../../egcsm/gcc -I../../../egcsm/gcc/config -I../../../egcsm/gcc/../include
 obstack.c
gcc  -DIN_GCC -DHAIFA    -g -W -Wall  -DHAVE_CONFIG_H  -o cccp cccp.o cexp.o intl.o prefix.o version.o  mbchar.o  obstack.o        ../libiberty/
libiberty.a
cexp.o: In function `parse_c_expression':
/home/fsirl/obj/cvsm/gcc/cexp.y:997: undefined reference to `fatal'
collect2: ld returned 1 exit status
make[2]: *** [cccp] Error 1
make[2]: Leaving directory `/home/fsirl/obj/cvsm/gcc'
make[1]: *** [bootstrap-lean] Error 2
make[1]: Leaving directory `/home/fsirl/obj/cvsm/gcc'
make: *** [bootstrap-lean] Error 2

Franz.


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