lilrom13 at gmail dot com
2018-10-08 08:28:42 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23746
Bug ID: 23746
Summary: Debugging under x86_64-apple-darwin18.0.0 getting "not
in executable format"
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: lilrom13 at gmail dot com
Target Milestone: ---
Since I've installed Xcode 10 I'm not able to use GDB anymore.
Here some information about my system :
MacOs Mojave 10.14
Xcode10
$ clang -v
Apple LLVM version 10.0.0 (clang-1000.10.44.2)
Target: x86_64-apple-darwin18.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ file a.out
a.out: Mach-O 64-bit executable x86_64
$ gdb show configuration
(gdb) This GDB was configured as follows:
configure --host=x86_64-apple-darwin18.0.0
--target=x86_64-apple-darwin18.0.0
--with-auto-load-dir=:${prefix}/share/auto-load
--with-auto-load-safe-path=:${prefix}/share/auto-load
--with-expat
--with-gdb-datadir=/usr/local/share/gdb (relocatable)
--with-jit-reader-dir=/usr/local/lib/gdb (relocatable)
--without-libunwind-ia64
--without-lzma
--without-babeltrace
$ gdb a.out
Type "apropos word" to search for commands related to "word"...
BFD: /Users/romain/a.out: unknown load command 0x32
BFD: /Users/romain/a.out: unknown load command 0x32
"/Users/romain/a.out": not in executable format: file format not recognized
I've tried to install gdb in different ways, using homebrew, from sources, and
from HEAD but still getting stuck.
From Head I get this message during make install:
"ranlib: /usr/local/lib/libbfd.a(archive.o): unknown load command 0x32" for all
libs.
Feel free to ask if you need more information about my configuration.
Bug ID: 23746
Summary: Debugging under x86_64-apple-darwin18.0.0 getting "not
in executable format"
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: lilrom13 at gmail dot com
Target Milestone: ---
Since I've installed Xcode 10 I'm not able to use GDB anymore.
Here some information about my system :
MacOs Mojave 10.14
Xcode10
$ clang -v
Apple LLVM version 10.0.0 (clang-1000.10.44.2)
Target: x86_64-apple-darwin18.0.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
$ file a.out
a.out: Mach-O 64-bit executable x86_64
$ gdb show configuration
(gdb) This GDB was configured as follows:
configure --host=x86_64-apple-darwin18.0.0
--target=x86_64-apple-darwin18.0.0
--with-auto-load-dir=:${prefix}/share/auto-load
--with-auto-load-safe-path=:${prefix}/share/auto-load
--with-expat
--with-gdb-datadir=/usr/local/share/gdb (relocatable)
--with-jit-reader-dir=/usr/local/lib/gdb (relocatable)
--without-libunwind-ia64
--without-lzma
--without-babeltrace
$ gdb a.out
Type "apropos word" to search for commands related to "word"...
BFD: /Users/romain/a.out: unknown load command 0x32
BFD: /Users/romain/a.out: unknown load command 0x32
"/Users/romain/a.out": not in executable format: file format not recognized
I've tried to install gdb in different ways, using homebrew, from sources, and
from HEAD but still getting stuck.
From Head I get this message during make install:
"ranlib: /usr/local/lib/libbfd.a(archive.o): unknown load command 0x32" for all
libs.
Feel free to ask if you need more information about my configuration.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.