echo 'int foo1;' | gcc -shared -fpic -o /usr/lib/libfoo.so -xc - -xnone
-Wl,-soname,libfoo.so
echo 'int foo1; int foo2;' | gcc -shared -fpic -o libfoo.so -xc - -xnone
-Wl,-soname,libfoo.so
echo 'int foo (void) { extern int foo2; return foo2; }' | gcc -shared -fpic -o
libbar.so -xc - -xnone ./libfoo
--- Additional Comments From jakub at redhat dot com 2006-06-01 13:40
---
Oops, actually, swap the order of libfoo.so and libbar.so on the last command
line and then it is a regression from older binutils (e.g. 2.16.91.0.6
20060212).
echo 'int foo1;' | gcc -shared -fpic -o /usr/lib/lib
--- Additional Comments From jakub at redhat dot com 2006-06-01 15:34
---
http://sources.redhat.com/ml/binutils/2006-06/msg9.html
--
http://sourceware.org/bugzilla/show_bug.cgi?id=2721
--- You are receiving this mail because: ---
You are on the CC list for the bug, or ar
On Thu, Jun 01, 2006 at 10:31:33AM +0930, Alan Modra wrote:
> On Wed, May 31, 2006 at 02:45:55PM -0500, Glen W. Mabey wrote:
> > I am using binutils version 2.16.1cvs20060413-1 from debian sarge, and
>
> Hmm, I wonder what debian have done to binutils? You probably should
> report this problem to
This patch
http://sourceware.org/ml/binutils/2006-05/msg00458.html
removes unused section symbols from symbol table. Shouldn't ld try not to put
them in symbol table in the first place?
--
Summary: ld puts unused section symbols in symbol table
Product: binutils
--- Additional Comments From hjl at lucon dot org 2006-06-01 16:51 ---
Created an attachment (id=1061)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1061&action=view)
A testcase
I got
[EMAIL PROTECTED] symtab-1]$ make
as -o foo.o foo.s
./ld -o foo foo.o
./objcopy foo bar
read
When binutils is configured with --target=i386-aesec-coff
--enabled-target=i386-elf (or i586-linux or variations thereon), and
you run "gas/as-new -v"
you get the version string, followed by a segmentation fault
Configuration command:
../binutils-2.16.1/configure --target=i386-coff --enable-targe
--- Additional Comments From hjl at lucon dot org 2006-06-01 19:25 ---
It is fixed now.
--
What|Removed |Added
Status|NEW |RESOLVED
--- Additional Comments From amodra at bigpond dot net dot au 2006-06-02
00:39 ---
http://sources.redhat.com/ml/binutils-cvs/2006-06/msg9.html
--
What|Removed |Added
--- Additional Comments From amodra at bigpond dot net dot au 2006-06-02
00:43 ---
Fixed on mainline 2006-05-03
--
What|Removed |Added
Status|NEW
10 matches
Mail list logo