[FFmpeg-trac] #1929(build system:new): ./configure --disable-w32threads doesn't check for presence of pthreads

FFmpeg trac at avcodec.org
Thu Dec 6 15:47:13 CET 2012


#1929: ./configure  --disable-w32threads  doesn't check for presence of pthreads
-------------------------------------+-------------------------------------
             Reporter:  rogerdpack   |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  build
              Version:  unspecified  |  system
             Keywords:  win          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by rogerdpack):

 My latest guess is that configure does this test compile:
 {{{
 extern int pthread_create();
 int main(void){ pthread_create(); }
 }}}

 then compiles it like $ gcc -c input_filename -o output.o

 which happily creates output.o (but output.o would fail at link time since
 libpthread.a library is absent).

 I believe my initial report was reporting that I had configured it without
 passing the right compiler directive flags to *use* libpthread.a
 correctly, the second report was when I had no libpthread.a file present
 on the system at all. So that's why the 2 messages differ--they both had
 broken pthread libraries (or absent), but they were broken in slightly
 different ways.
 HTH.
 roger-

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1929#comment:6>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list