After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693105 - Compile private test with -pthread on UNIX
Compile private test with -pthread on UNIX
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: build
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-02-03 18:56 UTC by Víctor Manuel Jáquez Leal
Modified: 2013-02-03 23:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Compile private test with -pthread on UNIX (838 bytes, patch)
2013-02-03 18:56 UTC, Víctor Manuel Jáquez Leal
committed Details | Review

Description Víctor Manuel Jáquez Leal 2013-02-03 18:56:45 UTC
The commit f5f151cb removed this linkage, which is needed,
at least for the toolchain gcc version 4.7.2 (Debian 4.7.2-5)
Comment 1 Víctor Manuel Jáquez Leal 2013-02-03 18:56:47 UTC
Created attachment 235124 [details] [review]
Compile private test with -pthread on UNIX
Comment 2 Allison Karlitskaya (desrt) 2013-02-03 22:59:08 UTC
This is working for me because libglib pulls in libpthread.

The test itself is using pthreads API directly, though, so it should indeed be explicitly linked against it.
Comment 3 Allison Karlitskaya (desrt) 2013-02-03 22:59:58 UTC
Attachment 235124 [details] pushed as 6b3ec82 - Compile private test with -pthread on UNIX