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 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


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