This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

bootstrap/3472: 3.0 fails on sparc-sun-solaris2.7 (problems with either GNU ld or Sun ld)



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]