This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16007] Use of static template members results in broken executables
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Jun 2004 12:15:36 -0000
- Subject: [Bug c++/16007] Use of static template members results in broken executables
- References: <20040615165859.16007.kiwi@xtradyne.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-06-19 12:15 -------
> Possible fixes that I see: 1) On Solaris, do not use .gnu.linkonce.b*; 2) If we
> are using gas on Solaris, use SVR4 assembler syntax for .section; 3) teach gas
> about .gnu.linkonce.b* (not a gcc patch). Note that options 2 and 3 break if
> the users uses the Solaris assembler and the GNU linker.
We already have a problem with GNU as + Sun ld (see PR target/15267) so I don't
see a problem with Sun as + GNU ld as a show stopper. IMHO we only have to make
sure that the compiler works with either complete set of tools.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16007