Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152987 - x11-libs/wxGTK don't build with --as-needed flags
Summary: x11-libs/wxGTK don't build with --as-needed flags
Status: RESOLVED DUPLICATE of bug 115603
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-27 08:17 UTC by Cédric Krier
Modified: 2006-10-27 08:39 UTC (History)
0 users

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 Cédric Krier gentoo-dev 2006-10-27 08:17:40 UTC
wxGTK don't compile with LDFLAGS set to "-Wl,--as-needed"


i686-pc-linux-gnu-g++ -shared -fPIC -o lib/libwx_gtk2_html-2.6.so.0.3.1  htmldll_chm.o htmldll_helpctrl.o htmldll_helpdata.o htmldll_helpfrm.o htmldll_htmlcell.o htmldll_htmlfilt.o htmldll_htmlpars.o htmldll_htmltag.o htmldll_htmlwin.o htmldll_htmprint.o htmldll_m_dflist.o htmldll_m_fonts.o htmldll_m_hline.o htmldll_m_image.o htmldll_m_layout.o htmldll_m_links.o htmldll_m_list.o htmldll_m_pre.o htmldll_m_style.o htmldll_m_tables.o htmldll_winpars.o htmldll_htmllbox.o -Llib -Llib -pthread -Wl,--as-needed  -L/usr/X11R6/lib    -Llib   -Wl,-soname,libwx_gtk2_html-2.6.so.0          -pthread -Wl,--as-needed  -L/usr/X11R6/lib -Wl,--version-script,version-script -lz -lm  -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff -lwx_gtk2_core-2.6 -lwx_base-2.6 
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2356
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2357
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2356
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2357
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2356
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2357
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 internal error, aborting at /var/tmp/portage/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c line 6536 in elf_link_output_extsym

/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Please report this bug.

collect2: ld returned 1 exit status
distcc[23465] ERROR: compile (null) on localhost failed
make: *** [lib/libwx_gtk2_media-2.6.so.0.3.1] Error 1
make: *** Waiting for unfinished jobs....
(cd lib/; rm -f libwx_gtk2_html-2.6.so libwx_gtk2_html-2.6.so.0; ln -s libwx_gtk2_html-2.6.so.0.3.1 libwx_gtk2_html-2.6.so.0; ln -s libwx_gtk2_html-2.6.so.0 libwx_gtk2_html-2.6.so)

!!! ERROR: x11-libs/wxGTK-2.6.3.3 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  wxGTK-2.6.3.3.ebuild, line 146:   Called configure_build 'gtk2' 'unicode' '
		--with-sdl
		--disable-joystick
			--enable-opengl
			--with-opengl
			--without-gnomeprint --with-gtk=2'
  wxGTK-2.6.3.3.ebuild, line 62:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.




Portage 2.1.1 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-hardened-r1 i686)
=================================================================
System uname: 2.6.17-hardened-r1 i686 AMD Athlon(TM) XP 2400+
Gentoo Base System version 1.12.5
Last Sync: Sun, 22 Oct 2006 15:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [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.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
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 /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X alsa bash-completion bzip2 caps cdr crypt cups dedicated divx4linux dlloader dri dv dvb dvd dvdread elibc_glibc encode fam fbcon foomaticdb gdbm geoip ggi gnutls gtk gtk2 hardened imap input_devices_keyboard input_devices_mouse ipv6 javascript jpeg kernel_linux lcms libcaca lirc lirc_devices_leadtek_pvr2000 logrotate matrox mbox mmx mng motif mozsvg mpeg nas nls nptl nptlonly nsplugin offensive opengl oss pam pcre pic png ppds readline samba sdl sse ssl svg tcpd theora threads tiff truetype unicode userland_GNU userlocales v4l v4l2 video_cards_nv video_cards_vesa win32codecs wmf x86 xface xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-27 08:39:29 UTC
Ugrade your binutils.


*** This bug has been marked as a duplicate of 115603 ***