unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
       [not found] <87k40cl74y.fsf@gnu.org>
@ 2012-05-16 17:53 ` Paul Eggert
  2012-05-16 22:09   ` Peter Dyballa
  2012-05-16 23:35   ` Peter Dyballa
  0 siblings, 2 replies; 17+ messages in thread
From: Paul Eggert @ 2012-05-16 17:53 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 9927

Peter, does bug 9927 also occur for Emacs 23?  We'd like
to know whether this bug is a regression and thus is vital
to fix before Emacs 24 comes out.  Thanks.

http://bugs.gnu.org/9927

http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00348.html


-------- Original Message --------
Subject: Re: Pretest/release plans
Date: Wed, 16 May 2012 19:03:57 +0800
From: Chong Yidong <cyd@gnu.org>
To: Glenn Morris <rgm@gnu.org>
CC: emacs-devel@gnu.org

Chong Yidong <cyd@gnu.org> writes:

> I think removing -no-cpp-precomp should be ok for emacs-24, if that is
> only for supporting a bug in a nearly 10-year-old vendor-modified
> compiler.  But could someone with access to Mac OS please first verify
> that emacs-24 builds when this change is made?

Actually, nevermind---I just saw your message that even with this
change, Emacs still doesn't dump with gcc-4.6 on OS X.  So it's not
worth it.

Does anyone know if Bug#9927 exists for Emacs 23 as well, or if it is an
Emacs 24 regression?






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  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
  1 sibling, 0 replies; 17+ messages in thread
From: Peter Dyballa @ 2012-05-16 22:09 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 9927


Am 16.05.2012 um 19:53 schrieb Paul Eggert:

> Peter, does bug 9927 also occur for Emacs 23?  We'd like
> to know whether this bug is a regression and thus is vital
> to fix before Emacs 24 comes out.  Thanks.
> 
> http://bugs.gnu.org/9927
> 
> http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00348.html


I re-installed Mac OS X recently and so my first installation of GCC 4.6 and others was removed. I started to reinstall. With a few dependencies it might take a few hours and maybe I go to sleep before all is finished – it's after midnight already in Europe.

Will it be OK if I compile GNU Emacs 23.4 as X client modified with the patches by YAMAMOTO Mitsuharu? (Which helps to build the native Mac OS X "AppKit" Emacs.)

--
Greetings

  Pete

Build a man a fire and he'll be warm for a night, but set a man on fire and he'll be warm for the rest of his life.






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  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
  1 sibling, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-05-16 23:35 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 9927


Am 16.05.2012 um 19:53 schrieb Paul Eggert:

> Peter, does bug 9927 also occur for Emacs 23?

Yes, this it the failure with GCC 4.6.3 for a 32-bit target on 64-bit hardware without --wide-int configure option in GNU Emacs 23.4 with the YAMAMOTO Mitsuharu patches applied:

	--- Header Information ---
	Magic = 0xfeedface
	CPUType = 7
	CPUSubType = 3
	FileType = 0x2
	NCmds = 25
	SizeOfCmds = 2564
	Flags = 0x01000085
	Highest address of load commands in input file: 0x441000
	Lowest offset of all sections in __TEXT segment:   0x15f4
	--- List of Load Commands in Input File ---
	# cmd              cmdsize name                address     size
	0 LC_SEGMENT             56 __PAGEZERO                0   0x1000
	1 LC_SEGMENT            600 __TEXT               0x1000 0x1ba000
	                           __text               0x25f4 0x156668
	                           __text_cold        0x158c5c    0x616
	                           __text_startup     0x159272   0x132e
	                           __symbol_stub      0x15a5a0    0xc90
	                           __stub_helper      0x15b230   0x14fc
	                           __cstring          0x15c72c  0x14683
	                           __const            0x170db0    0x820
	                           __eh_frame         0x1715d0  0x49a24
	2 LC_SEGMENT            736 __DATA             0x1bb000 0x1dc000
	                           __dyld             0x1bb000     0x1c
	                           __nl_symbol_ptr    0x1bb01c    0xb14
	                           __la_symbol_ptr    0x1bbb30    0x860
	                           __data             0x1bc390 0x1956dc
	                           __const            0x351a70   0x1008
	                           __static_data      0x352a80     0x31
	                           __bss4             0x352ac0   0x6424
	                           __bss2             0x358ee4  0x2fc68
	                           __pu_bss2          0x388b4c   0x5490
	                           __pu_bss4          0x38dfe0   0x8454
	3 LC_SEGMENT             56 __LINKEDIT         0x397000  0xaa000
	4 LC_DYLD_INFO_ONLY      48
	5 LC_SYMTAB              24
	6 LC_DYSYMTAB            80
	7 LC_LOAD_DYLINKER       28
	8 LC_UUID                24
	9 LC_UNIXTHREAD          80
	10 LC_LOAD_DYLIB          52
	11 LC_LOAD_DYLIB          52
	12 LC_LOAD_DYLIB          52
	13 LC_LOAD_DYLIB          52
	14 LC_LOAD_DYLIB          52
	15 LC_LOAD_DYLIB          52
	16 LC_LOAD_DYLIB          56
	17 LC_LOAD_DYLIB          56
	18 LC_LOAD_DYLIB          72
	19 LC_LOAD_DYLIB          68
	20 LC_LOAD_DYLIB          60
	21 LC_LOAD_DYLIB          48
	22 LC_LOAD_DYLIB          52
	23 LC_LOAD_DYLIB          56
	24 LC_LOAD_DYLIB          52
	 0x1cfc080 (sz:   0x3f1c/  0x3f20)
	 0x1c00000 (sz:  0xfc080/ 0xfc080)
	 0x18fc080 (sz:   0x3f1c/  0x3f20)
	 0x1800000 (sz:  0xfc080/ 0xfc080)
	 0x27f8000 (sz:   0x5316/  0x7f98)
	 0x2000000 (sz: 0x52f0d3/0x7f8000)
	  0xaef000 (sz:        0/  0x1000)
	--- Load Commands written to Output File ---
	Writing segment __PAGEZERO       @        0 (       0/  0x1000 @          0)
	Writing segment __TEXT           @        0 (0x1ba000/0x1ba000 @     0x1000)
	Writing segment __DATA           @ 0x1ba000 (0x1dc000/0x1dc000 @   0x1bb000)
	        section __dyld           at 0x1ba000 - 0x1ba01c (sz:     0x1c)
	        section __nl_symbol_ptr  at 0x1ba01c - 0x1bab30 (sz:    0xb14)
	        section __la_symbol_ptr  at 0x1bab30 - 0x1bb390 (sz:    0x860)
	        section __data           at 0x1bb390 - 0x350a6c (sz: 0x1956dc)
	        section __const          at 0x350a70 - 0x351a78 (sz:   0x1008)
	unexec: unrecognized section name in __DATA segment
	make[1]: *** [bootstrap-emacs] Error 1
	make[1]: Target `all' not remade because of errors.
	make: *** [src] Error 2
	make: Target `all' not remade because of errors.
	
	        Time spent in user mode   (CPU seconds) : 58.321s
	        Time spent in kernel mode (CPU seconds) : 2.891s
	        Total time                              : 1:15.72s
	        CPU utilisation (percentage)            : 80.8%
	Exit 2
	
	Compilation exited abnormally with code 2 at Thu May 17 01:27:46


I can try more 

--
Mit friedvollen Grüßen

  Pete      <\
             _\     O  _
            |o \  _\\_/-\='
_____________(_)|-(_)  (_)___________________________________






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-16 23:35   ` Peter Dyballa
@ 2012-05-17  6:35     ` Paul Eggert
  2012-05-17  8:36       ` Peter Dyballa
  0 siblings, 1 reply; 17+ messages in thread
