This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
libjava build still fails on sparc-sun-solaris2.9
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: Gabriel Dos Reis <gdr at integrable-solutions dot net>, gcc at gcc dot gnu dot org,java at gcc dot gnu dot org, Joe Buck <jbuck at synopsys dot com>,Eric Botcazou <ebotcazou at libertysurf dot fr>, "H. J. Lu" <hjl at lucon dot org>
- Date: Fri, 25 Apr 2003 16:07:42 +0200 (CEST)
- Subject: libjava build still fails on sparc-sun-solaris2.9
- References: <20030417091616.A11341@synopsys.com> <20030417102820.A12714@lucon.org><20030417144017.A1398@synopsys.com> <200304181447.51672.ebotcazou@libertysurf.fr><Pine.BSF.4.53.0304202318170.83909@acrux.dbai.tuwien.ac.at><m34r4sm19q.fsf@uniton.integrable-solutions.net> <oradehax51.fsf@localhost.localdomain>
Alexandre, thanks for the quick response!
Unfortunately, we missed GCC 3.2.3, but I did some testing, and the
problem also occurs on the 3.3 branch, and there it's not too late.
On Wed, 23 Apr 2003, Alexandre Oliva wrote:
>> | I first reported a variant of this problem in
>> | http://gcc.gnu.org/ml/gcc/2002-06/threads.html#00284
>> | but didn't notice it on the 3.2 branch until now, because I had Java
>> | disabled on the slow Solaris boxes. :-(
> The one thing that is getting me confused is the long list of object
> files in the link command. libtool could use -z allextract instead of
> extracting the object files itself. Currently, for some reason,
> libtool would use it when using Sun CC, or gcc as a C or Java linker,
> but not when using gcc as a C++ linker (I haven't investigated why it
> thinks we're doing C++ instead of Java).
>
> Gerald, could you please test whether this patch fixes the problem?
Unfortunately, it does not seem to make a difference on
sparc-sun-solaris2.9.
I put up the build log at <http://www.pfeifer.com/gerald/tmp/buildlog.gz>
and if you check that, even _with_ your patch, we have that long command-
line.
Gerald
PS: If it appears useful to you, I probably can arrange a guest account
for you on that machine.