[Bug 233143] cc -mcmodel=large croaks on <ctype.h>

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 12 17:06:44 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233143

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |dim at FreeBSD.org

--- Comment #1 from Dimitry Andric <dim at FreeBSD.org> ---
Unfortunately, at this time, LLVM does not support large model in combination
with TLS and position-dependent code.  Upstream bug (which has quite a number
of duplicates):

https://bugs.llvm.org/show_bug.cgi?id=26906

Possible workarounds:
* Don't use TLS
* Don't use -mcmodel=large
* Use -fPIE or -fPIC

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-toolchain mailing list