Portage 2.1.6.7 (default/linux/sh/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.16-sh-grsec sh4) ================================================================= System uname: Linux-2.6.16-sh-grsec-sh4-SH7751R-with-glibc2.2 Timestamp of tree: Fri, 13 Mar 2009 16:00:05 +0000 distcc 3.0 sh4-unknown-linux-gnu [enabled] app-shells/bash: 3.2_p39 dev-lang/python: 2.4.4-r6, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r8 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.7.9-r1, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="sh" CBUILD="sh4-unknown-linux-gnu" CFLAGS="-O2 -m4 -pipe" CHOST="sh4-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -m4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://raptor.gentoo.org/gentoo-portage" USE="X acl acpi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt dbus dvd dvdr dvdread emboss encode evo fam fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog jpeg mad midi mikmod mp3 mpeg mudflap ncurses nls nossp nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session sh spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xml xorg xulrunner xv zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Will post build logs as attachments Btw, this is not using distcc, as it fails in a worse way :)
Created attachment 184895 [details] emacs-cvs-23.0.9999-r1.build.log
(In reply to comment #1) > Created an attachment (id=184895) [edit] > emacs-cvs-23.0.9999-r1.build.log > It hangs there for days. root 1131 0.0 0.7 2440 996 pts/2 S+ 17:44 0:00 make - --jobser ver-fds=3,4 -j info all root 1326 0.0 0.6 3484 820 pts/2 S+ 17:50 0:00 /bin/sh -c boot =bootstrap-emacs; \?if [ ! -x "src/$boot" ]; then \? cd src; make all -w --jobserver-fds=3,4 - -- jobserver-fds=3,4 -j \? CC='sh4-unknown- linux-gnu-gcc' CFLAGS='-O2 -pipe' CPPFLAGS='-D_BSD_SOURCE ' \? LDF LAGS='-Wl,-O1 -Wl,-znocombreloc' MAKE='make' BOOTSTRAPEMACS="$boot"; \?fi; root 1327 0.0 1.0 2700 1336 pts/2 S+ 17:50 0:00 make all -w --j observer-fds=3,4 - --jobserver-fds=3,4 -j CC=sh4-unknown-linux-gnu-gcc CFLAGS=- O2 -pipe CPPFLAGS=-D_BSD_SOURCE LDFLAGS=-Wl,-O1 -Wl,-znocombreloc MAKE=make BO OTSTRAPEMACS=bootstrap-emacs root 1585 65.3 5.6 11444 7180 pts/2 R+ 18:28 5:47 /var/tmp/portag e/app-editors/emacs-cvs-23.0.9999-r1/work/emacs/src/temacs --batch --load loadup bootstrap
Created attachment 184903 [details] emacs-cvs-23.0.91.build.log This is with emacs-cvs-23.0.91.
So i tried with a git checkout, and i bisected it to this commit: http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=commitdiff;h=2cca1253c9cc30fc7be3231b478e8b6859ef7600 If i revert that commit into a current checkout, it passes from that point, *however*, fails here: Compiling quail/quick-cns.el Fatal error (11)make[2]: *** [quail/quick-cns.elc] Segmentation fault make[2]: Leaving directory `/root/cvs/emacs/leim' make[1]: *** [leim] Error 2 make[1]: Leaving directory `/root/cvs/emacs' make: *** [bootstrap] Error 2 I remember that it worked back in october. Will investigate a bit more.
More info... From here: http://git.savannah.gnu.org/gitweb/?p=emacs.git;a=log;h=2cca1253c9cc30fc7be3231b478e8b6859ef7600;pg=0 Commit 9759cfa4c8a06c942da53b2c43d3c0e8572e3ef2((hash_get_category_set): New function.) WORKS. After that one(commits are listed from newer -> old, i.e, changes have been done from down to up), i get build failures, until the commit i said on comment #4, which hangs.
Created attachment 186538 [details, diff] Partial revert of "bad" commit fyi: This partial revert allowed me to complete the bootstrap and finish build on AIX
As i said on the upstream bug, with the fix proposed by Ulrich, after debugging from Pierre, it doesn't hang on that place, yet i get a Bus error on the same place as comment #4. Fun! I'll open a new bug later
Okay, the hang was fixed with the patch attached upstream, and the sigbus/segfault/things were fixed with forcing it to compile to -O0. Ulrich already added this patch and the replace-flags command to the ebuild. Therefore we can close this.
Patch accepted upstream: <http://cvs.savannah.gnu.org/viewvc/emacs/src/s/gnu-linux.h?root=emacs&r1=1.116&r2=1.117>