--- Comment #25 from rguenth at gcc dot gnu dot org 2010-09-03 09:48
---
Subject: Bug 45496
Author: rguenth
Date: Fri Sep 3 09:47:09 2010
New Revision: 163801
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163801
Log:
2010-09-03 Richard Guenther
* lto-elf.c (valida
--- Comment #24 from rguenth at gcc dot gnu dot org 2010-09-03 09:47
---
Fixed for 4.5.2.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Stat
--- Comment #23 from alexey at feldgendler dot ru 2010-09-02 15:55 ---
Yes, the patch fixes the observed bug. Thanks a lot!
However, there's also the issue of missing error reporting for a failure to
read ELF. I don't know if it should be fixed as part of this bug or separately.
--
--- Comment #22 from rguenth at gcc dot gnu dot org 2010-09-02 15:34
---
Fixed with http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=161935 on trunk.
Needs backporting. I'll do that. Can you verify this fixes your problem?
--
rguenth at gcc dot gnu dot org changed:
Wh
--- Comment #21 from rguenth at gcc dot gnu dot org 2010-09-02 15:23
---
Last guess in the wild is that libelf0 (from libelf) doesn't handle the
object file like it should and we somehow silently treat it as an empty one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #20 from alexey at feldgendler dot ru 2010-09-02 15:13 ---
Indeed, when gcc is configured with --disable-gnu-unique-object, the bug
doesn't occur.
binutils 2.20.1-12 from Debian.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45496
--- Comment #19 from rguenth at gcc dot gnu dot org 2010-09-02 15:00
---
The important difference is
@@ -83,7 +83,7 @@
.weak _ZN6holderIvE3varE
.section
.bss._ZN6holderIvE3varE,"awG",@nobits,_ZN6holderIvE3varE,comdat
.align 4
- .type _ZN6holderI