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

FFmpeg trac at avcodec.org
Fri Dec 7 00:14:26 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):

 If I remove the file "libpthread.a" from my system, then the output is

 {{{
   /home/rogerdpack/dev/ffmpeg-windows-build-
 helpers/sandbox/mingw-w64-i686/lib/gcc/i686-w64-mingw32/4.7.1/../../../../i686-w64-mingw32/bin/ld:
 cannot find -lpthread
 }}}

 Could you post to me the exact line you are seeing from config.log that
 shows it 'succeeding' so I can check it? (my thought is that it will have
 a "-c" in it, which means it happily creates a .o file, thinking that
 linking will later work--it doesn't).  So basically what we have here is a
 *freaky* case where gcc responds to "-pthread" but doing so doesn't
 actually give you pthreads, is my guess. FWIW.

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


More information about the FFmpeg-trac mailing list