[Bug gdb/23742] New: unknown load command 0x32

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23742] New: unknown load command 0x32

agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23742

            Bug ID: 23742
           Summary: unknown load command 0x32
           Product: gdb
           Version: 8.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: rmhunter at ncsu dot edu
  Target Milestone: ---

BFD: /Users/****/****/filename: unknown load command 0x32
BFD: /Users/****/****/filename: unknown load command 0x32
"/Users/****/****/filename": not in executable format: file format not
recognized
(gdb)

gdb is not recognizing gcc compiled files running on MacOS 10.14 Mojave.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23742] unknown load command 0x32

agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23742

Eldar Abusalimov <eldar.abusalimov at jetbrains dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eldar.abusalimov@jetbrains.
                   |                            |com

--- Comment #1 from Eldar Abusalimov <eldar.abusalimov at jetbrains dot com> ---
Confirming that this also affects GDB 8.0.1 and GDB 8.1 (debugging binaries
compiled using Apple Clang 10, and GCC 8.2).

A related SO question:
https://stackoverflow.com/questions/52529838/gdb-8-2-cant-recognized-executable-file-on-macos-mojave-10-14

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23742] unknown load command 0x32

agentzh at gmail dot com
In reply to this post by agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23742

George <fabbus at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fabbus at gmail dot com

--- Comment #2 from George <fabbus at gmail dot com> ---
Can confirm this issue is occurring for me as well on my macOS Mojave v.10.14.1

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23742] unknown load command 0x32

agentzh at gmail dot com
In reply to this post by agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23742

Roman Bolshakov <roolebo at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roolebo at gmail dot com

--- Comment #3 from Roman Bolshakov <roolebo at gmail dot com> ---
This is a duplicate of #23728.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/23742] unknown load command 0x32

agentzh at gmail dot com
In reply to this post by agentzh at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23742

--- Comment #4 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nick Clifton <[hidden email]>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ddea148b3da27eb681504bf341f45abb7a74580b

commit ddea148b3da27eb681504bf341f45abb7a74580b
Author: Nick Clifton <[hidden email]>
Date:   Tue Nov 6 17:09:40 2018 +0000

    Add support for a couple of new Mach-O commands.

        PR 23742
        * mach-o.c (bfd_mach_o_read_command): Accept and ignore
        BFD_MACH_O_LC_LINKER_OPTIONS and BFD_MACH_O_LC_BUILD_VERSION
        commands.

        * mach-o/loader.h: Add BFD_MACH_O_LC_BUILD_VERSION.

--
You are receiving this mail because:
You are on the CC list for the bug.