This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/26889] libfortran build fails with: object requires TLS, but TLS failed to initialize



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]