From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: Paul Eggert <eggert@cs.ucla.edu>, 9927@debbugs.gnu.org
Subject: bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
Date: Thu, 17 May 2012 21:12:12 +0200 [thread overview]
Message-ID: <D280EAD0-E0CB-4B7E-8035-636CE71D8FEE@Freenet.DE> (raw)
In-Reply-To: <m28vgqrjgs.fsf@igel.home>
Is this the information you want? Produced with GCC 4.7.0.
src/emacs: file format mach-o-i386
src/emacs
architecture: i386, flags 0x00000012:
EXEC_P, HAS_SYMS
start address 0x0000282c
Mach-O header:
magic : feedface
cputype : 00000007 (i386)
cpusubtype: 00000003
filetype : 00000002 (execute)
ncmds : 00000023 (35)
sizeofcmds: 00000adc
flags : 01000085 (noundefs+dyldlink+twolevel+0x1000000)
reserved : 00000002
Load command segment: name: __PAGEZERO
vmaddr: 0000000000000000 vmsize: 0000000000001000
fileoff: 0000000000000000 filesize: 0000000000000000 endoff: 0000000000000000
nsects: 0 flags: 0
Load command segment: name: __TEXT
vmaddr: 0000000000001000 vmsize: 0000000000262000
fileoff: 0000000000000000 filesize: 0000000000262000 endoff: 0000000000262000
nsects: 6 flags: 0
Section: __text __TEXT (bfdname: .text)
addr: 000000000000282c size: 0000000000242e14 offset: 000000000000182c
align: 2 nreloc: 0 reloff: 0000000000000000
flags: 80000400 (type: regular attr: some_instructions+pure_instructions)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __symbol_stub __TEXT (bfdname: __TEXT.__symbol_stub)
addr: 0000000000245640 size: 0000000000000ed6 offset: 0000000000244640
align: 1 nreloc: 0 reloff: 0000000000000000
flags: 80000408 (type: symbol_stubs attr: some_instructions+pure_instructions)
first indirect sym: 0 (633 entries) stub size: 6 reserved3: 0x0
Section: __stub_helper __TEXT (bfdname: __TEXT.__stub_helper)
addr: 0000000000246518 size: 00000000000018c8 offset: 0000000000245518
align: 2 nreloc: 0 reloff: 0000000000000000
flags: 80000400 (type: regular attr: some_instructions+pure_instructions)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __const __TEXT (bfdname: .const)
addr: 0000000000247de0 size: 0000000000000828 offset: 0000000000246de0
align: 4 nreloc: 0 reloff: 0000000000000000
flags: 00000000 (type: regular attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __cstring __TEXT (bfdname: .cstring)
addr: 0000000000248610 size: 000000000001a9a4 offset: 0000000000247610
align: 4 nreloc: 0 reloff: 0000000000000000
flags: 00000002 (type: cstring_literals attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __unwind_info __TEXT (bfdname: __TEXT.__unwind_info)
addr: 0000000000262fb4 size: 0000000000000048 offset: 0000000000261fb4
align: 0 nreloc: 0 reloff: 0000000000000000
flags: 00000000 (type: regular attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Load command segment: name: __DATA
vmaddr: 0000000000263000 vmsize: 000000000030d000
fileoff: 0000000000262000 filesize: 000000000030d000 endoff: 000000000056f000
nsects: 7 flags: 0
Section: __program_vars __DATA (bfdname: __DATA.__program_vars)
addr: 0000000000263000 size: 0000000000000014 offset: 0000000000262000
align: 2 nreloc: 0 reloff: 0000000000000000
flags: 00000000 (type: regular attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __nl_symbol_ptr __DATA (bfdname: .non_lazy_symbol_ptr)
addr: 0000000000263014 size: 000000000000090c offset: 0000000000262014
align: 2 nreloc: 0 reloff: 0000000000000000
flags: 00000006 (type: non_lazy_symbol_pointers attr: -)
first indirect sym: 633 (579 entries) reserved2: 0x0 reserved3: 0x0
Section: __la_symbol_ptr __DATA (bfdname: .lazy_symbol_ptr)
addr: 0000000000263920 size: 00000000000009e4 offset: 0000000000262920
align: 2 nreloc: 0 reloff: 0000000000000000
flags: 00000007 (type: lazy_symbol_pointers attr: -)
first indirect sym: 1212 (633 entries) reserved2: 0x0 reserved3: 0x0
Section: __data __DATA (bfdname: .data)
addr: 0000000000264310 size: 000000000029f118 offset: 0000000000263310
align: 4 nreloc: 0 reloff: 0000000000000000
flags: 00000000 (type: regular attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __const __DATA (bfdname: .const_data)
addr: 0000000000503430 size: 0000000000001a1c offset: 0000000000502430
align: 4 nreloc: 0 reloff: 0000000000000000
flags: 00000000 (type: regular attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __common __DATA (bfdname: __DATA.__common)
addr: 0000000000504e50 size: 0000000000004308 offset: 0000000000503e50
align: 4 nreloc: 0 reloff: 0000000000000000
flags: 00000000 (type: regular attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Section: __bss __DATA (bfdname: .bss)
addr: 0000000000509160 size: 0000000000066c31 offset: 0000000000508160
align: 4 nreloc: 0 reloff: 0000000000000000
flags: 00000000 (type: regular attr: -)
reserved1: 0x0 reserved2: 0x0 reserved3: 0x0
Load command segment: name: __DATA
vmaddr: 00000000013e6000 vmsize: 0000000000001000
fileoff: 000000000056f000 filesize: 0000000000000000 endoff: 000000000056f000
nsects: 0 flags: 0
Load command segment: name: __DATA
vmaddr: 0000000001500000 vmsize: 00000000000fffa0
fileoff: 000000000056f000 filesize: 00000000000fff9d endoff: 000000000066ef9d
nsects: 0 flags: 0
Load command segment: name: __DATA
vmaddr: 0000000002000000 vmsize: 00000000007f8000
fileoff: 000000000066f000 filesize: 00000000004fb25e endoff: 0000000000b6a25e
nsects: 0 flags: 0
Load command segment: name: __DATA
vmaddr: 00000000027f8000 vmsize: 0000000000007f98
fileoff: 0000000000b6b000 filesize: 0000000000004fce endoff: 0000000000b6ffce
nsects: 0 flags: 0
Load command segment: name: __DATA
vmaddr: 0000000002b00000 vmsize: 00000000000fffa0
fileoff: 0000000000b70000 filesize: 00000000000fff9c endoff: 0000000000c6ff9c
nsects: 0 flags: 0
Load command segment: name: __DATA
vmaddr: 0000000002c00000 vmsize: 00000000000fffa0
fileoff: 0000000000c70000 filesize: 00000000000fff9c endoff: 0000000000d6ff9c
nsects: 0 flags: 0
Load command segment: name: __LINKEDIT
vmaddr: 0000000000570000 vmsize: 00000000000a4000
fileoff: 0000000000d70000 filesize: 00000000000a3798 endoff: 0000000000e13798
nsects: 0 flags: 0
Load command dyld_info:
rebase: off: 0x00000000 size: 0
bind: off: 0x00d70000 size: 12300
weak bind: off: 0x00000000 size: 0
lazy bind: off: 0x00000000 size: 0
export: off: 0x00d7300c size: 65164
Load command symtab:
symoff: 0x00d82e98 nsyms: 25191 (endoff: 0x00dccb6c)
stroff: 0x00dce840 strsize: 282456 (endoff: 0x00e13798)
Load command dysymtab:
local symbols: idx: 0 num: 21664 (nxtidx: 21664)
external symbols: idx: 21664 num: 2870 (nxtidx: 24534)
undefined symbols: idx: 24534 num: 657 (nxtidx: 25191)
table of content: off: 0x00000000 num: 0 (endoff: 0x00000000)
module table: off: 0x00000000 num: 0 (endoff: 0x00000000)
external reference table: off: 0x00000000 num: 0 (endoff: 0x00000000)
indirect symbol table: off: 0x00dccb6c num: 1845 (endoff: 0x00dce840)
external relocation table: off: 0x00000000 num: 0 (endoff: 0x00000000)
local relocation table: off: 0x00000000 num: 0 (endoff: 0x00000000)
indirect symbols:
for section __TEXT.__symbol_stub:
...
Load command load_dylinker: /usr/lib/dyld
Load command uuid: 68 94 de 22 9a 65 3f 0d b1 f1 02 01 ce 4b 6a 93
Load command unixthread: nflavours: 1
0: flavour: 0x00000001 offset: 0x0000069c size: 0x00000040
Load command load_dylib: /sw/lib/libXaw3d.7.dylib
time stamp: 0x00000002
current version: 0x00070000
comptibility version: 0x00070000
Load command load_dylib: /usr/X11/lib/libXmu.6.dylib
time stamp: 0x00000002
current version: 0x00090000
comptibility version: 0x00090000
Load command load_dylib: /usr/X11/lib/libXt.6.dylib
time stamp: 0x00000002
current version: 0x00070000
comptibility version: 0x00070000
Load command load_dylib: /usr/X11/lib/libSM.6.dylib
time stamp: 0x00000002
current version: 0x00070000
comptibility version: 0x00070000
Load command load_dylib: /usr/X11/lib/libICE.6.dylib
time stamp: 0x00000002
current version: 0x000a0000
comptibility version: 0x000a0000
Load command load_dylib: /usr/X11/lib/libX11.6.dylib
time stamp: 0x00000002
current version: 0x00090000
comptibility version: 0x00090000
Load command load_dylib: /usr/X11/lib/libXrender.1.dylib
time stamp: 0x00000002
current version: 0x00050000
comptibility version: 0x00050000
Load command load_dylib: /sw/lib/xft2/lib/libXft.2.dylib
time stamp: 0x00000002
current version: 0x00050000
comptibility version: 0x00050000
Load command load_dylib: /sw/lib/fontconfig2/lib/libfontconfig.1.dylib
time stamp: 0x00000002
current version: 0x00060400
comptibility version: 0x00060000
Load command load_dylib: /sw/lib/freetype219/lib/libfreetype.6.dylib
time stamp: 0x00000002
current version: 0x000e0100
comptibility version: 0x000e0000
Load command load_dylib: /sw/lib/libMagickWand.5.dylib
time stamp: 0x00000002
current version: 0x00060000
comptibility version: 0x00060000
Load command load_dylib: /sw/lib/libMagickCore.5.dylib
time stamp: 0x00000002
current version: 0x00060000
comptibility version: 0x00060000
Load command load_dylib: /sw/lib/libxml2.2.dylib
time stamp: 0x00000002
current version: 0x000a0800
comptibility version: 0x000a0000
Load command load_dylib: /sw/lib/ncurses/libncurses.5.dylib
time stamp: 0x00000002
current version: 0x00050000
comptibility version: 0x00050000
Load command load_dylib: /sw/lib/libotf.0.dylib
time stamp: 0x00000002
current version: 0x00010000
comptibility version: 0x00010000
Load command load_dylib: /sw/lib/libm17n-flt.0.dylib
time stamp: 0x00000002
current version: 0x00050000
comptibility version: 0x00050000
Load command load_dylib: /sw/lib/libm17n-core.0.dylib
time stamp: 0x00000002
current version: 0x00050000
comptibility version: 0x00050000
Load command load_dylib: /sw/lib/gnutls28/libgnutls.28.dylib
time stamp: 0x00000002
current version: 0x00240100
comptibility version: 0x00240000
Load command load_dylib: /usr/lib/libSystem.B.dylib
time stamp: 0x00000002
current version: 0x007d020b
comptibility version: 0x00010000
Segments and Sections:
#: Segment name Section name Address
[Segment __PAGEZERO 0000000000000000-0000000000000fff ---]
[Segment __TEXT 0000000000001000-0000000000262fff r-x]
01: __TEXT __text 000000000000282c 0000000000242e14 80000400
02: __TEXT __symbol_stub 0000000000245640 0000000000000ed6 80000408
03: __TEXT __stub_helper 0000000000246518 00000000000018c8 80000400
04: __TEXT __const 0000000000247de0 0000000000000828 00000000
05: __TEXT __cstring 0000000000248610 000000000001a9a4 00000002
06: __TEXT __unwind_info 0000000000262fb4 0000000000000048 00000000
[Segment __DATA 0000000000263000-000000000056ffff rw-]
07: __DATA __program_vars 0000000000263000 0000000000000014 00000000
08: __DATA __nl_symbol_ptr 0000000000263014 000000000000090c 00000006
09: __DATA __la_symbol_ptr 0000000000263920 00000000000009e4 00000007
10: __DATA __data 0000000000264310 000000000029f118 00000000
11: __DATA __const 0000000000503430 0000000000001a1c 00000000
12: __DATA __common 0000000000504e50 0000000000004308 00000000
13: __DATA __bss 0000000000509160 0000000000066c31 00000000
[Segment __DATA 00000000013e6000-00000000013e6fff rw-]
[Segment __DATA 0000000001500000-00000000015fff9f rw-]
[Segment __DATA 0000000002000000-00000000027f7fff rw-]
[Segment __DATA 00000000027f8000-00000000027fff97 rw-]
[Segment __DATA 0000000002b00000-0000000002bfff9f rw-]
[Segment __DATA 0000000002c00000-0000000002cfff9f rw-]
[Segment __LINKEDIT 0000000000570000-0000000000613fff r--]
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 00242e14 0000282c 0000282c 0000182c 2**2
CONTENTS, ALLOC, LOAD, CODE
1 __TEXT.__symbol_stub 00000ed6 00245640 00245640 00244640 2**1
CONTENTS, ALLOC, LOAD, READONLY, CODE
2 __TEXT.__stub_helper 000018c8 00246518 00246518 00245518 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
3 .const 00000828 00247de0 00247de0 00246de0 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
4 .cstring 0001a9a4 00248610 00248610 00247610 2**4
CONTENTS, ALLOC, LOAD, READONLY, DATA
5 __TEXT.__unwind_info 00000048 00262fb4 00262fb4 00261fb4 2**0
CONTENTS, ALLOC, LOAD, READONLY, CODE
6 __DATA.__program_vars 00000014 00263000 00263000 00262000 2**2
CONTENTS, ALLOC, LOAD, DATA
7 .non_lazy_symbol_ptr 0000090c 00263014 00263014 00262014 2**2
CONTENTS, ALLOC, LOAD, DATA
8 .lazy_symbol_ptr 000009e4 00263920 00263920 00262920 2**2
CONTENTS, ALLOC, LOAD, DATA
9 .data 0029f118 00264310 00264310 00263310 2**4
CONTENTS, ALLOC, LOAD, DATA
10 .const_data 00001a1c 00503430 00503430 00502430 2**4
CONTENTS, ALLOC, LOAD, DATA
11 __DATA.__common 00004308 00504e50 00504e50 00503e50 2**4
CONTENTS, ALLOC, LOAD, DATA
12 .bss 00066c31 00509160 00509160 00508160 2**4
CONTENTS, ALLOC, LOAD, DATA
13 LC_THREAD.x86_THREAD_STATE32.0 00000040 00000000 00000000 0000069c 2**0
CONTENTS
--
Mit friedvollen Grüßen
Pete
These are my principles and if you don't like them... well, I have others.
- Groucho Marx
next prev parent reply other threads:[~2012-05-17 19:12 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-13 1:46 Pretest/release plans Chong Yidong
2012-05-13 8:48 ` Leo
2012-05-15 15:22 ` Chong Yidong
2012-05-15 16:22 ` Leo
2012-05-15 16:36 ` Alan Mackenzie
2012-05-15 20:01 ` Michael Welsh Duggan
2012-05-16 7:21 ` Glenn Morris
2012-05-16 10:51 ` Chong Yidong
2012-05-16 11:03 ` Chong Yidong
2012-05-16 17:53 ` bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8 Paul Eggert
2012-05-16 22:09 ` Peter Dyballa
2012-05-16 23:35 ` Peter Dyballa
2012-05-17 6:35 ` Paul Eggert
2012-05-17 8:36 ` Peter Dyballa
2012-05-17 10:58 ` Andreas Schwab
2012-05-17 11:50 ` Peter Dyballa
2012-05-17 12:22 ` Andreas Schwab
2012-05-17 13:36 ` Peter Dyballa
2012-05-17 14:05 ` Andreas Schwab
2012-05-17 14:53 ` Peter Dyballa
2012-05-17 19:12 ` Peter Dyballa [this message]
2012-05-17 22:54 ` Andreas Schwab
2012-05-17 23:08 ` Peter Dyballa
[not found] ` <mailman.1314.1337296491.855.bug-gnu-emacs@gnu.org>
2012-05-30 22:10 ` nyk
2012-05-30 23:23 ` nyk
2012-05-31 0:09 ` nyk
2012-05-16 17:56 ` Pretest/release plans Paul Eggert
2012-05-29 13:35 ` Chong Yidong
2012-06-01 9:44 ` Chong Yidong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=D280EAD0-E0CB-4B7E-8035-636CE71D8FEE@Freenet.DE \
--to=peter_dyballa@freenet.de \
--cc=9927@debbugs.gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=schwab@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.