[FFmpeg-trac] #1929(build system:new): ./configure --disable-w32threads doesn't check for presence of pthreads
FFmpeg
trac at avcodec.org
Thu Dec 6 23:27:08 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 cehoyos):
Replying to [comment:6 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).
Your config.log output above shows that configure does link pthreads:
$ gcc -pthread -o ffconf.iBCSJu0K.exe /tmp/ffconf.pdlULg0G.o (simplified)
> 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.
It is not a good idea to change the report in the middle of the ticket.
Please elaborate which is the (bottom of the) output of:
$ make distclean && ./configure --disable-w32threads && make ffmpeg; make
V=1 ffmpeg
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1929#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list