public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "skunk at iskunk dot org" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/16858] New: Linking of jv-convert fails with redundant pthreads symbols
Date: Mon, 02 Aug 2004 22:00:00 -0000	[thread overview]
Message-ID: <20040802220028.16858.skunk@iskunk.org> (raw)

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


             reply	other threads:[~2004-08-02 22:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-02 22:00 skunk at iskunk dot org [this message]
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=20040802220028.16858.skunk@iskunk.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).