bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/7023] ld is unable to link 32 bit libffi.so on gcc mainline: Mem


From: ro at TechFak dot Uni-Bielefeld dot DE
Subject: [Bug ld/7023] ld is unable to link 32 bit libffi.so on gcc mainline: Memory exhausted
Date: 13 Nov 2008 14:51:42 -0000

------- Additional Comments From ro at TechFak dot Uni-Bielefeld dot DE  
2008-11-13 14:51 -------
Subject: Re:  ld is unable to link 32 bit libffi.so on gcc mainline: Memory 
exhausted

amodra at bigpond dot net dot au writes:

> http://sourceware.org/ml/binutils-cvs/2008-11/msg00052.html
> http://sourceware.org/ml/binutils/2008-11/msg00123.html

I've checked the oldest version of Sun as available to me, and it behaves
just the same:

% uname -a
SunOS antipasto 5.8 Generic_117350-46 sun4u sparc
% touch v9.s
% as -V -Qy -s -K PIC -xarch=v8plus -o v9.o v9.s
as: Sun WorkShop 6 2003/12/18 Compiler Common 6.0 Patch 114802-02
% readelf -S v9.o
There are 5 section headers, starting at offset 0x9c:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .shstrtab         STRTAB          00000000 000034 000024 00      0   0  1
  [ 2] .symtab           SYMTAB          00000000 000058 000000 10   A  3   1  1
  [ 3] .strtab           STRTAB          00000000 000058 000000 00   A  0   0  1
  [ 4] .comment          PROGBITS        00000000 000058 000044 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

The gld problem exists at least as far back as binutils 2.15:

% /usr/sfw/bin/gld -V -G -dy -z text -o v9.so v9.o
GNU ld version 2.15
  Supported emulations:
   elf32_sparc
   elf64_sparc
v9.o: could not read symbols: Memory exhausted

It may be unusual to build gcc with Sun as and GNU ld, but it should work
nonetheless.

Btw., I've reported the Sun as problem here:

        
http://mail.opensolaris.org/pipermail/tools-compilers/2008-November/000436.html

but have not yet received a response.

        Rainer


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=7023

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]