Hi,

I have installed binutils-2.16.

Things work better in the sense that I get much farther into building the Java libraries. I still hit a problem:

[...]
ar rc .libs/libgcj0_convenience.a [... around 100.000 characters ...]
internal error: error_message(58)
[...]

Is this a known issue?

I've worked around this by changing all occurrences of AR="ar" in sparc-sun-solaris2.8/libjava/libtool to AR="/usr/local/binutils/bin/ar".
Using GNU's ar fixes the problem indeed.


I have another problem later on, again in sparc-sun-solaris2.8/libjava:

/tmp/GCC/gcc/xgcc -shared-libgcc [...] -o .libs/libgcj.so.6.0.0
collect2: ld terminated with signal 11 [Segmentation Fault]

Any clue? Has anyone attempted to use GNU binutils 2.16 to build gcc on Solaris?

In any case it looks like gcc cannot be built on Solaris using standard GNU binutils releases.

--
Dimitri Papadopoulos

Reply via email to