Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 384581

Summary: app-editors/emacs-23.3-r2: emerge failed with error unexec: my_endbss_static is not in section __bss
Product: Gentoo/Alt Reporter: Wang Bin <wangbin.zibo>
Component: Mac OSXAssignee: Gentoo Prefix <prefix>
Status: RESOLVED OBSOLETE    
Severity: normal CC: johan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: OS X   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: full build.log

Description Wang Bin 2011-09-27 02:12:10 UTC
emerge =app-editors/emacs-23.3-r2, got following errors:

Dumping under the name emacs
--- List of All Regions ---
   address     size prot maxp
         0  0x1f000 none none
   0x1f000 0x14f000 r x  rwx 
  0x16e000 0x196000 rw   rwx 
  0x304000  0x41000 rw   rwx 
  0x345000  0x48000 r    rwx 
  0x38d000   0x1000 r    rwx 
  0x38e000   0x1000 rw   rwx 
  0x38f000  0x31000 r x  rwx 
  0x3c0000   0x3000 rw   rwx 
  0x3c3000   0x8000 r    rwx 
  0x3cb000   0x1000 none rwx 
  0x3cc000   0xb000 rw   rwx 
  0x3d7000   0x1000 none rwx 
  0x3d8000   0x1000 none rwx 
  0x3d9000   0xb000 rw   rwx 
  0x3e4000   0x1000 none rwx 
  0x3e5000   0x1000 r    rwx 
  0x3e6000   0x1000 r    rwx 
  0x3e7000   0x1000 rw   rwx 
  0x3e8000   0x1000 none rwx 
  0x3e9000   0xb000 rw   rwx 
  0x3f4000   0x1000 none rwx 
  0x3f5000   0x1000 r    rw  
  0x3f6000   0x1000 rw   rwx 
  0x400000 0x100000 rw   rwx 
  0x500000 0x400000 rw   rwx 
  0x900000   0x1000 none rwx 
  0x901000   0xb000 rw   rwx 
  0x90c000   0x1000 none rwx 
  0x90d000  0xc1000 rw   rwx 
  0x9ce000 0x126000 rw   rwx 
  0xaf4000  0x41000 rw   rwx 
--- List of Regions to be Dumped ---
   address     size prot maxp
         0  0x1f000 none none
   0x1f000 0x14f000 r x  rwx 
  0x16e000 0x1d7000 rw   rwx 
  0x345000  0x49000 r    rwx 
  0x38e000   0x1000 rw   rwx 
  0x38f000  0x31000 r x  rwx 
  0x3c0000   0x3000 rw   rwx 
  0x3c3000   0x8000 r    rwx 
  0x3cb000   0x1000 none rwx 
  0x3cc000   0xb000 rw   rwx 
  0x3d7000   0x2000 none rwx 
  0x3d9000   0xb000 rw   rwx 
  0x3e4000   0x1000 none rwx 
  0x3e5000   0x2000 r    rwx 
  0x3e7000   0x1000 rw   rwx 
  0x3e8000   0x1000 none rwx 
  0x3e9000   0xb000 rw   rwx 
  0x3f4000   0x1000 none rwx 
  0x3f5000   0x1000 r    rw  
  0x3f6000   0x1000 rw   rwx 
  0x400000 0x500000 rw   rwx 
  0x900000   0x1000 none rwx 
  0x901000   0xb000 rw   rwx 
  0x90c000   0x1000 none rwx 
  0x90d000 0x228000 rw   rwx 
--- Header Information ---
Magic = 0xfeedface
CPUType = 7
CPUSubType = 3
FileType = 0x2
NCmds = 14
SizeOfCmds = 1548
Flags = 0x01200085
Highest address of load commands in input file: 0x36f000
Lowest offset of all sections in __TEXT segment:   0x11dc
--- 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 0x14f000
                           __text               0x21dc 0x13b767
                           __symbol_stub      0x13d944    0x4c8
                           __stub_helper      0x13de0c    0x804
                           __cstring          0x13e610  0x114d0
                           __const            0x14fae0    0x4c0
                           __unwind_info      0x14ffa0     0x48
2 LC_SEGMENT            532 __DATA             0x150000 0x1d7000
                           __program_vars     0x150000     0x14
                           __nl_symbol_ptr    0x150014   0x1610
                           __la_symbol_ptr    0x151624    0x330
                           __data             0x151960 0x1938ac
                           __const            0x2e5220    0xc08
                           __common           0x2e5e40   0xb4c1
                           __bss              0x2f1320  0x34cf9
