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)