c++/6482: sparc-sun-solaris2.7 gcc-3.1 g++ testsuite failure in g++.dg/special/conpr-2.C
davem@gcc.gnu.org
davem@gcc.gnu.org
Sun Apr 28 03:46:00 GMT 2002
Synopsis: sparc-sun-solaris2.7 gcc-3.1 g++ testsuite failure in g++.dg/special/conpr-2.C
State-Changed-From-To: open->analyzed
State-Changed-By: davem
State-Changed-When: Sun Apr 28 00:05:34 2002
State-Changed-Why:
The init_priority attribute is currently not supported without
GNU ld. Have a look at the change I made on 2002-04-08 to
get this working when using GNU ld. The changelog in question
starts with the line "Make init_priority work on Sparc when
using GNU ld"
Someone needs to figure out if it is possible to make Sun's
linker understand constructor priorities, and to sort them.
Once we know that, CTORS_SECTION_ASM_OP and
DTORS_SECTION_ASM_OP can be set appropriately.
Another idea is to use collect2 to do the sorting. All the
bits are there in fact, but it is meant mostly for handling
a.out systems. I had suggested this collect2 idea to richard henderson and his response was not to bother using
something gross like collect2 just to fix a feature that
is only really used by ECOS.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6482
More information about the Gcc-bugs
mailing list