This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

binutils 2.29.1 segfaults when compiling cifs-utils with "-pie" on Gentoo Linux (sparc)


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: signature.asc
Description: This is a digitally signed message part.


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