public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug shlibs/13157] New: fsf gdb x86_64-apple-darwin cannot load "Mach-O fat file with 2 architectures" executables
@ 2011-09-06 18:20 ehsan.akhgari at gmail dot com
  2011-09-06 18:30 ` [Bug shlibs/13157] " ehsan.akhgari at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ehsan.akhgari at gmail dot com @ 2011-09-06 18:20 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13157

             Bug #: 13157
           Summary: fsf gdb x86_64-apple-darwin cannot load "Mach-O fat
                    file with 2 architectures" executables
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: shlibs
        AssignedTo: unassigned@sourceware.org
        ReportedBy: ehsan.akhgari@gmail.com
    Classification: Unclassified


I grabbed the gdb trunk and built it using ./configure && make.  It cannot load
Universal binaries:

ehsanakhgari:~/src/gdb/objdir (master) [02:13:23]$ file /bin/ls ./gdb/gdb
/bin/ls:   Mach-O fat file with 2 architectures
./gdb/gdb: Mach-O 64-bit executable
ehsanakhgari:~/src/gdb/objdir (master) [02:16:48]$ ./gdb/gdb /bin/ls
GNU gdb (GDB) 7.3.50.20110906-cvs
Copyright (C) 2011 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-apple-darwin10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/bin/ls": not in executable format: File format not recognized
(gdb) quit
ehsanakhgari:~/src/gdb/objdir (master) [02:17:05]$ ./gdb/gdb ./gdb/gdb
GNU gdb (GDB) 7.3.50.20110906-cvs
Copyright (C) 2011 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-apple-darwin10".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /Users/ehsanakhgari/src/gdb/objdir/gdb/gdb...
warning: can't find section '*UND*' in OSO file
/Users/ehsanakhgari/src/gdb/objdir/gdb/../libiberty/libiberty.a(safe-ctype.o)

warning: can't find section '*UND*' in OSO file
/Users/ehsanakhgari/src/gdb/objdir/gdb/libgdb.a(version.o)

warning: can't find section '*UND*' in OSO file
/Users/ehsanakhgari/src/gdb/objdir/gdb/libgdb.a(xml-builtin.o)
done.
(gdb) quit

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-07 15:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-06 18:20 [Bug shlibs/13157] New: fsf gdb x86_64-apple-darwin cannot load "Mach-O fat file with 2 architectures" executables ehsan.akhgari at gmail dot com
2011-09-06 18:30 ` [Bug shlibs/13157] " ehsan.akhgari at gmail dot com
2011-09-06 23:27 ` jwatt at jwatt dot org
2014-09-03 15:29 ` dtrebbien at gmail dot com
2022-05-07 15:38 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).