[Bug fortran/26889] libfortran build fails

2006-03-29 Thread ebotcazou at gcc dot gnu dot org
--- Comment #29 from ebotcazou at gcc dot gnu dot org 2006-03-30 06:20 --- > Here's the selected_int_kind.inc file generated on Solaris 8 with gcc 4.0.3. Thanks. Victory, at last something obviously broken. :-) The file reads: integer, parameter :: c = 0 type (int_info), paramet

[Bug fortran/26889] libfortran build fails

2006-03-29 Thread quanah at stanford dot edu
--- Comment #28 from quanah at stanford dot edu 2006-03-29 22:12 --- Created an attachment (id=11160) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11160&action=view) selected_int_kind.inc Here's the selected_int_kind.inc file generated on Solaris 8 with gcc 4.0.3. -- http://

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread quanah at stanford dot edu
--- Comment #27 from quanah at stanford dot edu 2006-03-29 01:47 --- I'll try the flags and get the attachment to you tomorrow. Today is my birthday, and my wife doesn't really want me on the computer much. ;) So far, gcc 4.1.0 looks to be building without issue. -- http://gcc.gnu

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread ebotcazou at gcc dot gnu dot org
--- Comment #26 from ebotcazou at gcc dot gnu dot org 2006-03-28 21:07 --- > Except that it is generated on the fly by mk-sic-ink.sh... Sorry, I was talking about selected_int_kind.inc... Could you attach this one? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26889

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread ebotcazou at gcc dot gnu dot org
--- Comment #25 from ebotcazou at gcc dot gnu dot org 2006-03-28 21:03 --- > selected_int_kind.f90 (it is just what is shipped with the gcc-4.0.3 > source...) Except that it is generated on the fly by mk-sic-ink.sh... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26889

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread quanah at stanford dot edu
--- Comment #24 from quanah at stanford dot edu 2006-03-28 20:59 --- I will look at removing the libintl/libiconv bits, but in the past gcc failed to find them without adding those flags. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26889

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread quanah at stanford dot edu
--- Comment #23 from quanah at stanford dot edu 2006-03-28 20:59 --- Created an attachment (id=11144) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11144&action=view) selected_int_kind.f90 selected_int_kind.f90 (it is just what is shipped with the gcc-4.0.3 source...) -- http

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread quanah at stanford dot edu
--- Comment #22 from quanah at stanford dot edu 2006-03-28 20:56 --- I can look at only building GMP static, rather than static & shared. I have a build of 4.1 happening on Solaris 9 at the moment after fixing the ksh issue. --Quanah -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread ebotcazou at gcc dot gnu dot org
--- Comment #21 from ebotcazou at gcc dot gnu dot org 2006-03-28 20:41 --- > /afs/ir.stanford.edu/src/pubsw/languages/gcc-build/sun4x_58/gcc/gfortran > -B/afs/ir.stanford.edu/src/pubsw/languages/gcc-build/sun4x_58/gcc/ > -B/usr/pubsw/sparc-sun-solaris2.8/bin/ -B/usr/pubsw/sparc-sun-sola

[Bug fortran/26889] libfortran build fails

2006-03-28 Thread ebotcazou at gcc dot gnu dot org
--- Comment #20 from ebotcazou at gcc dot gnu dot org 2006-03-28 20:31 --- > Unsuprisingly,the build still fails after changing it to use "make boostrap" > in the same exact way: Maybe "unsurprisingly", but this eliminates a whole category of problems. Could you remove --with-libintl-

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

2006-03-28 Thread kargl 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 sc

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

