public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug boehm-gc/37017]  New: [4.2 regression] Using --enable-threads=solaris breaks near end of build in boehm-gc configury
@ 2008-08-03 23:01 rob1weld at aol dot com
  2008-08-03 23:09 ` [Bug boehm-gc/37017] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: rob1weld at aol dot com @ 2008-08-03 23:01 UTC (permalink / raw)
  To: gcc-bugs

When configuring with --enable-threads=solaris the build runs for hours and
then breaks after the libgfortran finished when configuring boehm-gc . 

It would be nice if the main configure script caught this instead of the build
failing just as it was about to finish.

I am building gcc-4.2.3 release from:
ftp://ftp.gnu.org/gnu/gcc/gcc-4.2.3/gcc-4.2.3.tar.bz2


A similar complaint is made here:

Fortran and objc Hans Boehm GC build issues -- sparcv9 libs
http://gcc.gnu.org/ml/gcc-help/2006-09/msg00108.html


A claim that configuring with --enable-threads=solaris  was fixed is made here:

[4.1/4.2 regression] libstdc++ cannot be build with Solaris threads
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28247


If you are going to build this you need to fixup the Makefiles to get
"--with-gmp=/opt/gnu/gmp-4.2.2 --with-mpfr=/opt/gnu/mpfr-2.3.1" to work, yet
"--with-libiconv-prefix=/opt/csw" works fine.


# gcc/xgcc -v
Using built-in specs.
Target: i386-pc-solaris2.11
Configured with: /aux0/gcc-4.2.3/configure --build=i386-pc-solaris2.11
--prefix=/opt/gnu/gcc --with-docdir=/opt/gnu/gcc/share/doc
--with-htmldir=/opt/gnu/gcc/share/html --with-local-prefix=/opt/gnu
--with-gxx-include-dir=/opt/gnu/gcc/include/c++/4.2.3 --with-as=/opt/gnu/bin/as
--with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld
--with-gmp=/opt/gnu/gmp-4.2.2 --with-mpfr=/opt/gnu/mpfr-2.3.1
--with-libiconv-prefix=/opt/csw --enable-shared --disable-static
--enable-threads=solaris --enable-parallel-mark --enable-libada
--enable-libgcj-debug --enable-libgcj-multifile
--enable-gather-detailed-mem-stats --enable-libssp --disable-libmudflap
--enable-libgomp --enable-libstdcxx-debug --enable-local-sockets
--enable-multilib --enable-nls --enable-objc-gc --enable-portable-native-sync
--enable-tool-wrappers --enable-version-specific-runtime-libs --verbose
--with-dwarf2 --with-stabs --with-tls --enable-decimal-float --with-x
--x-includes=/usr/include/X11 --x-libraries=/usr/X11/lib --enable-gtk-cairo
--enable-qt-peer --enable-gconf-peer --enable-gc-debug
--enable-default-toolkit=xlib --enable-java-awt=gtk,xlib,qt,x
--enable-stage1-checking=release
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ : (reconfigured)
/aux0/gcc-4.2.3/configure --build=i386-pc-solaris2.11 --prefix=/opt/gnu/gcc
--with-docdir=/opt/gnu/gcc/share/doc --with-htmldir=/opt/gnu/gcc/share/html
--with-local-prefix=/opt/gnu
--with-gxx-include-dir=/opt/gnu/gcc/include/c++/4.2.3 --with-as=/opt/gnu/bin/as
--with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld
--with-gmp=/opt/gnu/gmp-4.2.2 --with-mpfr=/opt/gnu/mpfr-2.3.1
--with-libiconv-prefix=/opt/csw --enable-shared --disable-static
--enable-threads=solaris --enable-parallel-mark --enable-libada
--enable-libgcj-debug --enable-libgcj-multifile
--enable-gather-detailed-mem-stats --enable-libssp --disable-libmudflap
--enable-libgomp --enable-libstdcxx-debug --enable-local-sockets
--enable-multilib --enable-nls --enable-objc-gc --enable-portable-native-sync
--enable-tool-wrappers --enable-version-specific-runtime-libs --verbose
--with-dwarf2 --with-stabs --with-tls --enable-decimal-float --with-x
--x-includes=/usr/include/X11 --x-libraries=/usr/X11/lib --enable-gtk-cairo
--enable-qt-peer --enable-gconf-peer --enable-gc-debug
--enable-default-toolkit=xlib --enable-java-awt=gtk,xlib,qt,x
--enable-stage1-checking=release
--enable-languages=c,ada,c++,fortran,java,objc,obj-c++ : (reconfigured) 
Thread model: solaris
gcc version 4.2.3


Partial build backscroll:

(cd .libs && rm -f libgfortran.so.2 && ln -s libgfortran.so.2.0.0
libgfortran.so.2)
(cd .libs && rm -f libgfortran.so && ln -s libgfortran.so.2.0.0 libgfortran.so)
creating libgfortran.la
(cd .libs && rm -f libgfortran.la && ln -s ../libgfortran.la libgfortran.la)
true  DO=all multi-do # gmake
gmake[6]: Leaving directory
`/aux0/gcc-4.2.3_build/i386-pc-solaris2.11/amd64/libgfortran'
gmake[5]: Leaving directory
`/aux0/gcc-4.2.3_build/i386-pc-solaris2.11/amd64/libgfortran'
gmake[4]: Leaving directory
`/aux0/gcc-4.2.3_build/i386-pc-solaris2.11/libgfortran'
gmake[3]: Leaving directory
`/aux0/gcc-4.2.3_build/i386-pc-solaris2.11/libgfortran'
gmake[2]: Leaving directory
`/aux0/gcc-4.2.3_build/i386-pc-solaris2.11/libgfortran'
Checking multilib configuration for boehm-gc...
mkdir i386-pc-solaris2.11/boehm-gc
Configuring in i386-pc-solaris2.11/boehm-gc
configure: creating cache ./config.cache
checking build system type... i386-pc-solaris2.11
...
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
appending configuration tag "CXX" to libtool
checking for thread model used by GCC... solaris
configure: error: thread package solaris not yet supported
gmake[1]: *** [configure-target-boehm-gc] Error 1
gmake[1]: Leaving directory `/aux0/gcc-4.2.3_build'
gmake: *** [all] Error 2


-- 
           Summary: [4.2 regression] Using --enable-threads=solaris breaks
                    near end of build in boehm-gc configury
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: boehm-gc
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i386-pc-solaris2.11
  GCC host triplet: i386-pc-solaris2.11
GCC target triplet: i386-pc-solaris2.11


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37017


^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <bug-37017-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2011-03-28 19:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-03 23:01 [Bug boehm-gc/37017] New: [4.2 regression] Using --enable-threads=solaris breaks near end of build in boehm-gc configury rob1weld at aol dot com
2008-08-03 23:09 ` [Bug boehm-gc/37017] " pinskia at gcc dot gnu dot org
2008-08-04  1:29 ` rob1weld at aol dot com
2008-08-04 18:45 ` rob1weld at aol dot com
2008-08-10 20:02 ` pinskia at gcc dot gnu dot org
2009-01-20  4:05 ` rob1weld at aol dot com
2010-04-28 20:40 ` ro at gcc dot gnu dot org
2010-05-04  7:00 ` rob1weld at aol dot com
2010-05-06 19:18 ` ro at CeBiTec dot Uni-Bielefeld dot DE
     [not found] <bug-37017-4@http.gcc.gnu.org/bugzilla/>
2011-03-28 20:18 ` ro at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).