]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR boehm-gc/21940 (boehm-gc gctest fails on Solaris 10/x86)
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>
Mon, 2 Jul 2007 14:56:58 +0000 (14:56 +0000)
committerRainer Orth <ro@gcc.gnu.org>
Mon, 2 Jul 2007 14:56:58 +0000 (14:56 +0000)
commit28e2ff77f2e167471ebff7b8457f3b1f3a3f910e
treec070d60e2b0ce4ddf54fb60be91b6eb4e926d8f5
parenta3b7729c66c3defccbed94534a7af6cd85d70efa
re PR boehm-gc/21940 (boehm-gc gctest fails on Solaris 10/x86)

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.

From-SVN: r126211
12 files changed:
boehm-gc/ChangeLog
boehm-gc/Makefile.am
boehm-gc/Makefile.in
boehm-gc/configure
boehm-gc/configure.ac
boehm-gc/dyn_load.c
boehm-gc/include/gc_config_macros.h
boehm-gc/include/private/gcconfig.h
boehm-gc/include/private/solaris_threads.h [deleted file]
boehm-gc/pthread_support.c
boehm-gc/solaris_pthreads.c [deleted file]
boehm-gc/solaris_threads.c [deleted file]