public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "jay dot krell at cornell dot edu" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/16858] Linking of jv-convert fails with redundant pthreads symbols
Date: Wed, 09 Jun 2010 17:39:00 -0000	[thread overview]
Message-ID: <20100609173946.19979.qmail@sourceware.org> (raw)
In-Reply-To: <bug-16858-8784@http.gcc.gnu.org/bugzilla/>



------- 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


  parent reply	other threads:[~2010-06-09 17:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-16858-8784@http.gcc.gnu.org/bugzilla/>
2007-01-30 20:21 ` tromey at gcc dot gnu dot org
2007-02-02 19:00 ` skunk at iskunk dot org
2007-12-02 21:20 ` pinskia at gcc dot gnu dot org
2008-01-25 20:36 ` rguenth at gcc dot gnu dot org
2010-06-09 17:39 ` jay dot krell at cornell dot edu [this message]
2004-08-02 22:00 [Bug java/16858] New: " skunk at iskunk dot org
2004-08-02 22:07 ` [Bug java/16858] " pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100609173946.19979.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).