http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- You can add -mtls-dialect=gnu2 to -fpic and -mcmodel=large.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58067
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> --- You can add -mtls-dialect=gnu2 to -fpic and -mcmodel=large.