From: Paul Eggert @ 2012-05-17  6:35 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 9927

On 05/16/2012 04:35 PM, Peter Dyballa wrote:
>> Peter, does bug 9927 also occur for Emacs 23?
> Yes

Thanks, in that case this bug is not a regression (i.e., it is not
new to Emacs 24) and so we can fix it in the trunk at our leisure
rather than worrying about fixing it quickly before Emacs 24 comes out.

I'm afraid that fixing it will require some expertise in Mac OS X and
its executable format, expertise that I do not have.





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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17  6:35     ` Paul Eggert
@ 2012-05-17  8:36       ` Peter Dyballa
  2012-05-17 10:58         ` Andreas Schwab
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-05-17  8:36 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 9927


Am 17.05.2012 um 08:35 schrieb Paul Eggert:

> 
> I'm afraid that fixing it will require some expertise in Mac OS X and
> its executable format, expertise that I do not have.


And neither me... Maybe it's not necessary to work hard on this: Apple prefers Clang and LLVM GCC 4.2 over GCC 4.5, 4.6, 4.7,... These produce files unexmacosx can handle.


Here is a slightly different failure when I use GCC 4.7.0:

	--- Header Information ---
	Magic = 0xfeedface
	CPUType = 7
	CPUSubType = 3
	FileType = 0x2
	NCmds = 25
	SizeOfCmds = 2564
	Flags = 0x01000085
	Highest address of load commands in input file: 0x438000
	Lowest offset of all sections in __TEXT segment:   0x1650
	--- List of Load Commands in Input File ---
	# cmd              cmdsize name                address     size
	0 LC_SEGMENT             56 __PAGEZERO                0   0x1000
	1 LC_SEGMENT            600 __TEXT               0x1000 0x1b0000
	                           __text               0x2650 0x155c63
	                           __text_cold        0x1582b3    0x761
	                           __text_startup     0x158a14   0x1339
	                           __symbol_stub      0x159d4e    0xc90
	                           __stub_helper      0x15a9e0   0x14fc
	                           __cstring          0x15bedc  0x14683
	                           __const            0x170560    0x838
	                           __eh_frame         0x170d98  0x40268
	2 LC_SEGMENT            736 __DATA             0x1b1000 0x1dc000
	                           __program_vars     0x1b1000     0x14
	                           __nl_symbol_ptr    0x1b1014    0xb14
	                           __la_symbol_ptr    0x1b1b28    0x860
	                           __data             0x1b2390 0x1956dc
	                           __const            0x347a70   0x1008
	                           __static_data      0x348a80     0x31
	                           __bss4             0x348ac0   0x6554
	                           __bss2             0x34f014  0x2fb68
	                           __pu_bss2          0x37eb7c   0x5414
	                           __pu_bss4          0x383f90   0x85e4
	3 LC_SEGMENT             56 __LINKEDIT         0x38d000  0xab000
	4 LC_DYLD_INFO_ONLY      48
	5 LC_SYMTAB              24
	6 LC_DYSYMTAB            80
	7 LC_LOAD_DYLINKER       28
	8 LC_UUID                24
	9 LC_UNIXTHREAD          80
	10 LC_LOAD_DYLIB          52
	11 LC_LOAD_DYLIB          52
	12 LC_LOAD_DYLIB          52
	13 LC_LOAD_DYLIB          52
	14 LC_LOAD_DYLIB          52
	15 LC_LOAD_DYLIB          52
	16 LC_LOAD_DYLIB          56
	17 LC_LOAD_DYLIB          56
	18 LC_LOAD_DYLIB          72
	19 LC_LOAD_DYLIB          68
	20 LC_LOAD_DYLIB          60
	21 LC_LOAD_DYLIB          48
	22 LC_LOAD_DYLIB          52
	23 LC_LOAD_DYLIB          56
	24 LC_LOAD_DYLIB          52
	 0x1cfc080 (sz:   0x3f1c/  0x3f20)
	 0x1c00000 (sz:  0xfc080/ 0xfc080)
	 0x18fc080 (sz:   0x3f1c/  0x3f20)
	 0x1800000 (sz:  0xfc080/ 0xfc080)
	 0x27f8000 (sz:   0x5316/  0x7f98)
	 0x2000000 (sz: 0x52f08b/0x7f8000)
	  0xae6000 (sz:        0/  0x1000)
	--- Load Commands written to Output File ---
	Writing segment __PAGEZERO       @        0 (       0/  0x1000 @          0)
	Writing segment __TEXT           @        0 (0x1b0000/0x1b0000 @     0x1000)
	Writing segment __DATA           @ 0x1b0000 (0x1dc000/0x1dc000 @   0x1b1000)
	        section __program_vars   at 0x1b0000 - 0x1b0014 (sz:     0x14)
	        section __nl_symbol_ptr  at 0x1b0014 - 0x1b0b28 (sz:    0xb14)
	        section __la_symbol_ptr  at 0x1b0b28 - 0x1b1388 (sz:    0x860)
	        section __data           at 0x1b1390 - 0x346a6c (sz: 0x1956dc)
	        section __const          at 0x346a70 - 0x347a78 (sz:   0x1008)
	unexec: unrecognized section name in __DATA segment
	make[1]: *** [bootstrap-emacs] Error 1
	make[1]: Target `all' not remade because of errors.
	make: *** [src] Error 2
	make: Target `all' not remade because of errors.

--
Greetings

  Pete

To most people solutions mean finding the answers. But to chemists solutions
are things that are still all mixed up.






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17  8:36       ` Peter Dyballa
@ 2012-05-17 10:58         ` Andreas Schwab
  2012-05-17 11:50           ` Peter Dyballa
  0 siblings, 1 reply; 17+ messages in thread
