[Bug 739201] openh264: configure check requires -pthread on linux

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 27 00:36:46 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=739201
  GStreamer | gst-plugins-bad | unspecified

--- Comment #4 from Edward Hervey <bilboed at bilboed.com> 2014-10-27 07:36:39 UTC ---
content of config.log:

configure:24258: checking whether pthreads work with -pthread
configure:24343: ccache gcc -std=gnu99 -o conftest  -Wall -g -O2 -m64  -Wall -g
-O2 -m64  -Wall -g -O2 -m64   -Wno-error  -pthread   -Wno-error 
-L/var/lib/jenkins/workspace/cerber
conftest.c: In function 'main':
conftest.c:45:1: warning: missing braces around initializer [-Wmissing-braces]
 pthread_t th; pthread_attr_t attr = {0, };
 ^
conftest.c:45:1: warning: (near initialization for 'attr.__size')
[-Wmissing-braces]
configure:24343: $? = 0
configure:24352: result: yes


So on this machine (debian buildslave), we *need* -pthread. Looking more in
details at how other checks for libraries that also require -pthread work ..
they suceed because .pc provides -pthread in the CFLAGS.

If only openh264 had a .pc ...

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list