My gthread-2.0.pc has this line: Libs: -L${libdir} -lgthread-2.0 -pthread -pthread obviously isn't a valid linking flag, it should probably be -lpthread. This bug causes #21284. I have glib-2.2.2. Going home from linuxtag now and won't be connected to the net for a few days, so I hope you can reproduce this... Reproducible: Always Steps to Reproduce: 1. 2. 3.
Update: -pthread is valid, but only on powerpc. According to info gcc. I hope so :-) Have to start packing, liuxtag ending, so have to go now - hope someone can make more sense out of this. If not just wait for me to get home and work on it again...
your 'emerge info' please ? What arch is this on ? Try recompiling glib.
Yeah, sorry - was in a hurry (leaving linuxtag) when I submitted this... I tried remerging glib, no good. lynx portage # emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.5.72-mm2 i686 Pentium III (Coppermine) GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/ config /usr/X11R6/lib/X11/xkb /usr/kde/cvs/share/config /usr/kde/3.1/share/config / usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/ config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow apm crypt gif jpeg libg++ mikmod ncurses pdflib png spell truetype xml2 xv zlib gdbm berkdb slang readline tetex svga tcltk java X sdl gpm tcpd pam libwww ssl perl python imlib gtk qt kde motif opengl cdr tiff mad artswrappersuid alsa dvd avi quicktime mpeg encode mmx sse cups lame oss tex arts oggvorbis -nls - ipv6 -gnome -esd -xmms -mozilla" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -mmmx -msse -mfpmath=sse - pipe" CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -mmmx -msse -mfpmath=sse - pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache digest noauto noclean sandbox userpriv usersandbox"
could you attach the config.log of a glib merge ? See if it gives any clues.
*** Bug 21824 has been marked as a duplicate of this bug. ***
waiting for requested info
*** Bug 29535 has been marked as a duplicate of this bug. ***
hmm, this may have been a pkgconfig bug. Recent versions should have this fixed.
dunno what is up with this bug? but setting this back to NEEDINFO
*** Bug 31557 has been marked as a duplicate of this bug. ***
Remergning glib-2.2.3 fixed my problem in bug #31557
*** Bug 31764 has been marked as a duplicate of this bug. ***