<div dir="ltr"><div>Hi Sad Clouds,</div><div><br></div><div>Thanks for the email. I would suggest sending this email to the <a href="mailto:p11-glue@lists.freedesktop.org">p11-glue@lists.freedesktop.org</a> mailing list, as described here: <br></div><div><br></div><div><a href="https://p11-glue.github.io/p11-glue/p11-kit.html">https://p11-glue.github.io/p11-glue/p11-kit.html</a></div><div><br></div><div>Or you can file a issue or pull request in github:</div><div><br></div><div><a href="https://github.com/p11-glue/p11-kit/issues">https://github.com/p11-glue/p11-kit/issues</a></div><div><br></div><div>Cheers,</div><div><br></div><div>Stef<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 1, 2020 at 4:16 PM Sad Clouds <<a href="mailto:cryintothebluesky@gmail.com">cryintothebluesky@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">There are some issues with -std=gnu99 in CFLAGS and defining<br>
_XOPEN_SOURCE macro<br>
<br>
This line needs removal in common/compat.c<br>
<br>
/*<br>
 * This is needed to expose pthread_mutexattr_settype and PTHREAD_MUTEX_DEFAULT<br>
 * on older pthreads implementations<br>
 */<br>
#define _XOPEN_SOURCE 700<br>
<br>
as it results in the following error:<br>
<br>
  CC       common/compat.lo<br>
In file included from /usr/include/sys/types.h:12,<br>
                 from common/compat.h:40,<br>
                 from common/compat.c:43:<br>
/opt/gcc-10.2.0-sparc64/lib/gcc/sparc64-sun-solaris2.11/10.2.0/include-fixed/sys/feature_tests.h:363:2: error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications  and pre-2001 POSIX applications"<br>
  363 | #error "Compiler or options invalid for pre-UNIX 03 X/Open applications \<br>
      |  ^~~~~<br>
*** [common/compat.lo] Error code 1<br>
<br>
bmake[2]: stopped in /opt/pkgbuild/objects/security/p11-kit/work/p11-kit-0.23.21<br>
1 error<br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Stef Walter (he / his)<br>Linux Engineering<br>Red Hat</div>