[llvm-bugs] [Bug 50471] New: no memory region specified for section '.eh_frame'

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 25 16:54:13 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=50471

            Bug ID: 50471
           Summary: no memory region specified for section '.eh_frame'
           Product: lld
           Version: unspecified
          Hardware: Other
                OS: other
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: ELF
          Assignee: unassignedbugs at nondot.org
          Reporter: vicencb at gmail.com
                CC: llvm-bugs at lists.llvm.org, smithp352 at googlemail.com

The issue is found when building
https://github.com/ARM-software/arm-trusted-firmware
with
make PLAT=rk3328 CC=clang AR=llvm-ar OC=llvm-objcopy OD=llvm-objdump E=0 V=1
after manually fixing
https://bugs.llvm.org/show_bug.cgi?id=50470

The error reported is:
ld.lld: error: no memory region specified for section '.eh_frame'

The linker script does not include a .eh_frame entry. Adding one manually makes
the error message disappear, but the original script works fine with the gnu
toolchain.

-- 
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/20210525/d5d054a8/attachment.html>


More information about the llvm-bugs mailing list