http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40056
--- Comment #12 from Andrew Savchenko <bircoph at gmail dot com> 2012-03-08 23:27:15 UTC --- Hello, (In reply to comment #10) > No, they aren't just like normal functions. > > Maybe you should read > http://www.parashift.com/c++-faq-lite/templates.html#faq-35.12 Thank you again, I misunderstood concept behind template implementation. (In reply to comment #11) > the source code now (r43307) uses explicit instantiation and should work on > Gentoo with all compiler versions and optimization levels. > > If you want older versions to work remove the conditionals at the bottom of > io/io/Module.mk. Thanks for fixing this problem. I'll apply the solution to our packages soon.