[Bug ld/20317] New: Segmentation fault in ld; in valid write in bfd_section_from_shdr

2016-06-29 Thread dpovey at gmail dot com
: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: dpovey at gmail dot com Target Milestone: --- This problem occurs when compiling the software OpenFst version 1.5.3 on Debian 7.10 using gcc 4.7.2 and 'ld' versio

[Bug ld/20317] Segmentation fault in ld; invalid write in bfd_section_from_shdr

2016-06-29 Thread dpovey at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20317 Dan Povey changed: What|Removed |Added Summary|Segmentation fault in ld; |Segmentation fault in ld;

[Bug ld/20317] Segmentation fault in ld; invalid write in bfd_section_from_shdr

2016-06-29 Thread dpovey at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20317 Dan Povey changed: What|Removed |Added CC||dpovey at gmail dot com -- You are

[Bug ld/20317] Segmentation fault in ld; invalid write in bfd_section_from_shdr

2016-06-29 Thread dpovey at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20317 --- Comment #1 from Dan Povey --- OK, I compiled binutils from source with debug, and I got it in a debugger. The error occurs in bfd.c line 2084, in the statement sections_being_created [shindex] = FALSE; where shindex is 832, and it looks

[Bug ld/20317] Segmentation fault in ld; invalid write in bfd_section_from_shdr

2016-06-29 Thread dpovey at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=20317 --- Comment #2 from Dan Povey --- OK, it looks like this problem might have been resolved in more recent versions of binutils. >From https://fossies.org/dox/binutils-2.26/elf_8c_source.html I see that the code is now: 2289 if (sections_be