From: Andreas Schwab @ 2012-05-17 10:58 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Paul Eggert, 9927

Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:

> 	unexec: unrecognized section name in __DATA segment

What is the actual section name?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17 10:58         ` Andreas Schwab
@ 2012-05-17 11:50           ` Peter Dyballa
  2012-05-17 12:22             ` Andreas Schwab
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-05-17 11:50 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Paul Eggert, 9927


Am 17.05.2012 um 12:58 schrieb Andreas Schwab:

> Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:
> 
>> 	unexec: unrecognized section name in __DATA segment
> 
> What is the actual section name?


I can see in src/emacs produced by GCC 4.7.0:

	__PAGEZERO
	__TEXT
	__text
	__TEXT
	__text_cold
	__TEXT
	__text_startup
	__TEXT
	__symbol_stub
	__TEXT
	__stub_helper
	__TEXT
	__cstring
	__TEXT
	__const
	__TEXT
	__eh_frame
	__TEXT
	__DATA
	__program_vars
	__DATA
	__nl_symbol_ptr
	__DATA
	__la_symbol_ptr
	__DATA
	__data
	__DATA
	__const
	__DATA
	__static_data
	__DATA
	__bss4
	__DATA
	__bss2
	__DATA
	__pu_bss2
	__DATA
	__pu_bss4
	__DATA
	__LINKEDIT
	/usr/lib/dyld
	<div. shared libraries>

--
Mit friedvollen Grüßen

  Pete

And always remember the last words of my grandfather, who said: “A truck!”
				— Emo Phillips






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17 11:50           ` Peter Dyballa
@ 2012-05-17 12:22             ` Andreas Schwab
  2012-05-17 13:36               ` Peter Dyballa
  0 siblings, 1 reply; 17+ messages in thread
