Subject: bug#18677: 25.0.50; on PPC Mac OS X 10.4.11 (Tiger) build failure with GCC 4.8 and unexec

From: Peter Dyballa <[email-masked]>
Date: Fri, 10 Oct 2014 13:42:54 +0200

Hello!

In GNU Emacs 25.0.50.6 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
  of 2014-10-10 on tiger
Repository revision: 118080 [email-masked] 
dhgjku4gclzl71kj
Windowing system distributor `The X.Org Foundation', version  
11.0.11699001
Configured using:
  `configure --without-pop --without-sound --without-gpm --without-dbus
  --without-gconf --without-gsettings --without-selinux --without-xim
  --without-imagemagick --disable-acl --with-x-toolkit=athena
  --disable-ns-self-contained --x-libraries=/opt/local/lib
  --x-includes=/opt/local/include
  '--enable-locallisppath=/Library/Application
  Support/Emacs/calendar24:/Library/Application Support/Emacs'
  'CFLAGS=-Wa,-v -H -pipe -fPIC -fno-common -Os -faltivec -mcpu=7450
  -mtune=7450' 'LDFLAGS=-bind_at_load -t -v'
  PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/opt/local/share/ 
pkgconfig:/usr/X11/lib/pkgconfig:/usr/X11/share/pkgconfig:/usr/lib/ 
pkgconfig'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG RSVG NOTIFY GNUTLS LIBXML2 FREETYPE LIBOTF
XFT ZLIB

