http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55354
--- Comment #16 from Konstantin Serebryany <konstantin.s.serebryany at gmail dot com> 2012-11-19 09:06:26 UTC --- So, using "-fPIC -ftls-model=initial-exec" is a great idea, it will allow to build the files once and have both static and dynamic library. But we need to agree that the dynamic library is noticeably slower.