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

ro at techfak dot uni-bielefeld dot de gcc-bugzilla@gcc.gnu.org
Wed Jun 9 14:26:00 GMT 2004


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2004-06-09 14:26 -------
Subject: Re:  [3.4/3.5 Regression] Solaris 9/x86 fails linking after stage 3

markus dot doehr at siegenia-aubi dot com writes:

> I tried this but unfortunately it's giving me syntax errors:

there are two, both trivial to fix:

> /* 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))); \
						      ^ superfluous paren
>     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");                         \
>      }
						          ^ missing \
>   } while (0)

with those changes, bootstrap on i386-pc-solaris2.10 with native (7.1
based) as is under way.

	Rainer


-- 


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



More information about the Gcc-bugs mailing list