diff options
author | Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> | 2007-07-02 14:56:58 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2007-07-02 14:56:58 +0000 |
commit | 28e2ff77f2e167471ebff7b8457f3b1f3a3f910e (patch) | |
tree | c070d60e2b0ce4ddf54fb60be91b6eb4e926d8f5 /boehm-gc/Makefile.am | |
parent | a3b7729c66c3defccbed94534a7af6cd85d70efa (diff) | |
download | gcc-28e2ff77f2e167471ebff7b8457f3b1f3a3f910e.zip gcc-28e2ff77f2e167471ebff7b8457f3b1f3a3f910e.tar.gz gcc-28e2ff77f2e167471ebff7b8457f3b1f3a3f910e.tar.bz2 |
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
Diffstat (limited to 'boehm-gc/Makefile.am')
-rw-r--r-- | boehm-gc/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boehm-gc/Makefile.am b/boehm-gc/Makefile.am index 57b0bcf..567d597 100644 --- a/boehm-gc/Makefile.am +++ b/boehm-gc/Makefile.am @@ -21,7 +21,7 @@ libgcjgc_la_SOURCES = allchblk.c alloc.c blacklst.c checksums.c dbg_mlc.c \ dyn_load.c finalize.c gc_dlopen.c gcj_mlc.c headers.c \ malloc.c mallocx.c mark.c mark_rts.c misc.c new_hblk.c \ obj_map.c os_dep.c pcr_interface.c ptr_chck.c real_malloc.c reclaim.c \ -solaris_pthreads.c solaris_threads.c specific.c stubborn.c typd_mlc.c \ +specific.c stubborn.c typd_mlc.c \ backgraph.c win32_threads.c \ pthread_support.c pthread_stop_world.c darwin_stop_world.c \ $(asm_libgcjgc_sources) @@ -49,7 +49,7 @@ AM_CFLAGS = @GC_CFLAGS@ check_PROGRAMS = gctest gctest_SOURCES = tests/test.c -gctest_LDADD = ./libgcjgc.la $(THREADDLLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS) +gctest_LDADD = ./libgcjgc.la $(THREADLIBS) $(UNWINDLIBS) $(EXTRA_TEST_LIBS) gctest_LDFLAGS = -shared-libgcc TESTS_ENVIRONMENT = LD_LIBRARY_PATH=../../$(MULTIBUILDTOP)gcc TESTS = gctest |