Bug 90511 - possibly bad information in /usr/lib/pkgconfig/gthread-2.0.pc
Summary: possibly bad information in /usr/lib/pkgconfig/gthread-2.0.pc
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glib2
Version: 9
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Owen Taylor
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-05-09 01:21 UTC by Michael Closson
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2003-05-09 02:20:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Closson 2003-05-09 01:21:33 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

Description of problem:
I think the following 2 lines in the file 
/usr/lib/pkgconfig/gthread-2.0.pc
are in error,  the two lines are

Libs: -L${libdir} -lgthread-2.0 -pthread
Cflags: -pthread

I think they should be

Libs: -L${libdir} -lgthread-2.0 -lpthread
Cflags: -D_REENTRANT


Thats it!






Version-Release number of selected component (if applicable):
glib2-devel-2.2.1-1

How reproducible:
Always

Steps to Reproduce:
Hmm..  Steps to reproduce should be obvious.
    

Additional info:

Comment 1 Owen Taylor 2003-05-09 01:49:17 UTC
Why do you think that?

(If you examine /usr/lib/gcc-lib/i386-redhat-linux/3.2.1/specs, you'll see
that -pthread adds -D_REENTRANT for the preprocessor and -lpthread for
the linker on Linux.)



Comment 2 Michael Closson 2003-05-09 02:20:29 UTC
Yes, you are right..
Sorry, may bad.



Note You need to log in before you can comment on or make changes to this bug.