!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

565 Members
120 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
18 Oct 2025
@dramforever:matrix.orgdramforever no because this is inside unix_close_range 14:05:37
@dramforever:matrix.orgdramforever
#if defined(__linux__) || defined(__FreeBSD__)
static int unix_close_range(unsigned int first, unsigned int last, int flags)
{
#  if !HAVE_CLOSE_RANGE
    return syscall(SYS_close_range, first, last, (unsigned int) flags);
#  else
    return close_range(first, last, flags);
#  endif
}
#endif
14:06:05
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemah yes, so it's like, musl doesn't have it14:06:25
@dramforever:matrix.orgdramforeverimplementing unix_close_range in terms of unix_close_range would be funny ... no it wouldn't work14:06:25
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemso it tries to use SYS_close_range14:06:29
@dramforever:matrix.orgdramforeverwhat musl version are you on again14:09:08
@matthewcroughan:defenestrate.itmatthewcroughan @fosdem1.25, everything I'm doing is based on staging-next always14:09:48
@matthewcroughan:defenestrate.itmatthewcroughan @fosdemif I'm ever behind it's by a day or two 14:09:55

Show newer messages


Back to Room ListRoom Version: 6