[PATCH] D74006: [MC][ELF] Make linked-to symbol name part of ELFSectionKey

Maxim Kuvyrkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 6 02:46:27 PST 2020


maxim-kuvyrkov added a comment.

It's runtime failure and occurs on "ref" input.  Compilation flags are
-O3 -marm --target=armv7a-linux-gnueabihf --sysroot=/path/to/build/sysroots/arm-linux-gnueabihf
and linking flags are (note that I'm linking with LLD).
-Wl,--build-id -Wl,-dynamic-linker=/path/to/run/sysroot/lib/ld-2.31.9000.so -Wl,-rpath=/path/to/run/sysroot/lib -Wl,-rpath=/path/to/run/sysroot/usr/lib  -O3 -marm --target=armv7a-linux-gnueabihf --sysroot=/path/to/build/sysroots/arm-linux-gnueabihf -fuse-ld=lld

Same failure occurs with -Os/-Oz with -mthumb.

I'll check whether linking with BFD linker avoids the problem.

Omnetpp fails with:
1583131428.18: 471.omnetpp: copy 0 non-zero return code (exit code=6, signal=0)
1583131428.18: ****************************************
1583131428.18: Contents of omnetpp.err
1583131428.18: ****************************************
1583131428.18: terminate called after throwing an instance of 'cTerminationException*'
1583131428.18: Aborted
1583131428.18: ****************************************

and povray fails with
1583130534.05: 453.povray: copy 0 non-zero return code (exit code=6, signal=0)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74006/new/

https://reviews.llvm.org/D74006





More information about the llvm-commits mailing list