public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: gregd@broadcom.com
To: gcc-gnats@gcc.gnu.org
Subject: libgcj/7608: libgcj build fails
Date: Fri, 16 Aug 2002 01:36:00 -0000	[thread overview]
Message-ID: <20020816011402.2405.qmail@sources.redhat.com> (raw)


>Number:         7608
>Category:       libgcj
>Synopsis:       libgcj build fails
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 15 18:16:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     GregD
>Release:        3.2
>Organization:
>Environment:
SunOS 5.8 Generic_108528-13 sun4u sparc SUNW,Sun-Blade-1000
>Description:
% gcc -v
Reading specs from /tools/gcc/3.1.1/sun4u-5.8/lib/gcc-lib/sparc-sun-solaris2.8/3.1.1/specs
Configured with: ../gcc-3.1.1/configure --prefix=/tools/gcc/3.1.1/sun4u-5.8 --srcdir=../gcc-3.1.1 --with-gnu-as --
with-as=/tools/gcc/3.1.1/sun4u-5.8/bin/as --with-gnu-ld --with-ld=/tools/gcc/3.1.1/sun4u-5.8/bin/ld --disable-shar
ed --disable-libgcj
Thread model: posix
gcc version 3.1.1

% ld --version
GNU ld 2.9.1

% as --version
GNU assembler 2.9.1

% make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for sparc-sun-solaris2.8

% setenv GCC_B_VER 3.2
% ../gcc-${GCC_B_VER}/configure \
? --prefix=/tools/gcc/${GCC_B_VER}/`uname -m`-`uname -r` \
? --srcdir=../gcc-${GCC_B_VER} --with-gnu-as \
? --with-as=/tools/gcc/${GCC_B_VER}/`uname -m`-`uname -r`/bin/as \
? --with-gnu-ld \
? --with-ld=/tools/gcc/${GCC_B_VER}/`uname -m`-`uname -r`/bin/ld \
? --disable-shared
% make

...everything fine untile here...

creating libgcj.la
(cd .libs && rm -f libgcj.la && ln -s ../libgcj.la libgcj.la)
/bin/sh ./libtool --tag=GCJ --mode=link /tools/src/gcc/gcc-3.2-sun4u-5.8/gcc/gcj -B/tools/src/gc
c/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libjava/ -B/tools/src/gcc/gcc-3.2-sun4u-5.8/gcc
/ -L/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libjava -g -O2  -m64 -m64 -o j
v-convert --main=gnu.gcj.convert.Convert -rpath /tools/gcc/3.2/sun4u-5.8/lib/sparcv9 -shared-lib
gcc   -L/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libjava/.libs libgcj.la 
/tools/src/gcc/gcc-3.2-sun4u-5.8/gcc/gcj -B/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8
/sparcv9/libjava/ -B/tools/src/gcc/gcc-3.2-sun4u-5.8/gcc/ -g -O2 -m64 -m64 -o jv-convert --main=
gnu.gcj.convert.Convert -shared-libgcc  -L/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/
sparcv9/libjava -L/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libjava/.libs ./
.libs/libgcj.a -L/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src 
-L/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src/.libs -lpthread
 -lrt -ldl -L/tools/src/gcc/gcc-3.2-sun4u-5.8/gcc/sparcv9 -L/tools/src/gcc/gcc-3.2-sun4u-5.8/gcc
 -L/tools/gcc/3.2/sun4u-5.8/sparc-sun-solaris2.8/bin -L/tools/gcc/3.2/sun4u-5.8/sparc-sun-solari
s2.8/lib -L/usr/ccs/bin/sparcv9 -L/usr/ccs/bin -L/usr/ccs/lib/sparcv9 -L/usr/ccs/lib -L/lib/spar
cv9 -L/usr/lib/sparcv9 -lgcc -lgcc -Wl,--rpath -Wl,/tools/gcc/3.2/sun4u-5.8/lib/sparcv9
./.libs/libgcj.a(jni.o):itimerspec/../../../../gcc-3.2/libjava/jni.cc:2166: relocation truncated
 to fit: R_SPARC_DISP32 .gnu.linkonce.t._Z34_Jv_GetArrayElementFromElementTypePN4java4lang6Objec
tEPNS0_5ClassE
./.libs/libgcj.a(natObject.o):itimerspec/include/java-threads.h:131: relocation truncated to fit
: R_SPARC_DISP32 .gnu.linkonce.t._Z34_Jv_GetArrayElementFromElementTypePN4java4lang6ObjectEPNS0_
5ClassE
./.libs/libgcj.a(natSystem.o):itimerspec/../../../../gcc-3.2/libjava/java/lang/natSystem.cc:107:
 relocation truncated to fit: R_SPARC_DISP32 .gnu.linkonce.t._Z34_Jv_GetArrayElementFromElementT
ypePN4java4lang6ObjectEPNS0_5ClassE
collect2: ld returned 1 exit status
make[4]: *** [jv-convert] Error 1
make[4]: Leaving directory `/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libjav
a'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/sparcv9/libjav
a'
make[2]: *** [multi-do] Error 1
make[2]: Leaving directory `/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/libjava'
make[1]: *** [all-multi] Error 2
make[1]: Leaving directory `/tools/src/gcc/gcc-3.2-sun4u-5.8/sparc-sun-solaris2.8/libjava'
make: *** [all-target-libjava] Error 2


>How-To-Repeat:
Same error everytime try to compile libgcj...  could not find a solution after google searches (but not extensive)
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


                 reply	other threads:[~2002-08-16  1:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20020816011402.2405.qmail@sources.redhat.com \
    --to=gregd@broadcom.com \
    --cc=gcc-gnats@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).