bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/17306] ld aborts when linking with --just-symbols


From: famcool at gmail dot com
Subject: [Bug ld/17306] ld aborts when linking with --just-symbols
Date: Tue, 26 Aug 2014 02:46:59 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=17306

--- Comment #2 from Fam Zheng <famcool at gmail dot com> ---
Created attachment 7758
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7758&action=edit
Reproducer

I linked all the normal .o files from comment 0 to qemu-img-partial.o with "ld
-r", and put it into the archive.

Now if I link it with --just-symbols, ld aborts:

"ld -o qemu-img qemu-img-partial.o --just-symbols=iscsi.o libqemuutil.a
libqemustub.a $LDFLAGS"

See link.sh in the archive for the necessary libs in $LDFLAGS.

iscsi.o libqemuutil.a libqemustub.a are all included in the archived too, so
you can test this command line.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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