[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17117] New: assertion fail elf32-i386.c:4016
From: |
amonakov at gmail dot com |
Subject: |
[Bug ld/17117] New: assertion fail elf32-i386.c:4016 |
Date: |
Sat, 05 Jul 2014 19:50:24 +0000 |
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 ld/17117] New: assertion fail elf32-i386.c:4016,
amonakov at gmail dot com <=