[llvm-bugs] [Bug 51224] New: [yaml2obj] error: wrote too much data somewhere, section offsets don't line up

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 27 01:47:51 PDT 2021


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

            Bug ID: 51224
           Summary: [yaml2obj] error: wrote too much data somewhere,
                    section offsets don't line up
           Product: libraries
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: international.phantom at gmail.com
                CC: jdevlieghere at apple.com, keith.walker at arm.com,
                    llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com

Created attachment 25072
  --> https://bugs.llvm.org/attachment.cgi?id=25072&action=edit
MacOS object file

Using the attached object file generated by Clang on MacOS and the below
commands, 'yaml2obj' generates a fatal error.

------------------------------------------
obj2yaml test.o > test.yaml
yaml2obj test.yaml -o test_cvt.o
------------------------------------------

yaml2obj: error: wrote too much data somewhere, section offsets don't line up

Architecture information:
--------------------------------------
llvm-readobj test.o --arch-specific

File: test.o
Format: Mach-O 64-bit x86-64
Arch: x86_64
AddressSize: 64bit
--------------------------------------

-- 
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/20210727/656ce7eb/attachment.html>


More information about the llvm-bugs mailing list