Print

Print


@peter-jansson : thanks for bringing this up!

First of all, unfortunately I couldn't find any predefined macro that will tell us if we are using the musl C library (I am open to any suggestions). But let's say we do in cmake something like:

check_function_exists( pthread_rwlockattr_setkind_np, HAS_NP)
if( NOT HAS_NP )
  add_compile_definitions( __MUSL__ )
endif()

Then we can use the __MUSL__ macro to make sure the _np functions are not used.

However, having this in place (and fixing few other small issues) I run into the following problems:

Now, I'm not sure we can work around those problems, especially the missing uuid/uuid.h header (I couldn't find any package providing it).

If you are willing to contribute, please open a PR and we can try to address those issues one by one.


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/1645/1072464800@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/1645#issuecomment-1072464800", "url": "https://github.com/xrootd/xrootd/issues/1645#issuecomment-1072464800", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Use REPLY-ALL to reply to list

To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1