Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24385 - glib-2.0 has invalid -pthread flag in its pkgconfig file
Summary: glib-2.0 has invalid -pthread flag in its pkgconfig file
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 21824 29535 31764 (view as bug list)
Depends on:
Blocks: 21824
  Show dependency tree
 
Reported: 2003-07-13 06:27 UTC by Dan Armak (RETIRED)
Modified: 2003-10-22 12:36 UTC (History)
5 users (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 Dan Armak (RETIRED) gentoo-dev 2003-07-13 06:27:30 UTC
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.
Comment 1 Dan Armak (RETIRED) gentoo-dev 2003-07-13 06:49:37 UTC
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... 
Comment 2 foser (RETIRED) gentoo-dev 2003-07-14 15:25:38 UTC
your 'emerge info' please ? What arch is this on ? Try recompiling glib.
Comment 3 Dan Armak (RETIRED) gentoo-dev 2003-07-15 12:41:30 UTC
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"  
Comment 4 foser (RETIRED) gentoo-dev 2003-07-23 03:26:34 UTC
could you attach the config.log of a glib merge ? See if it gives any clues.
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2003-07-31 18:30:16 UTC
*** Bug 21824 has been marked as a duplicate of this bug. ***
Comment 6 foser (RETIRED) gentoo-dev 2003-08-19 07:23:38 UTC
waiting for requested info
Comment 7 Alex Veber (RETIRED) gentoo-dev 2003-09-24 20:40:18 UTC
*** Bug 29535 has been marked as a duplicate of this bug. ***
Comment 8 foser (RETIRED) gentoo-dev 2003-09-25 05:48:04 UTC
hmm, this may have been a pkgconfig bug. Recent versions should have this
fixed.
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 14:28:03 UTC
dunno what is up with this bug? but setting this back to NEEDINFO
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2003-10-19 23:05:21 UTC
*** Bug 31557 has been marked as a duplicate of this bug. ***
Comment 11 Ian Leitch (RETIRED) gentoo-dev 2003-10-20 04:42:44 UTC
Remergning glib-2.2.3 fixed my problem in bug #31557
Comment 12 Martin Holzer (RETIRED) gentoo-dev 2003-10-22 12:36:56 UTC
*** Bug 31764 has been marked as a duplicate of this bug. ***