diff options
author | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-02 14:56:58 +0000 |
---|---|---|
committer | ro <ro@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-07-02 14:56:58 +0000 |
commit | 9bf5723dce955cb1210af9541787d03d9433cfd3 (patch) | |
tree | c070d60e2b0ce4ddf54fb60be91b6eb4e926d8f5 /boehm-gc/configure | |
parent | 35ab36626c11fcbbcaee742f279cde163d681ae3 (diff) | |
download | gcc-9bf5723dce955cb1210af9541787d03d9433cfd3.tar.gz |
PR boehm-gc/21940
PR boehm-gc/21942
* configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
Use alternate thread library in /usr/lib/lwp.
* configure: Regenerate.
* dyn_load.c: Use GC_SOLARIS_PTHREADS.
* include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
* include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
(GC_SOLARIS_THREADS): Don't define.
* include/private/solaris_threads.h: Remove.
* pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
GC_nprocs via sysconf().
* Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
solaris_threads.c.
(gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
* Makefile.in: Regenerate.
* solaris_pthreads.c: Remove.
* solaris_threads.c: Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126211 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc/configure')
-rwxr-xr-x | boehm-gc/configure | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/boehm-gc/configure b/boehm-gc/configure index d03eb8e738e..d499f40a6c2 100755 --- a/boehm-gc/configure +++ b/boehm-gc/configure @@ -14314,14 +14314,14 @@ _ACEOF *-*-solaris*) cat >>confdefs.h <<\_ACEOF -#define GC_SOLARIS_THREADS 1 -_ACEOF - - -cat >>confdefs.h <<\_ACEOF #define GC_SOLARIS_PTHREADS 1 _ACEOF + # Need to use alternate thread library, otherwise gctest hangs + # on Solaris 8. + multi_os_directory=`$CC -print-multi-os-directory` + THREADLIBS="-L/usr/lib/lwp/$multi_os_directory \ + -R/usr/lib/lwp/$multi_os_directory -lpthread -lthread -lrt" ;; *-*-irix*) |