This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug java/16858] New: Linking of jv-convert fails with redundant pthreads symbols
- From: "skunk at iskunk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Aug 2004 22:00:30 -0000
- Subject: [Bug java/16858] New: Linking of jv-convert fails with redundant pthreads symbols
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Bootstrapping GCC 3.4.1 on a Tru64 box (with a manual workaround to Bug 16300).
Everything hums along fine until this point:
----BEGIN BUILD LOG EXCERPT----
gmake[3]: Entering directory `/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava'
/bin/sh ./libtool --tag=GCJ --mode=link /mnt/scratch/gcc-3.4.1/gcc/gcj
-B/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava/
-B/mnt/scratch/gcc-3.4.1/gcc/
-L/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava -mieee -g -O2 -o
jv-convert --main=gnu.gcj.convert.Convert -rpath /mnt/freeport/arch/tru64/lib
-shared-libgcc -L/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava/.libs
libgcj.la
/mnt/scratch/gcc-3.4.1/gcc/gcj
-B/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava/
-B/mnt/scratch/gcc-3.4.1/gcc/ -mieee -g -O2 -o jv-convert
--main=gnu.gcj.convert.Convert -shared-libgcc
-L/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava
-L/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava/.libs ./.libs/libgcj.a
-L/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libstdc++-v3/src
-L/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libstdc++-v3/src/.libs -lpthread
-lrt -L/mnt/scratch/gcc-3.4.1/gcc -L/usr/lib/cmplrs/cc
-L/mnt/freeport/arch/tru64/lib -lgcc -lc -lgcc -Wl,-rpath
-Wl,/mnt/freeport/arch/tru64/lib
/usr/bin/ld:
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): pthread_key_create: multiply
defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_getspecific:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_setspecific:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_mutex_lock:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_mutex_unlock:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_create: multiply
defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_cond_destroy:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_cond_init: multiply
defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_cond_signal:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_cond_wait: multiply
defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_mutex_init:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_mutex_destroy:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): __pthread_self: multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): pthread_attr_destroy:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): pthread_attr_init: multiply
defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): pthread_attr_setdetachstate:
multiply defined
/mnt/scratch/gcc-3.4.1/gcc/libgcc.a(gthr-posix.o): pthread_setschedparam:
multiply defined
collect2: ld returned 1 exit status
gmake[3]: *** [jv-convert] Error 1
gmake[3]: Leaving directory `/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/mnt/scratch/gcc-3.4.1/alphaev56-dec-osf4.0g/libjava'
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory `/mnt/scratch/gcc-3.4.1'
gmake: *** [bootstrap-lean] Error 2
+ exit 1
----END BUILD LOG EXCERPT----
--
Summary: Linking of jv-convert fails with redundant pthreads
symbols
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: skunk at iskunk dot org
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: alphaev56-dec-osf4.0g
GCC host triplet: alphaev56-dec-osf4.0g
GCC target triplet: alphaev56-dec-osf4.0g
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16858