On Mon, Nov 14, 2011 at 2:33 PM, walt <w41...@gmail.com> wrote: >> CXXFLAGS="-march=pentium3 -mtune=pentium3 -m32 -Os -fmessage-length=0 >> -pipe -fno-implicit-templates" > > ^^^^^^^^^^^^^^^^^^^^^ > > I'm wondering about that "no-implicit-templates". What happens if you > delete it?
I was somewhat surprised by this too. I've been grepping through inherited ebuilds and eclasses to try to find where -fno-implicit-templates gets inserted into CXXFLAGS, but found nothing. Within the ebuild itself, the only files that contained this flag were the Makefiles (not Makefile.??), temp/build.log (naturally, but as a particle physicist I feel compelled to list the self interaction for completeness), and temp/environment. It seemed unlikely that gentoo would have put that into the default environment, and I found no references in /etc/env.d/, /etc/*bash*, /etc/skel/, or even /etc/. At this point I remembered that I was emerging through a chroot from another distro, and indeed -fno-implicit-templates came from a custom CXXFLAGS there. Thanks for giving me the idea to track this down, because removing the flag also removes the link error. Justin