[llvm-bugs] [Bug 43538] New: Risc-V clang++ does not generate correct .eh_frame data
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 2 10:56:24 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43538
Bug ID: 43538
Summary: Risc-V clang++ does not generate correct .eh_frame
data
Product: clang
Version: 9.0
Hardware: Other
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: grogers at micron.com
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
The attached simple c++ program won't link because lld can't find the correct
information in .eh_frame to relocate things.
#include <stdio.h>
int
main() {
printf("thanks for all of the fish\n");
}
mfed04: grogers: tmp $ clang++ main.cpp
ld: error: .eh_frame: relocation is not in any piece
clang-9: error: ld command failed with exit code 1 (use -v to see invocation)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191002/b284ade9/attachment.html>
More information about the llvm-bugs
mailing list