Hi,

Timo Juhani Lindfors wrote:

> Version: 2.21.90.20111025-1
[...]
> 1) ld.gold -r -o typequery_kmod_8.ko typequery_kmod_8.o
[...]
> ld.gold: internal error in value_from_output_section, at 
> ../../gold/reloc.cc:1549

I tried to reproduce this in qemu.  As you might expect, it worked
without producing any errors (since qemu doesn't emulate traps or
rotation for misaligned accesses on ARM).

If you have the time for it, one way to move forward would be to
rebuild gold with debugging symbols, for example by building from
[1] with mostly-default options, and to run

        echo 5 >/proc/cpu/alignment

to catch the unaligned access and get a backtrace.

Either way, it would probably be worthwhile to report this to
<http://sourceware.org/bugzilla>, cc-ing [email protected].

Thanks and hope that helps,
Jonathan

[1] git://sources.redhat.com/git/binutils.git



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to