#41 Complete build options for Pthread API

general
closed
general (9)
5
2008-02-08
2008-01-27
Markus Elfring
No

Would you like to combine your checks for this programming interface with the capabilities from the configuration script "ACX_PTHREAD"?
http://ac-archive.sourceforge.net/ac-archive/acx_pthread.html
http://xvidcap.svn.sourceforge.net/viewvc/xvidcap/trunk/configure.in?revision=274&view=markup

Discussion

    • assigned_to: nobody --> charly4711
     
  • Logged In: YES
    user_id=782084
    Originator: NO

    Could you provide a few words on the benefits?

     
  • Markus Elfring
    Markus Elfring
    2008-01-29

    Logged In: YES
    user_id=572001
    Originator: YES

    This is a portability issue.
    Would you like to be sure that compiler and linker options are correct for the Pthread programming interface on all supported platforms?

     
    • status: open --> pending
     
  • Logged In: YES
    user_id=782084
    Originator: NO

    fixed in svn, though the way FreeBSD is treated looks different from what has worked for xvidcap in the past.
    Will trust it for now.

     
  • Markus Elfring
    Markus Elfring
    2008-02-03

    • status: pending --> open
     
  • Markus Elfring
    Markus Elfring
    2008-02-03

    Logged In: YES
    user_id=572001
    Originator: YES

    Would you like to get special FreeBSD handling added to the script "ACX_PTHREAD"?
    Will a clarification be needed by a discussion in the groups "comp.programming.threads" and "comp.unix.bsd.freebsd"?

     
  • Logged In: YES
    user_id=782084
    Originator: NO

    Been trying to find out what the correct settings for FreeBSD should be. You can read all of that here:
    http://lists.freebsd.org/pipermail/freebsd-threads/2008-February/004177.html

    To summarize: What I previously did shouldn't be neccessary (-lc_r), -pthread should be working fine as an alias to the default threading implementation of the FreeBSD release in question. Therefore, what acx_pthreads is doing is also unneccessary (preferring -kthread and lthread over -pthread). Been trying to find out the original author's rationale for doing that, but his spamassassin just bounced my emails .... (what fun)

    Apparently, acx_pthreads' approach does no harm. Therefore, I'll regard this as closed.
    If anybody fails to build xvidcap on FreeBSD now or can get in contact with the original acx_pthreads author, feel free to reopen.

     
    • status: open --> closed