2006-03-28 Thread quanah at stanford dot edu
--- Comment #18 from quanah at stanford dot edu 2006-03-28 19:23 --- Unsuprisingly,the build still fails after changing it to use "make boostrap" in the same exact way: /afs/ir.stanford.edu/src/pubsw/languages/gcc-build/sun4x_58/gcc/gfortran -B/afs/ir.stanford.edu/src/pubsw/languages/gc

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #17 from ebotcazou at gcc dot gnu dot org 2006-03-28 07:46 --- > "make" worked fine with gcc-3.4.x, gcc-3.3.x, gcc-2.9x etc. Yes, but it's wrong up to (and including) 4.1.x. We only guarantee that the compiler correctly compiles itself ("bootstraps"), not that it is correc

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #16 from quanah at stanford dot edu 2006-03-28 07:33 --- I will try "make bootstrap", but I note: "make" worked fine with gcc-3.4.x, gcc-3.3.x, gcc-2.9x etc. And for i386 and amd64 it worked just fine, too, for gcc 4.0.3 with these same versions of GMP and MPFR to build for

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #15 from ebotcazou at gcc dot gnu dot org 2006-03-28 07:28 --- > For building GCC, I execute: > > cd ../gcc-build/@sys && make CFLAGS='-O' \ > LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' 2>&1 | tee > -a makeLOG Use 'make bootstrap' instead of 'make'

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #14 from quanah at stanford dot edu 2006-03-28 07:26 --- For building GCC, I execute: cd ../gcc-build/@sys && make CFLAGS='-O' \ LIBCFLAGS='-g -O2' LIBCXXFLAGS='-g -O2 -fno-implicit-templates' 2>&1 | tee -a makeLOG (@sys is an AFS thing, it translates to sun4x_58 or s

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #13 from ebotcazou at gcc dot gnu dot org 2006-03-28 07:24 --- And the command line for the compiler? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26889

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #12 from quanah at stanford dot edu 2006-03-28 07:21 --- For GMP (4.1.4 and 4.2, I've tried both versions): This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was g

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2006-03-28 06:33 --- > I rebuilt gmp with: > > --build=sparc-sun-solaris2.8 > > and then rebuilt MPFR, and then rebuilt gcc 4.0.3. On Solaris 8, it is still > dying, with: Please post the exact configure line and command line

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #10 from quanah at stanford dot edu 2006-03-28 01:59 --- I rebuilt gmp with: --build=sparc-sun-solaris2.8 and then rebuilt MPFR, and then rebuilt gcc 4.0.3. On Solaris 8, it is still dying, with: /afs/ir.stanford.edu/src/pubsw/languages/gcc-build/sun4x_58/gcc/gfortran

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2006-03-27 22:32 --- > I'll note that GMP was built with ABI=32 in my case. I'd recommend to configure it as specified in the instructions: http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2 And you also need to make sure

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #8 from quanah at stanford dot edu 2006-03-27 22:27 --- sorry, I meant 4.1.0, and you answered that well enough. ;) *how* do I build gmp/mpfr without TLS? I don't see any configure options that make sense for this... I'll note that GMP was built with ABI=32 in my case. --

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #7 from ebotcazou at gcc dot gnu dot org 2006-03-27 22:19 --- > I didn't build gcc 4.0.2 with Fortran support because I needed to build gcc to > build GMP and MPFR. ;) Of course. :-) I just rebuild 4.0.3 with 4.0.2 on SPARC/Solaris 8: gax% CC=gcc40 /home/eric/svn/gcc-4_0-

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #6 from quanah at stanford dot edu 2006-03-27 22:09 --- I don't see a way to disable "TLS" support in GMP or MPFR, but I'll keep poking. I didn't build gcc 4.0.2 with Fortran support because I needed to build gcc to build GMP and MPFR. ;) Building gcc 4.0.1 also fails for m

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #5 from ebotcazou at gcc dot gnu dot org 2006-03-27 21:00 --- > Disable TLS support in *which* library? GMP/MPFR. > There are no options in the configure for GMP or MPFR referring to TLS/SSL. Did you build gcc-4.0.2 with Fortran support? If so, could you try building 4.0

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #4 from quanah at stanford dot edu 2006-03-27 20:48 --- Disable TLS support in *which* library? GMP, MPFR, or libfortran? There are no options in the configure for GMP or MPFR referring to TLS/SSL. --Quanah -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26889

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

2006-03-27 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2006-03-27 20:15 --- Very likely a GMP/MFPR problem, try to disable TLS support in the library. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added -

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #2 from quanah at stanford dot edu 2006-03-27 19:23 --- On Solaris 8, the build fails also, except with the following error: /afs/ir.stanford.edu/src/pubsw/languages/gcc-build/sun4x_58/gcc/gfortran -B/afs/ir.stanford.edu/src/pubsw/languages/gcc-build/sun4x_58/gcc/ -B/usr/pub

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

2006-03-27 Thread quanah at stanford dot edu
--- Comment #1 from quanah at stanford dot edu 2006-03-27 17:23 --- change to fortran, instead of libfortran. -- quanah at stanford dot edu changed: What|Removed |Added