[llvm-dev] ld.lld: error: Invalid record

Marc via llvm-dev llvm-dev at lists.llvm.org
Fri May 22 06:06:49 PDT 2020


Hi,

I am using LTO and a compile pass to make changes to a target.
So far that compile pass worked fine on many larger code projects,
however on a specific large target something seems to get wrong and lld
is not very helpful in the output:

ld.lld: /usr/lib/gcc/x86_64-linux-gnu/10/../../../x86_64-linux-gnu/crt1.o
ld.lld: /tmp/jasper-73de9f.o
ld.lld: src/libjasper/.libs/libjasper.a
[lots more libraries]
ld.lld: error: Invalid record (Producer: 'LLVM11.0.0git' Reader: 'LLVM
11.0.0git')

How can I find out which LLVM-IR entry in /tmp/jasper-73de9f.o is
resulting in that problem?
Thank you!

Regards,
Marc

-- 
Marc Heuse
www.mh-sec.de

PGP: AF3D 1D4C D810 F0BB 977D  3807 C7EE D0A0 6BE9 F573


More information about the llvm-dev mailing list