Summary: | Document use/non-use of -fno-implicit-templates in bootflags | ||
---|---|---|---|
Product: | gcc | Reporter: | gbsadler1 |
Component: | c++ | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gbsadler1, gcc-bugs, gdr, James.W.Mckelvey, mark, sandra, webrown.cpp |
Priority: | P3 | Keywords: | documentation |
Version: | 3.0 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Known to work: | ||
Known to fail: | Last reconfirmed: | 2005-12-11 21:50:50 | |
Attachments: | java.err.tar.gz |
Description
gbsadler1
2001-08-14 17:36:01 UTC
Fix: Not positive. I held off reporting via gnats as there was discussion about fixing a problem with reload1.c, which Jan Hubicka (sp?) fixed. Then further discussion about another change someone made prior to leaving on vacation. However, this has happened every day since Friday for me with a fresh cvs update every day at 3AM CDT. From: Mark Mitchell <mark@codesourcery.com> To: "gbsadler1@lcisp.com" <gbsadler1@lcisp.com>, "gcc-gnats@gcc.gnu.org" <gcc-gnats@gcc.gnu.org> Cc: Subject: Re: bootstrap/4025: Bootstrap fails to create jv-convert (undefined refs) Date: Tue, 14 Aug 2001 18:07:37 -0700 > export CXXFLAGS='-Os -march=i686 -fno-implicit-templates' > export OPTIMIZE_CXXFLAGS='-g -Os -march=athlon -fno-implicit-templates' It is not safe to use -fno-implicit-templates in CXXFLAGS. Would you try again without those flags, please? -- Mark Mitchell mark@codesourcery.com CodeSourcery, LLC http://www.codesourcery.com From: Gordon Sadler <gbsadler1@lcisp.com> To: "gcc-gnats@gcc.gnu.org" <gcc-gnats@gcc.gnu.org> Cc: Subject: Re: bootstrap/4025: Bootstrap fails to create jv-convert (undefined refs) Date: Tue, 14 Aug 2001 23:22:29 -0500 On Tue, Aug 14, 2001 at 06:07:37PM -0700, Mark Mitchell wrote: > > > > export CXXFLAGS='-Os -march=i686 -fno-implicit-templates' > > export OPTIMIZE_CXXFLAGS='-g -Os -march=athlon -fno-implicit-templates' > > It is not safe to use -fno-implicit-templates in CXXFLAGS. Would you > try again without those flags, please? > That does indeed correct the problem. Strange, it was/is still working on mainline and worked until Friday on the branch. Perhaps there should be a configure test to detect/warn about the use of the switch? At the least on the libstdc++/documentation/configopts website? -- Gordon Sadler From: Gabriel Dos Reis <gdr@codesourcery.com> To: Gordon Sadler <gbsadler1@lcisp.com> Cc: nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: bootstrap/4025: Bootstrap fails to create jv-convert (undefined refs) Date: 15 Aug 2001 12:44:22 +0200 Gordon Sadler <gbsadler1@lcisp.com> writes: | > > export CXXFLAGS='-Os -march=i686 -fno-implicit-templates' | > > export OPTIMIZE_CXXFLAGS='-g -Os -march=athlon -fno-implicit-templates' | > | > It is not safe to use -fno-implicit-templates in CXXFLAGS. Would you | > try again without those flags, please? | > | That does indeed correct the problem. Strange, it was/is still working | on mainline and worked until Friday on the branch. | | Perhaps there should be a configure test to detect/warn about the use of | the switch? At the least on the libstdc++/documentation/configopts | website? We went though this sometime ago -- -fno-implicit-templates should not be used unless there is very specific reasons to do so; but then you have a global idea of what is going on. Yes, it is probably a good idea to add some text to that effect on our documentation. -- Gaby CodeSourcery, LLC http://www.codesourcery.com State-Changed-From-To: open->analyzed State-Changed-Why: Analyzed long ago. Validity of claim also decided positively by Gaby. The building documenation talks about -fno-implicit-templates in LIBCXXFLAGS only. I do not know if this counts as being fixed or if that still works. *** Bug 16140 has been marked as a duplicate of this bug. *** Author: sandra Date: Sat Nov 17 16:05:45 2018 New Revision: 266239 URL: https://gcc.gnu.org/viewcvs?rev=266239&root=gcc&view=rev Log: 2018-11-17 Sandra Loosemore <sandra@codesourcery.com> PR c++/4025 gcc/ * doc/invoke.texi (C++ Dialect Options): Clarify usage of -fno-implicit-templates. Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi Fixed, finally. It only took 17 years. :-P |