GNU bug report logs - #9927
24.1.50; unexec/unexmacosx doesn't grok GCC 4.6+ sections

Previous Next

Package: emacs;

Reported by: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>

Date: Tue, 1 Nov 2011 00:30:02 UTC

Severity: important

Found in versions 24.1.50, 24.0.90

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Peter Dyballa <Peter_Dyballa <at> Freenet.DE>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: Paul Eggert <eggert <at> cs.ucla.edu>, 9927 <at> debbugs.gnu.org
Subject: bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
Date: Fri, 18 May 2012 01:08:40 +0200
Am 18.05.2012 um 00:54 schrieb Andreas Schwab:

> temacs, not emacs (which didn't build).

src/temacs:     file format mach-o-i386
src/temacs
architecture: i386, flags 0x00000012:
EXEC_P, HAS_SYMS
start address 0x00002650
Mach-O header:
 magic     : feedface
 cputype   : 00000007 (i386)
 cpusubtype: 00000003
 filetype  : 00000002 (execute)
 ncmds     : 00000019 (25)
 sizeofcmds: 00000a04
 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: 00000000001b0000
   fileoff: 0000000000000000 filesize: 00000000001b0000 endoff: 00000000001b0000
   nsects: 8   flags: 0
 Section: __text           __TEXT           (bfdname: .text)
  addr: 0000000000002650 size: 0000000000155c63 offset: 0000000000001650
  align: 2  nreloc: 0  reloff: 0000000000000000
  flags: 80000400 (type: regular attr: some_instructions+pure_instructions)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __text_cold      __TEXT           (bfdname: __TEXT.__text_cold)
  addr: 00000000001582b3 size: 0000000000000761 offset: 00000000001572b3
  align: 0  nreloc: 0  reloff: 0000000000000000
  flags: 80000400 (type: regular attr: some_instructions+pure_instructions)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __text_startup   __TEXT           (bfdname: __TEXT.__text_startup)
  addr: 0000000000158a14 size: 0000000000001339 offset: 0000000000157a14
  align: 0  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: 0000000000159d4e size: 0000000000000c90 offset: 0000000000158d4e
  align: 1  nreloc: 0  reloff: 0000000000000000
  flags: 80000408 (type: symbol_stubs attr: some_instructions+pure_instructions)
  first indirect sym: 0 (536 entries)  stub size: 6  reserved3: 0x0
 Section: __stub_helper    __TEXT           (bfdname: __TEXT.__stub_helper)
  addr: 000000000015a9e0 size: 00000000000014fc offset: 00000000001599e0
  align: 2  nreloc: 0  reloff: 0000000000000000
  flags: 80000400 (type: regular attr: some_instructions+pure_instructions)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __cstring        __TEXT           (bfdname: .cstring)
  addr: 000000000015bedc size: 0000000000014683 offset: 000000000015aedc
  align: 0  nreloc: 0  reloff: 0000000000000000
  flags: 00000002 (type: cstring_literals attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __const          __TEXT           (bfdname: .const)
  addr: 0000000000170560 size: 0000000000000838 offset: 000000000016f560
  align: 4  nreloc: 0  reloff: 0000000000000000
  flags: 00000000 (type: regular attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __eh_frame       __TEXT           (bfdname: .eh_frame)
  addr: 0000000000170d98 size: 0000000000040268 offset: 000000000016fd98
  align: 3  nreloc: 0  reloff: 0000000000000000
  flags: 00000000 (type: regular attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0

Load command segment: name: __DATA
    vmaddr: 00000000001b1000   vmsize: 00000000001dc000
   fileoff: 00000000001b0000 filesize: 0000000000198000 endoff: 0000000000348000
   nsects: 10   flags: 0
 Section: __program_vars   __DATA           (bfdname: __DATA.__program_vars)
  addr: 00000000001b1000 size: 0000000000000014 offset: 00000000001b0000
  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: 00000000001b1014 size: 0000000000000b14 offset: 00000000001b0014
  align: 2  nreloc: 0  reloff: 0000000000000000
  flags: 00000006 (type: non_lazy_symbol_pointers attr: -)
  first indirect sym: 536 (709 entries)  reserved2: 0x0  reserved3: 0x0
 Section: __la_symbol_ptr  __DATA           (bfdname: .lazy_symbol_ptr)
  addr: 00000000001b1b28 size: 0000000000000860 offset: 00000000001b0b28
  align: 2  nreloc: 0  reloff: 0000000000000000
  flags: 00000007 (type: lazy_symbol_pointers attr: -)
  first indirect sym: 1245 (536 entries)  reserved2: 0x0  reserved3: 0x0
 Section: __data           __DATA           (bfdname: .data)
  addr: 00000000001b2390 size: 00000000001956dc offset: 00000000001b1390
  align: 4  nreloc: 0  reloff: 0000000000000000
  flags: 00000000 (type: regular attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __const          __DATA           (bfdname: .const_data)
  addr: 0000000000347a70 size: 0000000000001008 offset: 0000000000346a70
  align: 4  nreloc: 0  reloff: 0000000000000000
  flags: 00000000 (type: regular attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __static_data    __DATA           (bfdname: __DATA.__static_data)
  addr: 0000000000348a80 size: 0000000000000031 offset: 0000000000347a80
  align: 4  nreloc: 0  reloff: 0000000000000000
  flags: 00000000 (type: regular attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __bss4           __DATA           (bfdname: __DATA.__bss4)
  addr: 0000000000348ac0 size: 0000000000006554 offset: 0000000000000000
  align: 4  nreloc: 0  reloff: 0000000000000000
  flags: 00000001 (type: zerofill attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __bss2           __DATA           (bfdname: __DATA.__bss2)
  addr: 000000000034f014 size: 000000000002fb68 offset: 0000000000000000
  align: 2  nreloc: 0  reloff: 0000000000000000
  flags: 00000001 (type: zerofill attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __pu_bss2        __DATA           (bfdname: __DATA.__pu_bss2)
  addr: 000000000037eb7c size: 0000000000005414 offset: 0000000000000000
  align: 2  nreloc: 0  reloff: 0000000000000000
  flags: 00000001 (type: zerofill attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0
 Section: __pu_bss4        __DATA           (bfdname: __DATA.__pu_bss4)
  addr: 0000000000383f90 size: 00000000000085e4 offset: 0000000000000000
  align: 4  nreloc: 0  reloff: 0000000000000000
  flags: 00000001 (type: zerofill attr: -)
  reserved1: 0x0  reserved2: 0x0  reserved3: 0x0

Load command segment: name: __LINKEDIT
    vmaddr: 000000000038d000   vmsize: 00000000000ab000
   fileoff: 0000000000348000 filesize: 00000000000aa13c endoff: 00000000003f213c
   nsects: 0   flags: 0

Load command dyld_info:
       rebase: off: 0x00000000  size: 0       
         bind: off: 0x00348000  size: 9976    
    weak bind: off: 0x00000000  size: 0       
    lazy bind: off: 0x00000000  size: 0       
       export: off: 0x0034a6f8  size: 118524  

Load command symtab:
   symoff: 0x003675f4    nsyms:    24641  (endoff: 0x003af900)
   stroff: 0x003b14d4  strsize:   265320  (endoff: 0x003f213c)

Load command dysymtab:
              local symbols: idx:          0  num: 19003    (nxtidx: 19003)
           external symbols: idx:      19003  num: 5080     (nxtidx: 24083)
          undefined symbols: idx:      24083  num: 558      (nxtidx: 24641)
           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: 0x003af900  num: 1781     (endoff: 0x003b14d4)
  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: ae 62 e3 2e fa 65 31 21 ba 4e bd 81 83 85 f8 a1

Load command unixthread: nflavours: 1
   0: flavour: 0x00000001  offset: 0x000006a0  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/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: /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-00000000001b0fff r-x]
01: __TEXT           __text           0000000000002650 0000000000155c63 80000400
02: __TEXT           __text_cold      00000000001582b3 0000000000000761 80000400
03: __TEXT           __text_startup   0000000000158a14 0000000000001339 80000400
04: __TEXT           __symbol_stub    0000000000159d4e 0000000000000c90 80000408
05: __TEXT           __stub_helper    000000000015a9e0 00000000000014fc 80000400
06: __TEXT           __cstring        000000000015bedc 0000000000014683 00000002
07: __TEXT           __const          0000000000170560 0000000000000838 00000000
08: __TEXT           __eh_frame       0000000000170d98 0000000000040268 00000000
[Segment __DATA           00000000001b1000-000000000038cfff rw-]
09: __DATA           __program_vars   00000000001b1000 0000000000000014 00000000
10: __DATA           __nl_symbol_ptr  00000000001b1014 0000000000000b14 00000006
11: __DATA           __la_symbol_ptr  00000000001b1b28 0000000000000860 00000007
12: __DATA           __data           00000000001b2390 00000000001956dc 00000000
13: __DATA           __const          0000000000347a70 0000000000001008 00000000
14: __DATA           __static_data    0000000000348a80 0000000000000031 00000000
15: __DATA           __bss4           0000000000348ac0 0000000000006554 00000001
16: __DATA           __bss2           000000000034f014 000000000002fb68 00000001
17: __DATA           __pu_bss2        000000000037eb7c 0000000000005414 00000001
18: __DATA           __pu_bss4        0000000000383f90 00000000000085e4 00000001
[Segment __LINKEDIT       000000000038d000-0000000000437fff r--]

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         00155c63  00002650  00002650  00001650  2**2
                  CONTENTS, ALLOC, LOAD, CODE
  1 __TEXT.__text_cold 00000761  001582b3  001582b3  001572b3  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 __TEXT.__text_startup 00001339  00158a14  00158a14  00157a14  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  3 __TEXT.__symbol_stub 00000c90  00159d4e  00159d4e  00158d4e  2**1
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  4 __TEXT.__stub_helper 000014fc  0015a9e0  0015a9e0  001599e0  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  5 .cstring      00014683  0015bedc  0015bedc  0015aedc  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .const        00000838  00170560  00170560  0016f560  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .eh_frame     00040268  00170d98  00170d98  0016fd98  2**3
                  CONTENTS, ALLOC, LOAD, READONLY
  8 __DATA.__program_vars 00000014  001b1000  001b1000  001b0000  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  9 .non_lazy_symbol_ptr 00000b14  001b1014  001b1014  001b0014  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 10 .lazy_symbol_ptr 00000860  001b1b28  001b1b28  001b0b28  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 11 .data         001956dc  001b2390  001b2390  001b1390  2**4
                  CONTENTS, ALLOC, LOAD, DATA
 12 .const_data   00001008  00347a70  00347a70  00346a70  2**4
                  CONTENTS, ALLOC, LOAD, DATA
 13 __DATA.__static_data 00000031  00348a80  00348a80  00347a80  2**4
                  CONTENTS, ALLOC, LOAD, DATA
 14 __DATA.__bss4 00006554  00348ac0  00348ac0  00000000  2**4
                  ALLOC
 15 __DATA.__bss2 0002fb68  0034f014  0034f014  00000000  2**2
                  ALLOC
 16 __DATA.__pu_bss2 00005414  0037eb7c  0037eb7c  00000000  2**2
                  ALLOC
 17 __DATA.__pu_bss4 000085e4  00383f90  00383f90  00000000  2**4
                  ALLOC
 18 LC_THREAD.x86_THREAD_STATE32.0 00000040  00000000  00000000  000006a0  2**0
                  CONTENTS
SYMBOL TABLE:


--
Mit friedvollen Grüßen

  Pete

No project was ever completed on time and within budget. 
				– Cheops Law





This bug report was last modified 10 years and 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.