After emerging flac-1.1.0, launching XMMS gives the following message in the console: /usr/lib/xmms/Input/libxmms-flac.so: R_PPC_REL24 relocation at 0x0f4ef238 for symbol `malloc' out of range I have come across similar errors with packages in the past, and they are caused by a program not being built with the "-fPIC" compiler flag. I note that the flac ebuild adds this flag when building on hppa, I will do the same thing and see how it goes. Reproducible: Always Steps to Reproduce: Portage 2.0.50-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24-benh0-r1) ================================================================= System uname: 2.4.24-benh0-r1 ppc 740/750 Gentoo Base System version 1.4.3.13 distcc 2.9 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750" 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/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distcc" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa berkdb crypt cups doc dvd esd flac foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib java jpeg kde libwww mitshm motif mozilla mpeg nls oggvorbis opengl oss pam perl png ppc python qt readline sdl slang ssl tcpd tetex truetype xmms xv"
Okay, that worked. On line 42 of the flac-1.1.0.ebuild, where it adds -fPIC if we have xmms and X on hppa, it needs to do that for ppc as well.
it should have -fPIC regardless of the arch... I'll take this...
please verify that the -r1 ebuild works for you.
no response, but the new ebuild works on my sparc, so I'm marking fixed.
Sorry for the late reply. -r1 does not fix the problem on my ppc. I still need to add -fPIC to CFLAGS the same way the hppa people do.
ok... it's in there for all archs.