You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by jirib <gi...@git.apache.org> on 2017/01/07 20:19:56 UTC

[GitHub] trafficserver issue #1306: [openbsd] pthread_np.h needs to be included

GitHub user jirib opened an issue:

    https://github.com/apache/trafficserver/issues/1306

    [openbsd] pthread_np.h needs to be included

    This passes at least some first steps in trying to build trafficserver on OpenBSD. Please consider this or better variation, thank you.
    
    ```
    kern.version=OpenBSD 6.0-current (GENERIC.MP) #0: Wed Nov 23 20:54:10 MST 2016
        build@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
    ```
    
    ```
    --- lib/ts/ink_thread.h.orig    Thu Oct 20 21:08:55 2016
    +++ lib/ts/ink_thread.h Sat Jan  7 21:16:56 2017
    @@ -44,6 +44,10 @@
     #include <signal.h>
     #include <semaphore.h>
    
    +#if defined(openbsd)
    +#include <pthread_np.h>
    +#endif
    +
     #if HAVE_PTHREAD_NP_H
     #include <pthread_np.h>
     #endif
    ```

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] trafficserver issue #1306: [openbsd] pthread_np.h needs to be included

Posted by jirib <gi...@git.apache.org>.
Github user jirib commented on the issue:

    https://github.com/apache/trafficserver/issues/1306
  
    putting this -  ac_cv_header_pthread_np_h=yes - as configure env doesn't need to change ink_thread_.h
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] trafficserver issue #1306: [openbsd] pthread_np.h needs to be included

Posted by jirib <gi...@git.apache.org>.
Github user jirib commented on the issue:

    https://github.com/apache/trafficserver/issues/1306
  
    config.log https://gist.github.com/jirib/70174b76156791036eca9a80f5ff0120


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] trafficserver issue #1306: [openbsd] pthread_np.h needs to be included

Posted by zwoop <gi...@git.apache.org>.
Github user zwoop commented on the issue:

    https://github.com/apache/trafficserver/issues/1306
  
    Yeh, I agree with peach, it seems very odd that it's not picking it up properly. It'd be better to fix that, instead of ifdef on openbsd IMO.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] trafficserver issue #1306: [openbsd] pthread_np.h needs to be included

Posted by jpeach <gi...@git.apache.org>.
Github user jpeach commented on the issue:

    https://github.com/apache/trafficserver/issues/1306
  
    The doesn't the existing configure check pick this header up?
    
    > On Jan 7, 2017, at 12:19 PM, jirib <no...@github.com> wrote:
    > 
    > This passes at least some first steps in trying to build trafficserver on OpenBSD. Please consider this or better variation, thank you.
    > 
    > kern.version=OpenBSD 6.0-current (GENERIC.MP) #0: Wed Nov 23 20:54:10 MST 2016
    >     build@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
    > --- lib/ts/ink_thread.h.orig    Thu Oct 20 21:08:55 2016
    > +++ lib/ts/ink_thread.h Sat Jan  7 21:16:56 2017
    > @@ -44,6 +44,10 @@
    >  #include <signal.h>
    >  #include <semaphore.h>
    > 
    > +#if defined(openbsd)
    > +#include <pthread_np.h>
    > +#endif
    > +
    >  #if HAVE_PTHREAD_NP_H
    >  #include <pthread_np.h>
    >  #endif
    > \u2014
    > You are receiving this because you are subscribed to this thread.
    > Reply to this email directly, view it on GitHub, or mute the thread.
    > 



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---