This is the mail archive of the gcc@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]

Re: 3.0: libffi -vs- Solaris `as'


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)


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