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: unassignedclangb...@nondot.org
          Reporter: grog...@micron.com
                CC: blitzrak...@gmail.com, dgre...@apple.com,
                    erik.pilking...@gmail.com, llvm-bugs@lists.llvm.org,
                    richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to