Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88792 - ERROR: media-libs/gdk-pixbuf-0.22.0-r4 failed (if linked with --as-needed)
Summary: ERROR: media-libs/gdk-pixbuf-0.22.0-r4 failed (if linked with --as-needed)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-11 18:38 UTC by Alexey Maximov
Modified: 2005-04-11 18:59 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 Alexey Maximov 2005-04-11 18:38:23 UTC
i686-pc-linux-gnu-gcc -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -o .libs/test-gdk-pixbuf test-gdk-pixbuf.o -rdynamic -rdynamic -rdynamic  ./.libs/libgdk_pixbuf.so -L/usr/lib -lXi -lXext -lX11 -lm -lXi -lXext -lX11 -lm -lXi -lXext -lX11 -lm -lXi -lXext -lX11 -lm /usr/lib/libtiff.so //usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/libstdc++.so -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/libjpeg.so -lpng /usr/lib/libgnomeui.so -lm -lXext -lXi -lX11 /usr/lib/libart_lgpl.so -lm /usr/lib/libgdk_imlib.so -lXext -lSM -lICE /usr/lib/libgtk.so -lXi -lXext -lX11 -lm /usr/lib/libgdk.so -lXi -lXext -lX11 -lm -lXi -lXext -lX11 /usr/lib/libgnome.so -lm /usr/lib/libgnomesupport.so -lz -lm /usr/lib/libesd.so -lm /usr/lib/libasound.so -lm -lpthread /usr/lib/libaudiofile.so -lm -lm -ldb1 /usr/lib/libglib.so /usr/lib/libgmodule.so -ldl -Wl,--rpath -Wl,//usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110
/usr/lib/libgdk_imlib.so: undefined reference to `DGifGetExtensionNext'
/usr/lib/libgdk_imlib.so: undefined reference to `DGifGetRecordType'
/usr/lib/libgdk_imlib.so: undefined reference to `DGifGetImageDesc'
/usr/lib/libgdk_imlib.so: undefined reference to `DGifOpenFileHandle'
/usr/lib/libgdk_imlib.so: undefined reference to `DGifGetLine'
/usr/lib/libgdk_imlib.so: undefined reference to `DGifCloseFile'
/usr/lib/libgdk_imlib.so: undefined reference to `DGifGetExtension'
/usr/lib/libgdk_imlib.so: undefined reference to `PrintGifError'
collect2: ld returned 1 exit status
make[3]: *** [test-gdk-pixbuf] Error 1
make[3]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r4/work/gdk-pixbuf-0.22.0/gdk-pixbuf'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r4/work/gdk-pixbuf-0.22.0/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gdk-pixbuf-0.22.0-r4/work/gdk-pixbuf-0.22.0'
make: *** [all-recursive-am] Error 2


but if I try link w/o --as-needed its all ok... also, it depends to imlib state. if imlib are compiled with --as-needed - it will take additional unresolveds
...
btw I have compiled all my gentoo with --as-needed.. only 10-15 progs was failed  on gtk test but compiled wnad works ok if compiled with EXTRA_ECONF=--disable-gtktest

but only imlib stuff are bad..


amazing svgalib # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11.4-cko2 i686)
=================================================================
System uname: 2.6.11.4-cko2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 10 2005, 22:32:13)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.94.0.2.2
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS=" -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math "
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="  -march=i686 -O2 -pipe -fomit-frame-pointer -ffast-math  -fvisibility-inlines-hidden "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg distlocks prelink sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="ru_RU.CP1251"
LDFLAGS=" -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed "
LINGUAS="ru uk"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acl acpi acpi4linux activefilter alsa apm artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth bonobo caps cdda cddb cdio cdparanoia cdr crypt cscope cups curl dga directfb dpms dts dv dvb dvd dvdr dvdread eds emboss encode exif fam fbcon ffmpeg fftw flac foomaticdb freetype ftp gd ggi gif gimp glitz gnokii gnutls gphoto2 gpm gstreamer gtk2 guile hal howl iconv icq icu ieee1394 imagemagick imap imlib innodb irmc jack jack-tmpfs joystick jpeg jpeg2k kerberos ladcca ladspa lcd lcms ldap libcaca libg++ libgda libvisual libwww lirc live lm_sensors lmtp logitech-mouse lua lufsusermount lzo mad maildir mailwrapper matroska mbox mikmod mjpeg mmx mng mono mozdevelop mozilla mozsvg mp3 mpeg mppe-mppc msn mythtv nas ncurses network nntp no-old-linux nptl nptlonly ntlm oav odbc ogg oggvorbis openal opie pam pcmcia pcre pda pdflib pic plotutils png portaudio povray pvm pwdb qt quicktime quotas rdesktop readline real rtc samba sasl sblive scanner silc skey slang slp smartcard sndfile socks5 soundtouch speex spell sqlite ssl stream svg svga svgz symlink sysfs tcltk tcpd tetex theora threads tidy tiff transcode truetype truetype-fonts unicode usb utf8 v4l v4l2 vcd vcdimager vidix vlm vorbis wifi winbind wmf wxwindows xanim xine xml xml2 xrandr xv xvid yv12 zeroconf zlib linguas_ru linguas_uk"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2005-04-11 18:44:14 UTC
...then don't link with --as-needed then.  it's new, experimental, unsupported, and breaks things.  what did you expect?
Comment 2 SpanKY gentoo-dev 2005-04-11 18:59:41 UTC
dont screw around with LDFLAGS