From: Andreas Schwab @ 2012-05-17 12:22 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Paul Eggert, 9927

Which of them are part of the data segment?

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17 12:22             ` Andreas Schwab
@ 2012-05-17 13:36               ` Peter Dyballa
  2012-05-17 14:05                 ` Andreas Schwab
  0 siblings, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-05-17 13:36 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Paul Eggert, 9927


Am 17.05.2012 um 14:22 schrieb Andreas Schwab:

> Which of them are part of the data segment?

I can't tell! I opened src/emacs in GNU Emacs and read and then copied the text strings sequentially. Can you tell me how to "parse" src/emacs?

--
Mit evolutionären Grüßen

  Pete


"Evolution"            o           __o                     _o _
          °\___o      /0~         -\<,              ^\___ /=\\_/-%
oo~_______ /\ /\______/ \_________O/ O_______________o===>-->O--o____






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  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
  0 siblings, 2 replies; 17+ messages in thread
From: Andreas Schwab @ 2012-05-17 14:05 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Paul Eggert, 9927

Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:

> Am 17.05.2012 um 14:22 schrieb Andreas Schwab:
>
>> Which of them are part of the data segment?
>
> I can't tell! I opened src/emacs in GNU Emacs and read and then copied the text strings sequentially. Can you tell me how to "parse" src/emacs?

objdump.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17 14:05                 ` Andreas Schwab
@ 2012-05-17 14:53                   ` Peter Dyballa
  2012-05-17 19:12                   ` Peter Dyballa
  1 sibling, 0 replies; 17+ messages in thread
From: Peter Dyballa @ 2012-05-17 14:53 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Paul Eggert, 9927


Am 17.05.2012 um 16:05 schrieb Andreas Schwab:

> objdump.

Great! It's not available for Mac OS X. It seems as if PowerPC hardware based Mac OS X has support. I'll try to install that and what it reveals – in case it builds...

--
Mit friedvollen Grüßen

  Pete

