This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: 3.0: libffi -vs- Solaris `as'
- To: gcc at gcc dot gnu dot org
- Subject: Re: 3.0: libffi -vs- Solaris `as'
- From: Albert Chin-A-Young <china at thewrittenword dot com>
- Date: Tue, 12 Jun 2001 14:40:56 -0500
- References: <87ae3dshhl.fsf@creche.redhat.com>
- Reply-To: gcc at gcc dot gnu dot org
On Tue, Jun 12, 2001 at 12:03:34PM -0600, Tom Tromey wrote:
> I tried building gcc from the 3.0 branch using the Solaris 2.6 `as'.
> I got this in libffi:
>
> ar cru .libs/libfficonvenience.a src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/sparc/.libs/ffi.o src/sparc/.libs/v8.o src/sparc/.libs/v9.o
> ar: src/sparc/.libs/v9.o has no data in string table - size is 0
>
> Then later:
>
> /horton/tromey/in-tree/gcc/gcc/xgcc -B/horton/tromey/in-tree/gcc/gcc/ -B/horton/tromey/in-tree/solaris/sparc-sun-solaris2.6/bin/ -B/horton/tromey/in-tree/solaris/sparc-sun-solaris2.6/lib/ -isystem /horton/tromey/in-tree/solaris/sparc-sun-solaris2.6/include -shared src/.libs/debug.o src/.libs/prep_cif.o src/.libs/types.o src/.libs/raw_api.o src/.libs/java_raw_api.o src/sparc/.libs/ffi.o src/sparc/.libs/v8.o src/sparc/.libs/v9.o -lc -Wl,-soname -Wl,libffi-2.00-beta.so -o .libs/libffi-2.00-beta.so
> src/sparc/.libs/v9.o: could not read symbols: Memory exhausted
> collect2: ld returned 1 exit status
>
>
> I have no idea if this is a libffi problem, an ld problem, an as
> problem, or what.
>
> I'm using Solaris as, but GNU ld. I've appended my top-level
> config.status.
Why is your configuration set up this way? What happens with Solaris 7
and 8/SPARC? Do you get the same error? We typically build GCC for
Solaris 2.6 with GNU as and Solaris ld. For Solaris 7 and 8, we use
Solaris as and ld.
--
albert chin (china@thewrittenword.com)