Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136568 - xfce-base/xffm-4.2.3 fails to build with -Wl,--as-needed in LDFLAGS
Summary: xfce-base/xffm-4.2.3 fails to build 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: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-06-12 11:49 UTC by Maarten Bressers (RETIRED)
Modified: 2006-12-19 19:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maarten Bressers (RETIRED) gentoo-dev 2006-06-12 11:49:00 UTC
emerge --info:

Portage 2.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo rsync://rsync.europe.gentoo.org/gentoo-portage"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--sort-common -s"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bitmap-fonts cdr cli crypt dri dvd dvdr dvdread eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer imlib isdnlog jpeg libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nptl nvidia opengl pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev xml xmms xorg xv zlib elibc_glibc kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

build error:

<--snip-->
mkdir .libs
i686-pc-linux-gnu-gcc -march=pentium4 -O2 -mmmx -msse -msse2 -mfpmath=sse -fomit-frame-pointer -pipe -Wl,-O1 -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--sort-common -s -Wl,-O1 -o .libs/xffm xffm-basic_colours.o xffm-basic_local.o xffm-toolbar.o xffm-keybindings.o xffm-glade_main_gui.o xffm-mcs-manager.o xffm-treestore.o xffm-treeview.o xffm-main.o xffm-options.o xffm-settings.o -Wl,-R/usr/lib -pthread  ../libs/.libs/libxffm_on_demand.so ../libs/.libs/libxffm_secondary.so ../libs/.libs/libxffm_basic.so ../libs/.libs/libxffm_cpy.so ../libs/.libs/libxffm_actions.so ../libs/.libs/libxffm_calls.so ../libs/.libs/libxffm_tubo.so /usr/lib/libxfcegui4.so /usr/lib/libstartup-notification-1.so /usr/lib/libxfce4mcs-client.so -lSM -lICE /usr/lib/libxfce4util.so /usr/lib/libdbh.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so -lXrender -lX11 -lXext -lpng12 /usr/lib/libfontconfig.so /usr/lib/libexpat.so /usr/lib/libfreetype.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libxml2.so -ldl -lz -lm -lrt
../libs/.libs/libxffm_basic.so: undefined reference to `get_password'
collect2: ld returned 1 exit status
make[2]: *** [xffm] Error 1
make[2]: Leaving directory `/var/tmp/portage/xffm-4.2.3/work/xffm-4.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xffm-4.2.3/work/xffm-4.2.3'
make: *** [all] Error 2

!!! ERROR: xfce-base/xffm-4.2.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  ebuild.sh, line 1248:   Called xfce42_src_compile
  xfce42.eclass, line 92:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Maarten Bressers (RETIRED) gentoo-dev 2006-06-12 11:51:23 UTC
