Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2018 17:06:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        toolchain@FreeBSD.org
Subject:   [Bug 233143] cc -mcmodel=large croaks on <ctype.h>
Message-ID:  <bug-233143-29464-vJxPGSTAuq@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233143-29464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233143-29464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233143

Dimitry Andric <dim@FreeBSD.org> changed:

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

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

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233143-29464-vJxPGSTAuq>