https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63815
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> --- Large model thunk with PIC never worked. GCC 4.8 generates: _ZThn8_N12ScriptString12CreateStringEPKc: .LFB1: .cfi_startproc subq $8, %rdi movabsq $.LTHUNK0@GOTOFF, %r10 addq %rbx, %r10 jmp *%r10 .cfi_endproc It never sets up GOT base pointer.