Es ist, glaub' ich, nichts so heiß, wie's gerne scheinen möchte.






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17 14:05                 ` Andreas Schwab
  2012-05-17 14:53                   ` Peter Dyballa
@ 2012-05-17 19:12                   ` Peter Dyballa
  2012-05-17 22:54                     ` Andreas Schwab
  1 sibling, 1 reply; 17+ messages in thread
From: Peter Dyballa @ 2012-05-17 19:12 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Paul Eggert, 9927

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






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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-17 19:12                   ` Peter Dyballa
@ 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>
  0 siblings, 2 replies; 17+ messages in thread
From: Andreas Schwab @ 2012-05-17 22:54 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Paul Eggert, 9927

Peter Dyballa <Peter_Dyballa@Freenet.DE> writes:

> src/emacs:     file format mach-o-i386

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

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."





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

* bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  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>
  1 sibling, 0 replies; 17+ messages in thread
From: Peter Dyballa @ 2012-05-17 23:08 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Paul Eggert, 9927


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






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

* Re: bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
       [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
  0 siblings, 2 replies; 17+ messages in thread
From: nyk @ 2012-05-30 22:10 UTC (permalink / raw)
  To: bug-gnu-emacs

Hi, any more news from this thread?  I reproduced Peter Dyballa's
output in his post on May 17, 2012, 4:36 am, using gcc 4.7 on OS
10.6.8, XQuartz 2.7.2_rc3, trying to install emacs 23.4  Is it
possible successfully to install earlier versions (I could not
configure with emacs 22.3).  Thanks for any updates about this bug fix.


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

* Re: bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-30 22:10                         ` nyk
@ 2012-05-30 23:23                           ` nyk
  2012-05-31  0:09                           ` nyk
  1 sibling, 0 replies; 17+ messages in thread
From: nyk @ 2012-05-30 23:23 UTC (permalink / raw)
  To: bug-gnu-emacs

On May 30, 6:10 pm, nyk <nancy...@gmail.com> wrote:
> Hi, any more news from this thread?  I reproduced Peter Dyballa's
> output in his post on May 17, 2012, 4:36 am, using gcc 4.7 on OS
> 10.6.8, XQuartz 2.7.2_rc3, trying to install emacs 23.4  Is it
> possible successfully to install earlier versions (I could not
> configure with emacs 22.3).  Thanks for any updates about this bug fix.

I tried to install emacs 23.4 on OS 10.6.8.  I edited the Makefile to
have cc=gcc-4.2, so everything compiled to completion.  However, upon
trying to run the resulting ./src/emacs or ./src/emacs-23.4, I get:

$ ./src/emacs-23.4.1
Fatal error (11)Segmentation fault

This is on a MacBook Pro that is pretty much a fresh install + updates
+ latest XQuartz.  Can anyone suggest a combination that will get me a
working Gnu emacs?  Thanks.


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

* Re: bug#9927: unexec/unexmacosx fails with GCC 4.6.1 on intel Mac OS X 10.6.8
  2012-05-30 22:10                         ` nyk
  2012-05-30 23:23                           ` nyk
@ 2012-05-31  0:09                           ` nyk
  1 sibling, 0 replies; 17+ messages in thread
From: nyk @ 2012-05-31  0:09 UTC (permalink / raw)
  To: bug-gnu-emacs

On May 30, 6:10 pm, nyk <nancy...@gmail.com> wrote:
> Hi, any more news from this thread?  I reproduced Peter Dyballa's
> output in his post on May 17, 2012, 4:36 am, using gcc 4.7 on OS
> 10.6.8, XQuartz 2.7.2_rc3, trying to install emacs 23.4  Is it
> possible successfully to install earlier versions (I could not
> configure with emacs 22.3).  Thanks for any updates about this bug fix.

Hi, I set the environment variables export CC=gcc-4.2, ran configure
and make.  Upon trying to run the resulting src/emacs or src/
emacs-23.4.1, I get:
 ./emacs-23.4.1
Fatal error (11)Segmentation fault

I tried the same with 23.3, same error.  Also tried gcc-4.0, but
couldn't make it through configure.  Can anyone suggest how I can
install a working emacs?  Thanks.


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

end of thread, other threads:[~2012-05-31  0:09 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87k40cl74y.fsf@gnu.org>
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
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).