public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* binutils 2.29.1 segfaults when compiling cifs-utils with "-pie" on Gentoo Linux (sparc)
@ 2017-12-11 14:28 Rolf Eike Beer
  2017-12-11 15:19 ` Nick Clifton
  0 siblings, 1 reply; 6+ messages in thread
From: Rolf Eike Beer @ 2017-12-11 14:28 UTC (permalink / raw)
  To: binutils

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]

The compiler is gcc 6.4.0. Switching to binutils 2.28.1 makes things work.

castor /var/tmp/portage/net-fs/cifs-utils-6.4/work/cifs-utils-6.4 #  sparc-
unknown-linux-gnu-gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -pie -Wl,-
z,relro,-z,now -O2 -mcpu=niagara2 -pipe  -Wl,-O1 -Wl,--as-needed -o 
cifs.upcall cifs.upcall.o data_blob.o asn1.o spnego.o -ltalloc -lkeyutils -
lkrb5
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
compilation terminated.
castor /var/tmp/portage/net-fs/cifs-utils-6.4/work/cifs-utils-6.4 #  sparc-
unknown-linux-gnu-gcc -Wall -Wextra -D_FORTIFY_SOURCE=2 -fpie -Wl,-z,relro,-
z,now -O2 -mcpu=niagara2 -pipe  -Wl,-O1 -Wl,--as-needed -o cifs.upcall 
cifs.upcall.o data_blob.o asn1.o spnego.o -ltalloc -lkeyutils -lkrb5
castor /var/tmp/portage/net-fs/cifs-utils-6.4/work/cifs-utils-6.4 #

(gdb) bt
#0  0xf7d8d4e4 in free () from /lib/libc.so.6
#1  0xf7f89f3c in objalloc_free () from /usr/lib/binutils/sparc-unknown-linux-
gnu/2.29.1/libbfd-2.29.1.so
#2  0xf7f00ea4 in ?? () from /usr/lib/binutils/sparc-unknown-linux-gnu/2.29.1/
libbfd-2.29.1.so

-- 
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Bertha-von-Suttner-Str. 9, 37085 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix – smart embedded open source

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 313 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-12 10:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-11 14:28 binutils 2.29.1 segfaults when compiling cifs-utils with "-pie" on Gentoo Linux (sparc) Rolf Eike Beer
2017-12-11 15:19 ` Nick Clifton
2017-12-11 15:40   ` Rolf Eike Beer
2017-12-12  1:04     ` Alan Modra
2017-12-12  7:56       ` Rolf Eike Beer
2017-12-12 10:49   ` Rolf Eike Beer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).