3 LC_SEGMENT             56 __LINKEDIT         0x327000  0x48000
4 LC_DYLD_INFO_ONLY      48
5 LC_SYMTAB              24
6 LC_DYSYMTAB            80
7 LC_LOAD_DYLINKER       28
8 LC_UUID                24
9 unknown                16
10 LC_UNIXTHREAD          80
11 LC_LOAD_DYLIB          72
12 LC_LOAD_DYLIB          52
13 unknown                16
0x68efc080 (sz:   0x3f21/  0x3f24)
0x68e00000 (sz:  0xfc07f/ 0xfc080)
0x6a0fc080 (sz:   0x3f21/  0x3f24)
0x6a000000 (sz:  0xfc06f/ 0xfc080)
0x69ff8000 (sz:   0x5b76/  0x7f9c)
0x69800000 (sz: 0x5b57ff/0x7f8000)
  0x3f6000 (sz:        0/  0x1000)
--- Load Commands written to Output File ---
Writing segment __PAGEZERO       @        0 (       0/  0x1000 @          0)
Writing segment __TEXT           @        0 (0x14f000/0x14f000 @     0x1000)
Writing segment __DATA           @ 0x14f000 (0x1d7000/0x1d7000 @   0x150000)
        section __program_vars   at 0x14f000 - 0x14f014 (sz:     0x14)
        section __nl_symbol_ptr  at 0x14f014 - 0x150624 (sz:   0x1610)
        section __la_symbol_ptr  at 0x150624 - 0x150954 (sz:    0x330)
        section __data           at 0x150960 - 0x2e420c (sz: 0x1938ac)
        section __const          at 0x2e4220 - 0x2e4e28 (sz:    0xc08)
        section __common         at 0x2e4e40 - 0x2f0301 (sz:   0xb4c1)
unexec: my_endbss_static is not in section __bss
make[1]: *** [bootstrap-emacs] Error 1
make[1]: Leaving directory `/Users/wangbin/Gentoo/var/tmp/portage/app-editors/emacs-23.3-r2/work/emacs-23.3/src'
make: *** [src] Error 2

Reproducible: Always




Portage 2.2.01.19295-prefix (prefix/darwin/macos/10.7/x86, gcc-4.2.1, unavailable, 11.1.0 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Darwin-11.1.0-x86_64-i386-32bit
Timestamp of tree: Tue, 27 Sep 2011 01:10:16 +0000
distcc 3.1-toolwhip.1 i386-apple-darwin11.0 [disabled]
app-shells/bash:      4.2_p10
dev-lang/python:      2.7.2
dev-util/cmake:       2.8.5-r2
dev-util/pkgconfig:   0.25-r2
sys-devel/autoconf:   2.68
sys-devel/automake:   1.11.1
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:    2.4-r01.1
sys-devel/make:       3.82
Repositories: gentoo_prefix wangbin hongqn
Installed sets: 
ACCEPT_KEYWORDS="~x86-macos"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-apple-darwin11"
CFLAGS="-O2 -pipe -march=prescott"
CHOST="i686-apple-darwin11"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=prescott"
DISTDIR="/Users/wangbin/Gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-dead_strip_dylibs"
PKGDIR="/Users/wangbin/Gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/wangbin/Gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Users/wangbin/Gentoo/var/tmp"
PORTDIR="/Users/wangbin/Gentoo/usr/portage"
PORTDIR_OVERLAY="/Users/wangbin/Gentoo/var/lib/layman/wangbin /Users/wangbin/Gentoo/var/lib/layman/hongqn"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aqua bash-completion coreaudio cracklib curl cxx emacs jpeg mmx mmxext modules ncurses nls objc objc++ prefix python readline smp sqlite sse sse2 ssl subversion unicode x86-macos zlib" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-editors/emacs-23.3-r2 was built with the following:
USE="jpeg (prefix) xpm -X -Xaw3d (-alsa) -aqua -dbus -gconf -gif (-gpm) -gtk -gzip-el (-hesiod) -kerberos -livecd (-m17n-lib) -motif -png -sound -source -svg -tiff -toolkit-scroll-bars -xft"
CFLAGS="-O2 -pipe -march=prescott -fno-strict-aliasing"
CXXFLAGS="-O2 -pipe -march=prescott -fno-strict-aliasing"
Comment 1 Wang Bin 2011-09-27 02:13:19 UTC
Created attachment 287855 [details]
full build.log
Comment 2 Wang Bin 2011-10-12 04:02:58 UTC
I tried app-editors/emacs-vcs-24.0.90, and succeed without this error.
Comment 3 Johan Hattne 2011-10-29 00:02:17 UTC
I cannot reproduce this problem, but I wonder whether it in any way is related to #388817?
Comment 4 Wang Bin 2011-10-31 03:04:33 UTC
I tried emerge emacs-23.3-r2 with the patch from #388817, but still get the same error, I think this might not be the same problem.
Comment 5 Fabian Groffen gentoo-dev 2017-11-14 14:38:34 UTC
I'm assuming the current situation is different.