http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46250
Uros Bizjak <ubizjak at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl.tools at gmail dot com, | |ubizjak at gmail dot com --- Comment #4 from Uros Bizjak <ubizjak at gmail dot com> 2013-04-28 10:12:49 UTC --- (In reply to comment #3) > Confirmed based on the dups. This is ABI limitaton, we can't use indirect call that is necessary to reach __tls_get_addr in the large memory space here. IIRC, -mtls-dialect=gnu2 should be used with -mcmodel=large to solve this problem, but the former option is somehow untested. We shouldn't ice here, though. I am adding HJ for his opinion on ABI issue.