The LINK_GCC_C_SEQUENCE_SPEC provided by gcc/config/sparc/sparc.h is not
applicable to sparc-rtems.

IMO, sparc.h's LINK_GCC_C_SEQUENCE_SPEC probably is specific to solaris and not
generally applicable. May-be, it's an historic artefact.

I am going to apply the patch below to GCC-trunk to work-around this issue for
rtems.

Index: rtemself.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/sparc/rtemself.h,v
retrieving revision 1.13
diff -u -r1.13 rtemself.h
--- rtemself.h  24 Jan 2005 21:31:52 -0000      1.13
+++ rtemself.h  28 Jan 2005 05:38:02 -0000
@@ -29,3 +29,6 @@
        builtin_assert ("system=rtems");        \
     }                                          \
   while (0)
+
+/* Use the default */
+#undef LINK_GCC_C_SEQUENCE_SPEC

-- 
           Summary: sparc.h's LINK_GCC_C_SEQUENCE_SPEC lacks generality
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: corsepiu at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,joel at oarcorp dot com
GCC target triplet: sparc-rtems*


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

Reply via email to