public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: papadopo@shfj.cea.fr
To: gcc-gnats@gcc.gnu.org
Subject: bootstrap/3472: 3.0 fails on sparc-sun-solaris2.7 (problems with either GNU ld or Sun ld)
Date: Fri, 29 Jun 2001 01:26:00 -0000	[thread overview]
Message-ID: <20010629081909.17806.qmail@sourceware.cygnus.com> (raw)

>Number:         3472
>Category:       bootstrap
>Synopsis:       3.0 fails on sparc-sun-solaris2.7 (problems with either GNU ld or Sun ld)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 01:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dimitri Papadopoulos
>Release:        3.0
>Organization:
>Environment:
Solaris 2.7 on SPARC, gcc version 2.95.3, GNU ld version 2.10.1
Solaris 2.7 on SPARC, gcc version 2.95.3, Sun ld version 4.0
>Description:
I've tried to 'make bootstrap' GCC 3.0 with both Sun ld and GNU ld.

With GNU ld I get the usual 'libgcc.map: file format not recognized' error already reported here:
	http://gcc.gnu.org/ml/gcc-bugs/2001-06/msg01030.html
Unfortunately there was no reply to this bug report. Is there any known workaround?

Then I tried with Sun ld. I get an error when linking libgcj.so.2.0.0:
/tmp/gcc-3.0/gcc/xgcc -B/tmp/gcc-3.0/gcc/ -B/usr/local/gcc-3.0/sparc-sun-solaris2.7/bin/ -B/usr/local/gcc-3.0/sparc-sun-solaris2.7/lib/ -isystem /usr/local/gcc-3.0/sparc-sun-solaris2.7/include -shared -Wl,-h -Wl,libgcj.so.2 -o .libs/libgcj.so.2.0.0 [...] -z allextract ../libffi/.libs/libfficonvenience.a ./libltdl/.libs/libltdlc.a -z defaultextract  -L/tmp/gcc-3.0/sparc-sun-solaris2.7/libjava ../libffi/.libs/libfficonvenience.a -lpthread -lrt ./libltdl/.libs/libltdlc.a -ldl   -lc
collect2: ld returned 1 exit status
gmake[3]: *** [libgcj.la] Error 1
gmake[3]: Leaving directory `/tmp/gcc-3.0/sparc-sun-solaris2.7/libjava'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/tmp/gcc-3.0/sparc-sun-solaris2.7/libjava'
gmake[1]: *** [all-target-libjava] Error 2
gmake[1]: Leaving directory `/tmp/gcc-3.0'
gmake: *** [bootstrap] Error 2

Maybe the very long list of object files linked into libgcj.so results in too long a command line for Solaris?
Any workaround? I don't need the java compiler right now.
>How-To-Repeat:

>Fix:

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


             reply	other threads:[~2001-06-29  1:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-29  1:26 papadopo [this message]
2001-06-29 20:09 aoliva
2001-07-02  1:16 Dimitri Papadopoulos

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=20010629081909.17806.qmail@sourceware.cygnus.com \
    --to=papadopo@shfj.cea.fr \
    --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).