!ayCRiZriCVtuCUpeLp:nixos.org

Nix Cross Compiling

563 Members
120 Servers

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


SenderMessageTime
18 Oct 2025
@matthewcroughan:defenestrate.itmatthewcroughanIs the suggestion that the compiler provides correct?14:01:39
@matthewcroughan:defenestrate.itmatthewcroughan use of undeclared identifier 'SYS_close_range'; did you mean 'unix_close_range'? 14:01:46
@matthewcroughan:defenestrate.itmatthewcroughan SYS_close_range and unix_close_range are both used in the same file 14:04:07
@matthewcroughan:defenestrate.itmatthewcroughan * SYS_close_range and unix_close_range are both used in the same file (src/libutil/unix/file-descriptor.cc) 14:04:17
@matthewcroughan:defenestrate.itmatthewcroughanhttps://www.openwall.com/lists/musl/2025/09/13/114:05:32
@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.itmatthewcroughanah 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.itmatthewcroughanso it tries to use SYS_close_range14:06:29
@dramforever:matrix.orgdramforeverwhat musl version are you on again14:09:08
@matthewcroughan:defenestrate.itmatthewcroughan1.25, everything I'm doing is based on staging-next always14:09:48
@matthewcroughan:defenestrate.itmatthewcroughanif I'm ever behind it's by a day or two 14:09:55
@matthewcroughan:defenestrate.itmatthewcroughan* 1.2.5, everything I'm doing is based on staging-next always14:10:11

Show newer messages


Back to Room ListRoom Version: 6