The failure is here:

	Dumping under the name emacs
	--- List of All Regions ---
	   address     size prot maxp
	         0   0x1000 none none
	    0x1000 0x1c6000 r x  rwx
	  0x1c7000 0x1c7000 rw   rwx
	  0x38e000  0x6f000 rw   rwx
	  0x3fd000  0x3f000 r    rwx
	  0x43c000  0x5e000 r x  rwx
	  0x49a000   0x3000 rw   rwx
	  0x49d000   0x9000 r    rwx
	  0x4a6000  0x2d000 r x  rwx
	  0x4d3000   0x1000 rw   rwx
	  0x4d4000   0x5000 r    rwx
	  0x4d9000   0x7000 r x  rwx
	  0x4e0000   0x1000 rw   rwx
	  0x4e1000   0x1000 r    rwx
	  0x4e2000   0xd000 r x  rwx
	  0x4ef000   0x1000 rw   rwx
	  0x4f0000   0x2000 r    rwx
	  0x4f2000   0x6000 r x  rwx
	  0x4f8000   0x1000 rw   rwx
	  0x4f9000   0x2000 r    rwx
	  0x4fb000   0x3000 r x  rwx
	  0x4fe000   0x1000 rw   rwx
	  0x4ff000   0x1000 r    rwx
	  0x500000 0x105000 rw   rwx
	  0x605000  0x27000 r x  rwx
	  0x62c000   0x1000 rw   rwx
	  0x62d000   0x6000 r    rwx
	  0x633000  0x37000 r x  rwx
	  0x66a000   0x5000 rw   rwx
	  0x66f000   0x1000 rw   rwx
	  0x670000  0x10000 r    rwx
	  0x680000  0x12000 r x  rwx
	  0x692000   0x1000 rw   rwx
	  0x693000   0x5000 r    rwx
	  0x698000  0x44000 r x  rwx
	  0x6dc000   0x3000 rw   rwx
	  0x6df000   0x1000 rw   rwx
	  0x6e0000   0xe000 r    rwx
	  0x6ee000  0x11000 r x  rwx
	  0x6ff000   0x1000 rw   rwx
	  0x700000   0x2000 rw   rwx
	  0x702000   0x4000 r    rwx
	  0x706000   0xe000 r x  rwx
	  0x714000   0x1000 rw   rwx
	  0x715000   0x3000 r    rwx
	  0x718000   0x8000 r x  rwx
	  0x720000   0x1000 rw   rwx
	  0x721000   0x2000 r    rwx
	  0x723000   0xf000 r x  rwx
	  0x732000   0x1000 rw   rwx
	  0x733000   0x3000 r    rwx
	  0x736000  0x30000 r x  rwx
	  0x766000   0x1000 rw   rwx
	  0x767000   0xa000 r    rwx
	  0x771000  0x1a000 r x  rwx
	  0x78b000   0x1000 rw   rwx
	  0x78c000   0x7000 r    rwx
	  0x793000  0x3e000 r x  rwx
	  0x7d1000   0x1000 rw   rwx
	  0x7d2000  0x10000 r    rwx
	  0x7e2000   0xa000 r x  rwx
	  0x7ec000   0x1000 rw   rwx
	  0x7ed000   0x2000 r    rwx
	  0x7ef000   0x9000 r x  rwx
	  0x7f8000   0x1000 rw   rwx
	  0x7f9000   0x2000 r    rwx
	  0x7fb000   0x2000 r x  rwx
	  0x7fd000   0x1000 rw   rwx
	  0x7fe000   0x1000 r    rwx
	  0x7ff000   0x1000 rw   rwx
	  0x800000 0x808000 rw   rwx
	 0x1008000   0x5000 r x  rwx
	 0x100d000   0x1000 rw   rwx
	 0x100e000   0x1000 r    rwx
	 0x100f000  0x40000 r x  rwx
	 0x104f000   0x3000 rw   rwx
	 0x1052000   0xb000 r    rwx
	 0x105d000  0x7a000 r x  rwx
	 0x10d7000   0x4000 rw   rwx
	 0x10db000  0x10000 r    rwx
	 0x10eb000  0x12000 r x  rwx
	 0x10fd000   0x1000 rw   rwx
	 0x10fe000   0x2000 r    rwx
	 0x1100000 0x105000 rw   rwx
	 0x1205000  0xfc000 r x  rwx
	 0x1301000   0x3000 rw   rwx
	 0x1304000  0x1a000 r    rwx
	 0x131e000 0x117000 r x  rwx
	--- List of Regions to be Dumped ---
	   address     size prot maxp
	         0   0x1000 none none
	    0x1000 0x1c6000 r x  rwx
	  0x1c7000 0x236000 rw   rwx
	  0x3fd000  0x3f000 r    rwx
	  0x43c000  0x5e000 r x  rwx
	  0x49a000   0x3000 rw   rwx
	  0x49d000   0x9000 r    rwx
	  0x4a6000  0x2d000 r x  rwx
	  0x4d3000   0x1000 rw   rwx
	  0x4d4000   0x5000 r    rwx
	  0x4d9000   0x7000 r x  rwx
	  0x4e0000   0x1000 rw   rwx
	  0x4e1000   0x1000 r    rwx
	  0x4e2000   0xd000 r x  rwx
	  0x4ef000   0x1000 rw   rwx
	  0x4f0000   0x2000 r    rwx
	  0x4f2000   0x6000 r x  rwx
	  0x4f8000   0x1000 rw   rwx
	  0x4f9000   0x2000 r    rwx
	  0x4fb000   0x3000 r x  rwx
	  0x4fe000   0x1000 rw   rwx
	  0x4ff000   0x1000 r    rwx
	  0x500000 0x105000 rw   rwx
	  0x605000  0x27000 r x  rwx
	  0x62c000   0x1000 rw   rwx
	  0x62d000   0x6000 r    rwx
	  0x633000  0x37000 r x  rwx
	  0x66a000   0x6000 rw   rwx
	  0x670000  0x10000 r    rwx
	  0x680000  0x12000 r x  rwx
	  0x692000   0x1000 rw   rwx
	  0x693000   0x5000 r    rwx
	  0x698000  0x44000 r x  rwx
	  0x6dc000   0x4000 rw   rwx
	  0x6e0000   0xe000 r    rwx
	  0x6ee000  0x11000 r x  rwx
	  0x6ff000   0x3000 rw   rwx
	  0x702000   0x4000 r    rwx
	  0x706000   0xe000 r x  rwx
	  0x714000   0x1000 rw   rwx
	  0x715000   0x3000 r    rwx
	  0x718000   0x8000 r x  rwx
	  0x720000   0x1000 rw   rwx
	  0x721000   0x2000 r    rwx
	  0x723000   0xf000 r x  rwx
	  0x732000   0x1000 rw   rwx
	  0x733000   0x3000 r    rwx
	  0x736000  0x30000 r x  rwx
	  0x766000   0x1000 rw   rwx
	  0x767000   0xa000 r    rwx
	  0x771000  0x1a000 r x  rwx
	  0x78b000   0x1000 rw   rwx
	  0x78c000   0x7000 r    rwx
	  0x793000  0x3e000 r x  rwx
	  0x7d1000   0x1000 rw   rwx
	  0x7d2000  0x10000 r    rwx
	  0x7e2000   0xa000 r x  rwx
	  0x7ec000   0x1000 rw   rwx
	  0x7ed000   0x2000 r    rwx
	  0x7ef000   0x9000 r x  rwx
	  0x7f8000   0x1000 rw   rwx
	  0x7f9000   0x2000 r    rwx
	  0x7fb000   0x2000 r x  rwx
	  0x7fd000   0x1000 rw   rwx
	  0x7fe000   0x1000 r    rwx
	  0x7ff000 0x809000 rw   rwx
	 0x1008000   0x5000 r x  rwx
	 0x100d000   0x1000 rw   rwx
	 0x100e000   0x1000 r    rwx
	 0x100f000  0x40000 r x  rwx
	 0x104f000   0x3000 rw   rwx
	 0x1052000   0xb000 r    rwx
	 0x105d000  0x7a000 r x  rwx
	 0x10d7000   0x4000 rw   rwx
	 0x10db000  0x10000 r    rwx
	 0x10eb000  0x12000 r x  rwx
	 0x10fd000   0x1000 rw   rwx
	 0x10fe000   0x2000 r    rwx
	 0x1100000 0x105000 rw   rwx
	 0x1205000  0xfc000 r x  rwx
	 0x1301000   0x3000 rw   rwx
	 0x1304000  0x1a000 r    rwx
	 0x131e000 0x117000 r x  rwx
	--- Header Information ---
	Magic = 0xfeedface
	CPUType = 18
	CPUSubType = 11
	FileType = 0x2
	NCmds = 46
	SizeOfCmds = 4088
	Flags = 0x0000008d
	Highest address of load commands in input file: 0x43c000
	Lowest offset of all sections in __TEXT segment:   0x2b84
	--- List of Load Commands in Input File ---
	# cmd              cmdsize name                address     size
	0 LC_SEGMENT             56 __PAGEZERO                0   0x1000
	1 LC_SEGMENT            464 __TEXT               0x1000 0x1c6000
	                           __text               0x3b84 0x1a5fc0
	                           __symbol_stub1     0x1a9b44   0x2af0
	                           __cstring          0x1ac634  0x18ab9
	                           __const            0x1c50f0    0x908
	                           __text_cold        0x1c59f8    0x344
	                           __text_startup     0x1c5d3c   0x12c4
	2 LC_SEGMENT            940 __DATA             0x1c7000 0x236000
	                           __dyld             0x1c7000      0x8
	                           __nl_symbol_ptr    0x1c7008    0x8f0
	                           __la_symbol_ptr    0x1c78f8    0xabc
	                           __const            0x1c83b8   0x27ec
	                           __data             0x1caba8 0x1c24a4
	                           __static_data      0x38d04c      0xd
	                           __common           0x38d05c     0x3c
	                           __bss2             0x38d098  0x6463c
	                           __pu_bss2          0x3f16d4   0xae70
	                           __bss3             0x3fc548     0x28
	                           __bss1             0x3fc570      0xa
	                           __pu_bss3          0x3fc580    0x418
	                           __bss              0x3fc998     0x71
	3 LC_SEGMENT             56 __LINKEDIT         0x3fd000  0x3f000
	4 LC_SYMTAB              24
	5 LC_DYSYMTAB            80
	6 LC_LOAD_DYLINKER       28
	7 LC_UUID                24
	8 LC_UNIXTHREAD         176
	9 LC_LOAD_DYLIB          56
	10 LC_LOAD_DYLIB          56
	11 LC_LOAD_DYLIB          60
	12 LC_LOAD_DYLIB          56
	13 LC_LOAD_DYLIB          56
	14 LC_LOAD_DYLIB          56
	15 LC_LOAD_DYLIB          56
	16 LC_LOAD_DYLIB          56
	17 LC_LOAD_DYLIB          56
	18 LC_LOAD_DYLIB          56
	19 LC_LOAD_DYLIB          56
	20 LC_LOAD_DYLIB          56
	21 LC_LOAD_DYLIB          60
	22 LC_LOAD_DYLIB          56
	23 LC_LOAD_DYLIB          60
	24 LC_LOAD_DYLIB          60
	25 LC_LOAD_DYLIB          68
	26 LC_LOAD_DYLIB          64
	27 LC_LOAD_DYLIB          60
	28 LC_LOAD_DYLIB          56
	29 LC_LOAD_DYLIB          56
	30 LC_LOAD_DYLIB          60
	31 LC_LOAD_DYLIB          60
	32 LC_LOAD_DYLIB          60
	33 LC_LOAD_DYLIB          56
	34 LC_LOAD_DYLIB          60
	35 LC_LOAD_DYLIB          60
	36 LC_LOAD_DYLIB          64
	37 LC_LOAD_DYLIB          52
	38 LC_LOAD_DYLIB          56
	39 LC_LOAD_DYLIB         100
	40 LC_LOAD_DYLIB         112
	41 LC_LOAD_DYLIB          56
	42 LC_LOAD_DYLIB          60
	43 LC_LOAD_DYLIB          52
	44 LC_LOAD_DYLIB          64
	45 LC_LOAD_DYLIB          52
	 0x3400000 (sz:   0x23ef/  0x5000)
	 0x3300000 (sz:  0x1f514/0x100000)
	 0x4000000 (sz:   0x49a2/  0x8000)
	 0x3800000 (sz: 0x49a000/0x800000)
	 0x27eb000 (sz:   0x3fff/  0x5000)
	 0x27e6000 (sz:   0x3fff/  0x5000)
	 0x27e1000 (sz:   0x3fff/  0x5000)
	 0x27dc000 (sz:   0x3fff/  0x5000)
	 0x30f7000 (sz:   0x3fff/  0x5000)
	 0x30f2000 (sz:   0x3fff/  0x5000)
	 0x30ed000 (sz:   0x3fff/  0x5000)
	 0x30e8000 (sz:   0x3fff/  0x5000)
	 0x30e3000 (sz:   0x3fff/  0x5000)
	 0x30de000 (sz:   0x3fff/  0x5000)
	 0x3098000 (sz:   0x3fff/  0x5000)
	 0x3093000 (sz:   0x3fff/  0x5000)
	 0x308c000 (sz:   0x639e/  0x7000)
	 0x3085000 (sz:   0x6392/  0x7000)
	 0x3080000 (sz:   0x3fff/  0x5000)
	 0x307b000 (sz:   0x3fff/  0x5000)
	 0x3076000 (sz:   0x3fff/  0x5000)
	 0x3270000 (sz:   0x3fff/  0x5000)
	 0x3071000 (sz:   0x3fff/  0x5000)
	 0x326b000 (sz:   0x3fff/  0x5000)
	 0x306c000 (sz:   0x3fff/  0x5000)
	 0x3067000 (sz:   0x3fff/  0x5000)
	 0x3266000 (sz:   0x3fff/  0x5000)
	 0x3062000 (sz:   0x3fff/  0x5000)
	 0x3261000 (sz:   0x3fff/  0x5000)
	 0x305d000 (sz:   0x3fff/  0x5000)
	 0x3058000 (sz:   0x3fff/  0x5000)
	 0x3255000 (sz:   0x3fff/  0x5000)
	 0x3053000 (sz:   0x3fff/  0x5000)
	 0x3250000 (sz:   0x3fff/  0x5000)
	 0x304e000 (sz:   0x3fff/  0x5000)
	 0x324b000 (sz:   0x3fff/  0x5000)
	 0x3049000 (sz:   0x3fff/  0x5000)
	 0x3246000 (sz:   0x3fff/  0x5000)
	 0x3044000 (sz:   0x3fff/  0x5000)
	 0x3241000 (sz:   0x3fff/  0x5000)
	 0x303f000 (sz:   0x3fff/  0x5000)
	 0x323c000 (sz:   0x3fff/  0x5000)
	 0x303a000 (sz:   0x3fff/  0x5000)
	 0x3237000 (sz:   0x3fff/  0x5000)
	 0x3035000 (sz:   0x3fff/  0x5000)
	 0x3232000 (sz:   0x3fff/  0x5000)
	 0x3030000 (sz:   0x3fff/  0x5000)
	 0x322d000 (sz:   0x3fff/  0x5000)
	 0x302b000 (sz:   0x3fff/  0x5000)
	 0x3228000 (sz:   0x3fff/  0x5000)
	 0x3026000 (sz:   0x3fff/  0x5000)
	 0x3223000 (sz:   0x3fff/  0x5000)
	 0x3021000 (sz:   0x3fff/  0x5000)
	 0x321e000 (sz:   0x3fff/  0x5000)
	 0x301c000 (sz:   0x3fff/  0x5000)
	 0x3219000 (sz:   0x3fff/  0x5000)
	 0x3017000 (sz:   0x3fff/  0x5000)
	 0x3214000 (sz:   0x3fff/  0x5000)
	 0x3012000 (sz:   0x3fff/  0x5000)
	 0x320f000 (sz:   0x3fff/  0x5000)
	 0x300d000 (sz:   0x3fff/  0x5000)
	 0x320a000 (sz:   0x3fff/  0x5000)
	 0x3008000 (sz:   0x3fff/  0x5000)
	 0x3205000 (sz:   0x3fff/  0x5000)
	 0x27fa000 (sz:   0x3fff/  0x5000)
	 0x27f5000 (sz:   0x3fff/  0x5000)
	 0x27f0000 (sz:   0x3fff/  0x5000)
	--- Load Commands written to Output File ---
	Writing segment __PAGEZERO       @        0 (       0/  0x1000  
@          0)
	Writing segment __TEXT           @        0 (0x1c6000/0x1c6000 @      
0x1000)
	Writing segment __DATA           @ 0x1c6000 (0x236000/0x236000 @    
0x1c7000)
	        section __dyld           at 0x1c6000 - 0x1c6008 (sz:      0x8)
	        section __nl_symbol_ptr  at 0x1c6008 - 0x1c68f8 (sz:    0x8f0)
	        section __la_symbol_ptr  at 0x1c68f8 - 0x1c73b4 (sz:    0xabc)
	        section __const          at 0x1c73b8 - 0x1c9ba4 (sz:   0x27ec)
	        section __data           at 0x1c9ba8 - 0x38c04c (sz: 0x1c24a4)
	        section __static_data    at 0x38c04c - 0x38c059 (sz:      0xd)
	        section __common         at 0x38c05c - 0x38c098 (sz:     0x3c)
	        section __bss2           at 0x38c098 - 0x3f06d4 (sz:  0x6463c)
	        section __pu_bss2        at 0x3f06d4 - 0x3fb544 (sz:   0xae70)
	        section __bss3           at 0x3fb548 - 0x3fb570 (sz:     0x28)
	        section __bss1           at 0x3fb570 - 0x3fb57a (sz:      0xa)
	        section __pu_bss3        at 0x3fb580 - 0x3fb998 (sz:    0x418)
	unexec: my_endbss_static is not in section __bss
	make[1]: *** [bootstrap-emacs] Error 1
	make: *** [src] Error 2

The build completes with GCC 4.2.

--
Greetings

   Pete
               <\
                 \__     O                       __O
                 | O\   _\\/\-%                _`\<,
                 '()-'-(_)--(_)               (_)/(_)