Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143721 - fbpanel-4.3 on ~ppc needs -fPIC
Summary: fbpanel-4.3 on ~ppc needs -fPIC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High enhancement
Assignee: Commonbox Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-12 14:52 UTC by Adrian Perez
Modified: 2007-02-11 08:14 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Makes the thing work on ~ppc (fbpanel-4.3.ebuild.patch,545 bytes, patch)
2006-08-12 14:53 UTC, Adrian Perez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2006-08-12 14:52:48 UTC
fbpanel compiles and works properly in ~ppc with the attached patch.

-- emerge --info follows.

Portage 2.1.1_pre4-r4 (default-linux/ppc/ppc32/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 ppc)
=================================================================
System uname: 2.6.17-gentoo-r4 ppc 750FX
Gentoo Base System version 1.12.4
Last Sync: Sat, 12 Aug 2006 21:00:06 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE=""
ARCH="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CCACHE_SIZE="150M"
CFLAGS="-Os -mtune=powerpc -pipe -mcpu=750"
CHOST="powerpc-unknown-linux-gnu"
CLEAN_DELAY="5"
COLORTERM="Terminal"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-Os -mtune=powerpc -pipe -mcpu=750"
DISTDIR="/usr/portage/distfiles"
EDITOR="vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
INPUT_DEVICES="mouse keyboard"
KERNEL="linux"
LINGUAS="en es es_ES ja"
OPENGL_PROFILE="xorg-x11"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CALLER="emerge"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_LOGDIR="/var/log/portage"
PORTAGE_NICENESS="5"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/wrobel-stable /usr/portage/local/layman/gentopia /usr/portage/local/layman/liferea_overlay /usr/portage/local/layman/musicbrainz /usr/portage/local/layman/xwing /usr/portage/local/layman/voip /usr/portage/local/layman/ebuild-exchange /usr/portage/local/layman/wschlich /usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome-experimental /usr/portage/local/layman/break-my-gentoo-main /usr/local/overlays/twisted-divmod /usr/local/overlays/nn-portage /usr/local/overlays/moebius"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/opt:/lib/modules:/usr/lib/locale:/usr/lib/wine:/usr/lib/valgrind:*.la:*.png:*.py:*.pl:*.pm:*.sh:*.xml:*.xslt:*.a:*.js:/usr/lib/klibc"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.3/html"
PYTHONPATH="/usr/lib/portage/pym"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -P ${DISTDIR} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/opt/ibm-jdk-bin-1.4.2.04/bin:/opt/ibm-jdk-bin-1.4.2.04/jre/bin"
RPMDIR="/usr/portage/rpm"
SHELL="/bin/bash"
SHLVL="5"
STAGE1_USE="unicode"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aac aalib acl aim alsa apache2 apm audiofile bash-completion berkdb bluetooth bonobo bzip2 cairo caps cdparanoia cli crypt ctype curl curlwrappers dbus dga dio dlloader dri eds elibc_glibc encode esd ethereal exif fam fbcon ffmpeg firefox foomaticdb fortran ftp gd gdbm ggi gif gnome gnutls gpm gstreamer gtk gtkhtml hal iconv icq ieee1394 imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber javascript jikes jpeg jpeg2k kernel_linux lesstif libcaca libg++ libwww linguas_en linguas_es linguas_es_ES linguas_ja lua mad maildir mailwrapper matroska mbox mikmod mmap mono motif mozilla mp3 mpeg msn ncurses neXt nls no-old-linux nptl nsplugin ogg opengl oscar pam pcre pda pdflib png portaudio posix pppd python quicktime readline reflection sasl sdl session sndfile soap sockets spell spl ssl startup-notification svg sysvipc tcpd threads tiff truetype type1-fonts udev unicode usb userland_GNU video_cards_fbdev video_cards_radeon vorbis wifi wv xinerama xml xml2 xmlrpc xorg xslt xv xvid zlib"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS LIRC_DEVICES USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults"
VIDEO_CARDS="radeon fbdev"
Comment 1 Adrian Perez 2006-08-12 14:53:55 UTC
Created attachment 94094 [details, diff]
Makes the thing work on ~ppc
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 14:57:53 UTC
Sorry, can you please clarify this? It's currently marked stable on ppc. What's wrong w/ that?
Comment 3 Adrian Perez 2006-08-12 15:09:34 UTC
It may be a fault of my installation, but without the patch fbpanel failed to load the plugins (.so dynamic libraries) because they have references to the get_line() symbol, which is defined in the fbpanel binary, but for some reason symbols weren't exported to dynamic-loaded modules. Also, I needed to add -fPIC and -fpic to compile position-independent code, otherwise module loading failed due to fbpanel not finding symbols in the modules (it says they are out of memory boundaries).
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-12 15:13:00 UTC
Hmmm OK, thanks.
Comment 5 Joe Jezak (RETIRED) gentoo-dev 2006-11-21 09:05:19 UTC
It actually already has -fPIC, but passing -E to ld does fix it here.
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2007-02-11 08:14:39 UTC
Fixed in CVS, thanks for the report!