This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/44855] Static members not initialised in explicit template instances of library
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 29 Mar 2011 19:05:38 +0000
- Subject: [Bug c++/44855] Static members not initialised in explicit template instances of library
- Auto-submitted: auto-generated
- References: <bug-44855-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44855
--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-29 19:05:32 UTC ---
I can reproduce this on Fedora 13
using -fpic or -fPIC fixes it (as well as avoiding SELinux "permission denied"
errors when loading the shared object)