mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] Compilation error with mesa 21.1.6
@ 2021-08-03  7:18 bluemoon
  2021-08-03 17:35 ` Érico Nogueira
  0 siblings, 1 reply; 3+ messages in thread
From: bluemoon @ 2021-08-03  7:18 UTC (permalink / raw)
  To: musl

Hi,

I’m trying to compile mesa 21.1.6 for i686 (Void Linux i686-musl). When 
Gallium Nine is enabled compilation fails. It works on x86_64 but they 
branch off on 32-bit systems and use memfd. In that code they use

ulimit(__UL_GETOPENMAX)

which is not available in musl. However, in glibc __UL_GETOPENMAX is 
assigned the return value of

sysconf(_SC_OPEN_MAX)

(cf. sysdeps/posix/ulimit.c) which is defined in musl.

So before reporting this issue to the mesa developers, I would like to 
ask if replacing the former with the latter is ok or if there is a 
caveat I don’t see.

Thank you!



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-03 19:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03  7:18 [musl] Compilation error with mesa 21.1.6 bluemoon
2021-08-03 17:35 ` Érico Nogueira
2021-08-03 19:11   ` bluemoon

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).