From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19999 invoked by alias); 9 Jun 2010 17:39:46 -0000 Received: (qmail 19980 invoked by uid 48); 9 Jun 2010 17:39:46 -0000 Date: Wed, 09 Jun 2010 17:39:00 -0000 Message-ID: <20100609173946.19979.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug java/16858] Linking of jv-convert fails with redundant pthreads symbols In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: java-prs@gcc.gnu.org From: "jay dot krell at cornell dot edu" Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2010-q2/txt/msg00085.txt.bz2 ------- Comment #5 from jay dot krell at cornell dot edu 2010-06-09 17:39 ------- Exact same errors building gc (not gcc) using gcc 4.3.5 on OSF/1 5.1. I haven't tried building java/libjava. Will probably do that. Please reopen. make[2]: Entering directory `/home/jayk/obj/gc' gcc -DPACKAGE_NAME=\"gc\" -DPACKAGE_TARNAME=\"gc\" -DPACKAGE_VERSION=\"6.8\" -DPACKAGE_STRING=\"gc\ 6.8\" -DPACKAGE_BUGREPORT=\"Hans.Boehm@hp.com\" -DGC_VERSION_MAJOR=6 -DGC_VERSION_MINOR=8 -DPACKAGE=\"gc\" -DVERSION=\"6.8\" -DGC_OSF1_THREADS=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I. -I/home/jayk/src/gc6.8 -I/home/jayk/src/gc6.8/include -pthread -fexceptions -g -O2 -c /home/jayk/src/gc6.8/tests/test.c /bin/ksh ./libtool --mode=link gcc -fexceptions -g -O2 -o gctest test.o ./libgc.la -lpthread -lrt gcc -fexceptions -g -O2 -o .libs/gctest test.o ./.libs/libgc.so -lpthread -lrt -Wl,-rpath -Wl,/home/jayk/lib /usr/bin/ld: /home/jayk/lib/gcc/alphaev67-dec-osf5.1/4.3.5/libgcc.a(gthr-posix.o): pthread_key_create: multiply defined /home/jayk/lib/gcc/alphaev67-dec-osf5.1/4.3.5/libgcc.a(gthr-posix.o): __pthread_getspecific: multiply defined /home/jayk/lib/gcc/alphaev67-dec-osf5.1/4.3.5/libgcc.a(gthr-posix.o): __pthread_setspecific: multiply defined /home/jayk/lib/gcc/alphaev67-dec-osf5.1/4.3.5/libgcc.a(gthr-posix.o): __pthread_mutex_lock: multiply defined /home/jayk/lib/gcc/alphaev67-dec-osf5.1/4.3.5/libgcc.a(gthr-posix.o): __pthread_mutex_unlock: multiply defined /home/jayk/lib/gcc/alphaev67-dec-osf5.1/4.3.5/libgcc.a(gthr-posix.o): pthread_attr_destroy: multiply defined /home/jayk/lib/gcc/alphaev67-dec-osf5.1/4.3.5/libgcc.a(gthr-posix.o): pthread_attr_init: multiply defined collect2: ld returned 1 exit status make[2]: *** [gctest] Error 1 make[2]: Leaving directory `/home/jayk/obj/gc' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/jayk/obj/gc' make: *** [check-recursive] Error 1 bash-4.1$ gcc -v Using built-in specs. Target: alphaev67-dec-osf5.1 Configured with: /home/jayk/src/gcc-4.3.5/configure -disable-nls -with-gmp=/home/jayk -prefix=/home/jayk Thread model: posix gcc version 4.3.5 (GCC) -- jay dot krell at cornell dot edu changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jay dot krell at cornell dot | |edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16858