This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/26889] libfortran build fails with: object requires TLS, but TLS failed to initialize
- From: "kargl at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Mar 2006 20:18:17 -0000
- Subject: [Bug fortran/26889] libfortran build fails with: object requires TLS, but TLS failed to initialize
- References: <bug-26889-10100@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #19 from kargl at gcc dot gnu dot org 2006-03-28 20:18 -------
(In reply to comment #18)
> Unsuprisingly,the build still fails after changing it to
> use "make boostrap" in the same exact way:
>
> ../../../../gcc-4.0.3/libgfortran/intrinsics/selected_int_kind.f90 -fPIC
I've scanned this thread and I have a few comments.
1) GMP/MPFR are used only by the gfortran compiler (ie not the runtime
library). To avoid the TLS problems, you need only build and install
the static libraries for GMP/MPFR.
2) You really, really, really want to use at least the 4.1 tree for
gfortran. There are literally 100s of bugs fixed in 4.1 and beyond
that will never be backported to 4.0.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26889