Skip to content

win64 - dwarf2 - "Dwarf Error" #1

@vladimir-kokovic

Description

@vladimir-kokovic

Do you need any more information or is it enough below?

--- WINECONSOLE ---

Z:\tmp>d:\JWasm212bw\yasm-1.3.0-win64.exe --dformat=dwarf2 -l z:\tmp\cvrc.lst -w-number-overflow -f win64 -o z:\tmp\cvrc.obj z:\asoft-src\ispp-64\java\cvrc-exe-asm\cvrc.asm > z:\tmp\cvrc.log 2>&1

Z:\tmp>ld --verbose=3 -g -M -o cvrc.exe cvrc.obj > cvrc-ld.log 2>&1

Z:\tmp>d:\vk-mingw64\winlibs\gcc-10.2.0\mingw64\bin\gdb.exe --args cvrc.exe "-verbose"
d:\vk-mingw64\winlibs\gcc-10.2.0\mingw64\bin\gdb.exe: warning: Couldn't determine a path for the index cache directory.
GNU gdb (GDB for MinGW-W64 x86_64, built by Brecht Sanders) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from cvrc.exe...
Dwarf Error: bad offset (0x46e000) in compilation unit header (offset 0x0 + 6) [in module Z:\tmp\cvrc.exe]
(No debugging symbols found in cvrc.exe)
(gdb) quit

Z:\tmp>file cvrc.obj
cvrc.obj: ACB archive data

Z:\tmp>file cvrc.exe
cvrc.exe: PE32+ executable for MS Windows (console)

Z:\tmp>

--- WINECONSOLE ---

--- LINUX ---
ll /tmp/cvrc*
-rwxr-xr-x 1 root root 730794 окт 5 14:37 cvrc.exe
-rw-r--r-- 1 root root 19429 окт 5 14:37 cvrc-ld.log
-rw-r--r-- 1 root root 0 окт 5 14:36 cvrc.log
-rw-r--r-- 1 root root 12739181 окт 5 14:36 cvrc.lst
-rw-r--r-- 1 root root 778424 окт 5 14:36 cvrc.obj

file /tmp/cvrc.obj
cvrc.obj: Intel amd64 COFF object file, not stripped, 8 sections, symbol offset=0x8c0c8, 6059 symbols

file /tmp/cvrc.exe
cvrc.exe: PE32+ executable (console) x86-64, for MS Windows

--- LINUX ---

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions