Matthias Klose <d...@debian.org> writes: > then please add all librarues involved. in this form it's > unreproducible.
According to strace the crash happens before any uncommon libraries are opened: wallwart:/tmp# strace -o s -s4096 -f ld.gold -o allcodecs.so allcodecs.o ld.gold: internal error in value_from_output_section, at ../../gold/reloc.cc:1516 wallwart:/tmp# grep open\( s 5091 open("/etc/ld.so.cache", O_RDONLY) = 3 5091 open("/lib/libdl.so.2", O_RDONLY) = 3 5091 open("/usr/lib/libz.so.1", O_RDONLY) = 3 5091 open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3 5091 open("/lib/libm.so.6", O_RDONLY) = 3 5091 open("/lib/libgcc_s.so.1", O_RDONLY) = 3 5091 open("/lib/libc.so.6", O_RDONLY) = 3 5091 open("//lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 5091 open("//usr/lib", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3 5091 open("allcodecs.o", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3 5091 open("allcodecs.so", O_RDWR|O_CREAT|O_TRUNC|O_LARGEFILE|O_CLOEXEC, 0777) = 4 The complete strace is attached.
ld.strace.xz
Description: Binary data