I have verified that this package works for ppc64. Please add the ~ppc64 KEYWORDS to app-editors/xemacs-21.4.12. my USE Flag is "X gtk gtk2 altivec usb ppc64 -gnome cjk jpeg gif png tiff truetype mad oggvorbis nls". This package depends... (Please add the ~ppc64 KEYWORDS) app-xemacs/xemacs-base-1.75 app-xemacs/edebug-1.15 app-xemacs/fsf-compat-1.12 app-xemacs/apel-1.26 app-xemacs/sh-script-1.17 app-xemacs/ecrypto-0.12 app-xemacs/eterm-1.13 app-xemacs/mail-lib-1.56 app-xemacs/w3-1.28 app-xemacs/vm-7.07 app-xemacs/supercite-1.19 app-xemacs/bbdb-1.21 app-xemacs/net-utils-1.32 app-xemacs/cookie-1.14 app-xemacs/mailcrypt-2.12 app-xemacs/gnus-1.71 app-xemacs/speedbar-1.26 app-xemacs/mh-e-1.17 app-xemacs/tm-1.35 app-xemacs/rmail-1.13 app-xemacs/xemacs-ispell-1.24 app-xemacs/xemacs-devel-1.50 app-xemacs/edit-utils-1.98 app-xemacs/elib-1.10 app-xemacs/pcl-cvs-1.64 app-xemacs/ediff-1.46 app-xemacs/vc-1.35 app-xemacs/cc-mode-1.32 app-xemacs/ilisp-1.29 app-xemacs/emerge-1.09 app-xemacs/prog-modes-1.72 app-xemacs/dired-1.13 app-xemacs/efs-1.29
Created attachment 35476 [details, diff] patch for xemacs ebuild
oops. I forgot. Please add the following contents to /usr/portage/profiles/default-ppc64-2004.2/virtuals. virtual/xemacs app-editors/xemacs
Say Yuta which toolchain are you using and what does your make.conf file look like? I'm getting the following on this: gcc -c -O2 -Demacs -I. -DHAVE_CONFIG_H -I/usr/X11R6/include dump-id.c gcc -O2 -L/usr/X11R6/lib -Wl,-export-dynamic -o xemacs abbrev.o alloc.o blocktype.o buffer.o bytecode.o callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o cmds.o console.o console-stream.o data.o device.o dired.o doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o eval.o events.o filelock.o dumper.o balloon_help.o balloon-x.o menubar.o scrollbar.o dialog.o toolbar.o menubar-x.o scrollbar-x.o dialog-x.o toolbar-x.o gui-x.o realpath.o inline.o linuxplay.o miscplay.o console-tty.o device-tty.o event-tty.o frame-tty.o objects-tty.o redisplay-tty.o cm.o terminfo.o gpmevent.o event-unixoid.o database.o sysdll.o emodules.o process-unix.o event-stream.o extents.o faces.o fileio.o filemode.o floatfns.o fns.o font-lock.o frame.o general.o glyphs.o glyphs-eimage.o glyphs-widget.o gui.o gutter.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o objects.o opaque.o print.o process.o profile.o rangetab.o redisplay.o redisplay-output.o regex.o search.o select.o signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o undo.o console-x.o device-x.o event-Xt.o frame-x.o glyphs-x.o objects-x.o redisplay-x.o select-x.o xgccache.o widget.o window.o lastfile.o vm-limit.o EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o dump-id.o ../lwlib/liblw.a -lXm -lpng -ljpeg -lz -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lgdbm -lgpm -lncurses -lm -lutil ./xemacs -nd -batch -l /var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src/../lisp/update-elc.el make[1]: *** [update-elc.stamp] Segmentation fault make[1]: Leaving directory `/var/tmp/portage/xemacs-21.4.12/work/xemacs-21.4.12/src' make: *** [src] Error 2 !!! ERROR: app-editors/xemacs-21.4.12 failed. And that's just with a -O2 setting!
ok. please see. # gcc -v Reading specs from /usr/lib/gcc/powerpc64-unknown-linux-gnu/3.4.0/specs Configured with: /var/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/configure --prefix =/usr --bindir=/usr/powerpc64-unknown-linux-gnu/gcc-bin/3.4 --includedir=/usr/li b/gcc/powerpc64-unknown-linux-gnu/3.4.0/include --datadir=/usr/share/gcc-data/po werpc64-unknown-linux-gnu/3.4 --mandir=/usr/share/gcc-data/powerpc64-unknown-lin ux-gnu/3.4/man --infodir=/usr/share/gcc-data/powerpc64-unknown-linux-gnu/3.4/inf o --enable-shared --host=powerpc64-unknown-linux-gnu --target=powerpc64-unknown- linux-gnu --with-system-zlib --enable-languages=c,c++,f77 --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-c stdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/l ib/gcc/powerpc64-unknown-linux-gnu/3.4.0/include/g++-v3 --with-local-prefix=/usr /local --disable-werror --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.0 20040601 (Gentoo Linux 3.4.0-r6, ssp-3.4-2, pie-8.7.6.3) and emerge info output: Portage 2.0.50-r9 (default-ppc64-2004.2, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 ppc64 PPC970, altivec supported Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc64" AUTOCLEAN="yes" CFLAGS="-O2 -pipe" CHOST="powerpc64-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3 /share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache digest noclean sandbox" GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/ http://gentoo.gg3.net/" MAKEOPTS="-j5" PKGDIR="/var/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage.ppc64" SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" USE="X alsa altivec berkdb cdr cjk cups dvd emacs f77 foomaticdb gdbm gif gpm gt k gtk2 imlib jpeg kde libwww mad mitshm motif mule nls oggvorbis oss pam perl pn g ppc64 python qt readline sdl slang ssl tcpd tiff truetype usb xmms xv"
Thanks Yuta! x - fsf-compat x - apel x - mule-base x - app-xemacs/xemacs-base-1.75 x - app-xemacs/edebug-1.15 x- app-xemacs/sh-script-1.17 x- app-xemacs/ecrypto-0.12 x- app-xemacs/eterm-1.13 x- app-xemacs/mail-lib-1.56 x- cdapp-xemacs/w3-1.28 x- app-xemacs/vm-7.07 x - app-xemacs/supercite-1.19 x - app-xemacs/bbdb-1.21 x - emerapp-xemacs/net-utils-1.32 x - app-xemacs/cookie-1.14 x - app-xemacs/mailcrypt-2.12 x - app-xemacs/gnus-1.71 x - app-xemacs/speedbar-1.26 x - emeapp-xemacs/mh-e-1.17 x - app-xemacs/tm-1.35 x - app-xemacs/rmail-1.13 x - popdapp-xemacs/xemacs-ispell-1.24 x - app-xemacs/xemacs-devel-1.50 x - app-xemacs/edit-utils-1.98 x - app-xemacs/elib-1.10 x app-xemacs/pcl-cvs-1.64 x - app-xemacs/ediff-1.46 x - app-xemacs/vc-1.35 x - stapp-xemacs/cc-mode-1.32 x- app-xemacs/ilisp-1.29 x - app-xemacs/emerge-1.09 x - app-xemacs/prog-modes-1.72 x - app-xemacs/dired-1.13 x - app-xemacs/efs-1.29
stick a fork in it!