This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15178] [3.4/3.5 Regression] Solaris 9/x86 fails linking after stage 3
- From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2004 14:26:53 -0000
- Subject: [Bug target/15178] [3.4/3.5 Regression] Solaris 9/x86 fails linking after stage 3
- References: <20040427200510.15178.markus.doehr@siegenia-aubi.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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