Re: Fixing -pthreads (Re: ports and -current)

From: Sheldon Hearn (sheldonh_at_starjuice.net)
Date: 09/24/03

  • Next message: John Birrell: "Re: Fixing -pthreads (Re: ports and -current)"
    Date: Wed, 24 Sep 2003 11:51:53 +0200
    To: deischen@freebsd.org
    
    

    On (2003/09/23 19:35), Daniel Eischen wrote:

    > The applications is free to link to whatever it wants;
    > we're not changing that. If it wants to link to 1:1
    > libthr or whatever, then it had better be sure to use
    > -lthr because -pthread won't do it regardless of whether
    > it is a NOOP or not.

    Okay, so what are we supposed to do to ports that are now broken because
    -pthread doesn't exist (e.g. devel/pwlib)?

    This discussion has gone around in circles and I haven't read every
    message, but it's pretty obvious there's a lot of confusion.

    Is there a simple rule we should follow when trying to fix ports, or do
    we have to think now? At the moment, I'm just patching configure files
    to use ${PTHREAD_LIBS} instead of -pthread, and pushing PTHREAD_LIBS
    into the ports' CONFIGURE_ENV.

    Ciao,
    Sheldon.
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: John Birrell: "Re: Fixing -pthreads (Re: ports and -current)"

    Relevant Pages

    • Re: libthr + libtool bump + mysql
      ... I recently noticed after the libtool bump using libthr on 5.3 and 5.4 ... but the port maintainer does not have to support running ... but for ports it's only "most recent release". ...
      (freebsd-stable)
    • Re: Libthr stable enough for testing
      ... > Most major locking work in libthr is finished. ... and rebuilt some ports during that time. ... caused problems were gnome 2.3 beta ports from the marcuscom CVS tree.) ... I'll try to get a dump of the exact error messages when I have access to ...
      (freebsd-current)
    • Re: Libthr stable enough for testing
      ... I have committed some changes to libthr today. ... All but one of them were bug ... and rebuilt some ports during that time. ... I'll investigate when I get back access to the SMP machine. ...
      (freebsd-current)
    • Re: Compile error, kde related?
      ... I've tried to make a fresh instal of FreeBSD 7.0 and there is libthr ... over with the ports. ... Can I manually link uic to libthr and would it be a clean hack or? ... Problem with today's modular software: ...
      (freebsd-questions)
    • Re: Weird character representation in console
      ... > developer stuff with x support and the ports of version 5.3. ... To unsubscribe, ...
      (freebsd-questions)