SCO OSR 5.0.5 failed compilations

Robert Lipe robertl@dgii.com
Wed Sep 16 21:52:00 GMT 1998


> For the last several days, I've been updating the source tree with cvs,
> and have been crashing at:

I can make it crash in a different place for you, but it's still going to
crash. :-(

> /s/tools/egcsobj/gcc/xgcc -B/s/tools/egcsobj/gcc/ -O2   -DIN_GCC    -O3 -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED    -mcoff -I. -I../../egcs/gcc -I../../egcs/gcc/config -I../../egcs/gcc/../include \
>   -c ../../egcs/gcc/cp/tinfo.cc
> Assembler: tinfo.cc
>         aline 846       : label previously defined as weak
>         aline 858       : label previously defined as weak

Revert the recent .weak patch and it'll go back to crashing in the
traditional way.  I'll confess that I noticed this but have been
concentrating on the output of sdbout.c that makes the assembler hurl.



cvs diff -r 1.17 -r 1.16 sco5.h
Index: sco5.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/i386/sco5.h,v
retrieving revision 1.17
retrieving revision 1.16
diff -u -p -r1.17 -r1.16
--- sco5.h      1998/09/11 21:01:29     1.17
+++ sco5.h      1998/07/13 22:38:49     1.16
@@ -731,10 +731,6 @@ dtors_section ()                                   \
 #undef HANDLE_SYSV_PRAGMA
 #define HANDLE_SYSV_PRAGMA 1

-#define ASM_WEAKEN_LABEL(FILE,NAME) \
-  do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME);          \
-       fputc ('\n', FILE); } while (0)
-
 #undef SCCS_DIRECTIVE
 #define SCCS_DIRECTIVE 1





More information about the Gcc mailing list