https://sourceware.org/bugzilla/show_bug.cgi?id=17117
Bug ID: 17117 Summary: assertion fail elf32-i386.c:4016 Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: amonakov at gmail dot com Created attachment 7680 --> https://sourceware.org/bugzilla/attachment.cgi?id=7680&action=edit repro input When trying to build pixman with -mtls-dialect=gnu2, ld produces assertion failure while gold appears to work. To reproduce with the attached file: ld -m elf_i386 -shared -o libpixman-1.so.0.32.4 pixman-implementation.o /tmp/binutils-build/ld/ld-new: BFD (GNU Binutils) 2.24.51.20140703 assertion fail ../../binutils-2.24.51/bfd/elf32-i386.c:4016 (gdb) list 4011 if (GOT_TLS_GDESC_P (tls_type)) 4012 { 4013 bfd_byte *loc; 4014 outrel.r_info = ELF32_R_INFO (indx, R_386_TLS_DESC); 4015 BFD_ASSERT (htab->sgotplt_jump_table_size + offplt + 8 4016 <= htab->elf.sgotplt->size); (gdb) p htab.sgotplt_jump_table_size $1 = 60 (gdb) p offplt $2 = 16 (gdb) p htab.elf.sgotplt.size $3 = 80 -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils