... on ppc, and supposedly other architectures. And supposedly <=i486
The compile time options
-minline-all-stringops
-malign-double
are arch specific (x86 and x86-64 only).
So please strip them from the Makefile for others.
Dunno, maybe something like
[ ${ARCH} = "x86" ] || echo "s/-minline-all-stringops//" >> makefile.sed
[ ${ARCH} = "x86" ] || echo "s/-malign-double//" >> makefile.sed
And please strip these. They're still there as well.
-mcpu=i586
-march=i586
echo "s/-mcpu=i586//" >> makefile.sed
echo "s/-march=i586//" >> makefile.sed
Reproducible: Always
Steps to Reproduce:
Actual Results:
cc1plus: invalid option `align-double'
cc1plus: invalid option `inline-all-stringops'
make: *** [atmosph.o] Error 1
make: *** Waiting for unfinished jobs....
cc1plus: invalid option `align-double'
cc1plus: invalid option `inline-all-stringops'
make: *** [bbox.o] Error 1
# emerge info
Portage 2.0.47-r10 (default-ppc-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-ben8 ppc
GENTOO_MIRRORS="http://lucky"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="mitshm motif ppc gnome-libs gtkhtml gdbm berkdb tcltk libwww perl python
imlib ldap aalib alsa apache2 apm -arts avi bonobo cdr crypt cups dga directfb
dvi dvd encode esd fbcon -flash gd ggi gif gnome gphoto2 -gpm gtk gtk2 guile
-java jpeg -kde lcms lua mbox mikmod mozilla mozsvg moznoirc moznomail
moznocompose mpeg -nls oggvorbis opengl oss pam plotutils png pnp quicktime -qt
readline -samba sdl slang spell ssl static tcpd tetex tiff truetype wmf X xface
xv zlib"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -pipe -mcpu=750 -fsigned-char -fomit-frame-pointer"
CXXFLAGS="-O3 -pipe -mcpu=750 -fsigned-char -fomit-frame-pointer"
ACCEPT_KEYWORDS="ppc ~ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://lucky/gentoo-portage"
FEATURES="ccache sandbox buildpkg"