(In reply to comment #0)

forgot: this bug depends on bug#129413
Comment 2 Daniel Lin 2006-10-06 09:52:53 UTC
The build error I get here is different, and doesn't make any sense at all to me.

mkdir .libs
i686-pc-linux-gnu-gcc -march=pentium4 -Os -pipe -Wl,--as-needed -Wl,-O1 -o .libs/xffm xffm-basic_colours.o xffm-basic_local.o xffm-toolbar.o xffm-keybindings.o xffm-glade_main_gui.o xffm-mcs-manager.o xffm-treestore.o xffm-treeview.o xffm-main.o xffm-options.o xffm-settings.o -Wl,-R/usr/lib -pthread  ../libs/.libs/libxffm_on_demand.so ../libs/.libs/libxffm_secondary.so ../libs/.libs/libxffm_basic.so ../libs/.libs/libxffm_cpy.so ../libs/.libs/libxffm_actions.so ../libs/.libs/libxffm_calls.so ../libs/.libs/libxffm_tubo.so /usr/lib/libxfcegui4.so /usr/lib/libstartup-notification-1.so /usr/lib/libxfce4mcs-client.so /usr/lib/libSM.so /usr/lib/libICE.so /usr/lib/libxfce4util.so /usr/lib/libdbh.so /usr/lib/libgthread-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfontconfig.so /usr/lib/libfreetype.so /usr/lib/libexpat.so /usr/lib/libdirectfb.so /usr/lib/libfusion.so /usr/lib/libdirect.so -lpthread /usr/lib/libglitz.so /usr/lib/libpng12.so /usr/lib/libXrender.so /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libxml2.so -ldl -lz -lm -lrt
../libs/.libs/libxffm_basic.so: undefined reference to `Tubo'
../libs/.libs/libxffm_actions.so: undefined reference to `DBH_create'
../libs/.libs/libxffm_cpy.so: undefined reference to `TuboCancel'
../libs/.libs/libxffm_actions.so: undefined reference to `DBH_set_recordsize'
../libs/.libs/libxffm_actions.so: undefined reference to `DBH_load'
../libs/.libs/libxffm_actions.so: undefined reference to `DBH_close'
../libs/.libs/libxffm_actions.so: undefined reference to `DBH_open'
../libs/.libs/libxffm_actions.so: undefined reference to `DBH_update'
../libs/.libs/libxffm_cpy.so: undefined reference to `TuboPID'
../libs/.libs/libxffm_basic.so: undefined reference to `get_password'
collect2: ld returned 1 exit status
distcc[23919] ERROR: compile (null) on localhost failed
make[2]: *** [xffm] Error 1
make[2]: Leaving directory `/var/tmp/portage/xffm-4.2.3/work/xffm-4.2.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/xffm-4.2.3/work/xffm-4.2.3'
make: *** [all] Error 2

!!! ERROR: xfce-base/xffm-4.2.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1255:   Called xfce42_src_compile
  xfce42.eclass, line 92:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if rel
evant.



emerge --info:
Portage 2.1.2_pre2-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 04 Oct 2006 06:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
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: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -Os -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=pentium4 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache collision-protect confcache distcc distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/sunrise /usr/portage/local/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib accessibility acl acpi alsa apache2 arts audiofile avahi bash-completion berkdb bidi bitmap-fonts bzip2 cairo canna caps cdparanoia cdr cjk cli crypt cscope cups curl dbus dga directfb djbfft dlloader dmi doc dri dts dv dvd dvdr dvdread eds elibc_glibc emacs emboss encode esd evo examples exif expat fam fastcgi fbcon ffmpeg fftw flac flash fontconfig foomaticdb fortran ftp gcj gd gdbm ggi gif glitz glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtkhtml guile hal iconv idn ieee1394 imagemagick imap imlib imlib2 input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_void input_devices_wacom ipv6 isdnlog jack java javascript jbig joystick jpeg jpeg2k junit kde kdeenablefinal kdehiddenvisibility kerberos kernel_linux krb4 ladspa lash lcms ldap leim lesstif libcaca libg++ lm_sensors lua m17n-lib mad maildir mailwrapper matroska mbox migemo mikmod mmap mmx mng mono motif mp3 mp4 mpeg msn nas ncurses netjack nls nptl nptlonly nsplugin ocaml offensive ogg openal opengl oss pam pcre pdf perl plotutils png portaudio postgres ppds pppd python qdbm qt3 qt4 quicktime readline real reflection ruby samba sasl scanner sdl seamonkey session slang slp sndfile socks5 source sox speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification svg svga sysfs tcl tcltk tcpd tetex theora threads tidy tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd vhosts video_cards_dummy video_cards_fbdev video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga vorbis wifi win32codecs wmf wxwindows xface xine xinerama xinetd xml xorg xosd xpm xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-12-05 21:53:42 UTC
The good news is that thunar, xffm's successor, doesn't have a problem with --as-needed.
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-12-19 19:57:39 UTC
With regards to my previous comment, I'm going to say we likely won't fix this before 4.4 goes live. Marking wontfix.