After installing Gentoo 2004.0 on a Powermac G4 (GRP), I did: 'emerge sync; emerge portage; emerge -uD system' When complete, I ran 'etc-update' to merge config file changes. When selecting the option to perform an interactive merge of the update and the original file, I get a segfault in 'sdiff' that matches the one reported in Bug #13502. A comment in this bug notes that 'sdiff' will segfault on PPC when both '-maltivec and -mabi=altivec' are specified in CFLAGS. Well, OK -- I dropped '-mabi=altivec' and re-emerged 'diffutils' and the problem goes away. My issue is that these CFLAGS are the DEFAULT for Gentoo 2004.0 on PPC for a G4 processor. Therefore, I feel that the ebuild for "diffutils" should be updated to catch the offending CFLAGS condition and drop one of them to prevent this from happening. This will help mere mortals who don't know how to use Bugzilla. Reproducible: Always Steps to Reproduce: 1. emerge sync; emerge portage; emerge -uD system 2. etc-update - pick a file to update - select (3) to interactively merge changes Actual Results: Get a segfault in sdiff. Expected Results: Display two files' changes side-by-side. My 'emerge info' (pre-workaround): Portage 2.0.50-r6 (default-ppc-2004.0, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24-ppc-r2) ================================================================= System uname: 2.4.24-ppc-r2 ppc 7400, altivec supported Gentoo Base System version 1.4.9 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache userpriv usersandbox" GENTOO_MIRRORS="http://software/Linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://qadiag2.viewstar.com/gentoo-portage" USE="X berkdb cups dvd esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla nls oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcpd truetype xv"
newest diffutils fixes this bug.