[llvm-dev] warning: failed to compute relocation: R_AARCH64_PREL32, Invalid data was encountered while parsing the file
Itaru Kitayama via llvm-dev
llvm-dev at lists.llvm.org
Sat May 30 20:08:17 PDT 2020
Hi Fangrui,
I've uploaded the object file to the entry below:
https://bugs.llvm.org/show_bug.cgi?id=46143
On Sun, May 31, 2020 at 1:12 AM Fangrui Song <maskray at google.com> wrote:
>
> On 2020-05-30, Itaru Kitayama via llvm-dev wrote:
> >Hi,
> >On AArch64, I see a lot of warnings like:
> >
> >warning: failed to compute relocation: R_AARCH64_PREL32, Invalid data
> >was encountered while parsing the file
> >
> >when opening object file with llvm-objdump. The llvm-objdump is from
> >trunk at this
> >moment. Is this easy to fix?
>
> Hi Itaru,
>
> Without the object, I am guessing you have an R_AARCH64_PREL32 in a
> .debug_* section in an object file.
>
> lib/Object/RelocationResolver.cpp does not resolve R_AARCH64_PREL32.
>
> Can you upload the object file somewhere so that people can analyze?
More information about the llvm-dev
mailing list