First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 42732
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeremy Huddleston (RETIRED) <eradicator@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: John Steele Scott <toojays@toojays.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 42732 depends on: Show dependency tree
Bug 42732 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-02-24 03:40 0000
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"

------- Comment #1 From John Steele Scott 2004-02-24 04:02:07 0000 -------
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.

------- Comment #2 From Jeremy Huddleston (RETIRED) 2004-04-05 14:45:58 0000 -------
it should have -fPIC regardless of the arch... I'll take this...

------- Comment #3 From Jeremy Huddleston (RETIRED) 2004-04-07 19:24:43 0000 -------
please verify that the -r1 ebuild works for you.

------- Comment #4 From Jeremy Huddleston (RETIRED) 2004-04-11 23:59:40 0000 -------
no response, but the new ebuild works on my sparc, so I'm marking fixed.

------- Comment #5 From John Steele Scott 2004-04-18 06:22:00 0000 -------
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.

------- Comment #6 From Jeremy Huddleston (RETIRED) 2004-04-18 11:58:37 0000 -------
ok... it's in there for all archs.

First Last Prev Next    No search results available      Search page      Enter new bug