Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88414 - beep-media-player fails to start with -Wl,--as-needed in LDFLAGS
Summary: beep-media-player fails to start with -Wl,--as-needed in LDFLAGS
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 16:40 UTC by Josh Nichols (RETIRED)
Modified: 2005-04-09 04:30 UTC (History)
0 users

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


Attachments
patch for beep-media-player-0.9.7-r4.ebuild to filter --as-needed flags (beep-media-player-0.9.7-r4_asneeded.patch,866 bytes, patch)
2005-04-08 16:48 UTC, Josh Nichols (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Nichols (RETIRED) gentoo-dev 2005-04-08 16:40:02 UTC
beep-media-player-0.9.7-r4 will fail with the following if compiled with LDFLAGS="-Wl,--as-needed"

beep-media-player: symbol lookup error: /usr/lib/libbeep.so.2: undefined symbol: gconf_client_get_default

Reproducible: Always
Steps to Reproduce:
1.set LDFLAGS="-Wl,--as-needed" in LDFLAGS
2. emerge beep-media-player
3. run beep-media-player

Actual Results:  
beep-media-player: symbol lookup error: /usr/lib/libbeep.so.2: undefined symbol:
gconf_client_get_defaul

Expected Results:  
beep-media-player should launch

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.200
50125-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 15 2005, 19:09:23)
]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share
/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/
mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/sh
are/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/te
x/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/redhat-tools /usr/local/bmg-main"
SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"
USE="x86 X aac alsa apache2 apm avi bash-completion berkdb bitmap-fonts bonobo c
dr crypt cups curl divx4linux dvd dvdr emboss encode ethereal faad fam ffmpeg fl
ac foomaticdb fortran gdbm gif gimpprint gmail gnome gphoto2 gpm gstreamer gtk g
tk2 gtkhtml guile imagemagick imlib ipv6 ithreads java javamail jpeg junit ldap 
libg++ libwww mad mikmod mono mozilla mp3 mpeg ncurses nls nptl oggvorbis opengl
 pam pcmcia pdflib perl pic png ppds python quicktime readline samba sdl slang s
ox spell sqlite ssl subversion tcpd tetex tiff truetype truetype-fonts type1-fon
ts win32codecs xml xml2 xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-04-08 16:48:31 UTC
Created attachment 55722 [details, diff]
patch for beep-media-player-0.9.7-r4.ebuild to filter --as-needed flags
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2005-04-09 04:29:52 UTC
We do not support of LDFLAGS.
If you want to use them, this is up to you, but flags that break packages will not be filtered at the ebuild level.
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2005-04-09 04:30:40 UTC
(Correction to first sentence; we do not support USE of LDFLAGS)