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]
Other format: [Raw text]

[Bug target/15178] [3.4/3.5 Regression] Solaris 9/x86 fails linking after stage 3


------- Additional Comments From markus dot doehr at siegenia-aubi dot com  2004-06-09 14:22 -------
I tried this but unfortunately it's giving me syntax errors:

that's what I have in sol2.h


/* The Solaris assembler does not support .quad.  Do not use it.  */
#undef ASM_QUAD

/* The Solaris assembler wants a .local for non-exported aliases. */
#define ASM_OUTPUT_DEF_FROM_DECLS(FILE, DECL, TARGET)   \
  do {                                                  \
    const char *declname =                              \
      IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME (DECL))); \
    ASM_OUTPUT_DEF ((FILE), declname,                   \
                    IDENTIFIER_POINTER (TARGET));       \
    if (! TREE_PUBLIC (DECL))                           \
      {                                                 \
        fprintf ((FILE), "%s", LOCAL_ASM_OP);           \
        assemble_name ((FILE), declname);               \
        fprintf ((FILE), "\n");                         \
     }
  } while (0)


This is the output:

cc -c   -g  -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I/export/home/doehrm/gcc-3.4.0/gcc -I/export/home/doehrm/gcc-
3.4.0/gcc/. -I/export/home/doehrm/gcc-3.4.0/gcc/../include -I../intl
/export/home/doehrm/gcc-3.4.0/gcc/genconstants.c -o genconstan
ts.o
"/export/home/doehrm/gcc-3.4.0/gcc/system.h", line 537: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/config/i386/sol2.h", line 81: syntax error
before or at: }
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1070: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1518: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1601: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1648: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1667: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1671: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1723: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1734: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 1735: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 2127: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 2169: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 2206: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 2236: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 2304: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/rtl.h", line 2333: warning: _Bool is a
keyword in ISO C99
"/export/home/doehrm/gcc-3.4.0/gcc/genconstants.c", line 50: cannot recover from
previous errors
cc: acomp failed for /export/home/doehrm/gcc-3.4.0/gcc/genconstants.c
gmake[3]: *** [genconstants.o] Error 2
gmake[3]: Leaving directory `/home/doehrm/gcc-3.4.0/compile/gcc'
gmake[2]: *** [stage1_build] Error 2
gmake[2]: Leaving directory `/home/doehrm/gcc-3.4.0/compile/gcc'
gmake[1]: *** [restrap] Error 2
gmake[1]: Leaving directory `/home/doehrm/gcc-3.4.0/compile/gcc'
gmake: *** [restrap] Error 2

Line 81 is the last line.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15178


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