PATCH: Use Intel BID library for BID
H. J. Lu
hjl@lucon.org
Thu Jun 14 20:40:00 GMT 2007
On Thu, Jun 14, 2007 at 04:12:41PM -0400, Daniel Jacobowitz wrote:
> On Thu, Jun 14, 2007 at 01:08:47PM -0700, H. J. Lu wrote:
> > One possible solution is to use previous stage compiler to check
> > TLS when building libgcc for stage 2 and 3. I am thinking to add
> > GCC_CHECK_TLS to gcc for native build and add GCC_CHECK_TLS to libgcc
> > for cross build. For native build, we can get TLS info from gcc
> > configure. For cross build, we can get TLS info from libgcc configure.
> > Will it work?
>
> Ew. Just do whatever libgomp does?
libgomp has
# See if we support thread-local storage.
GCC_CHECK_TLS
in configure.ac. But libgcc is different since the newly built gcc
isn't available to create executable to run run-time test,
which is needed for GCC_CHECK_TLS, because libgcc is yet to be built.
H.J.
More information about the Gcc-patches
mailing list