You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While running configure for GNU Sed, on the dup2 check, the following assert is tripped.
posix: Ignoring unexpected value 16 of global signal flag
In function ~SignalGuard, file ../../../src/mlibc/sysdeps/managarm/generic/entry.cpp:74
__ensure(result == 1) failed
The check that configure is executing is pasted below
intmain (void)
{
intresult=0;
intbad_fd=INT_MAX;
structrlimitrlim;
if (getrlimit (RLIMIT_NOFILE, &rlim) ==0&&0 <= rlim.rlim_cur&&rlim.rlim_cur <= INT_MAX&&rlim.rlim_cur!=RLIM_INFINITY&&rlim.rlim_cur!=RLIM_SAVED_MAX&&rlim.rlim_cur!=RLIM_SAVED_CUR)
bad_fd=rlim.rlim_cur;
#ifdefFD_CLOEXECif (fcntl (1, F_SETFD, FD_CLOEXEC) ==-1)
result |= 1;
#endifif (dup2 (1, 1) !=1)
result |= 2;
#ifdefFD_CLOEXECif (fcntl (1, F_GETFD) !=FD_CLOEXEC)
result |= 4;
#endifclose (0);
if (dup2 (0, 0) !=-1)
result |= 8;
/* Many gnulib modules require POSIX conformance of EBADF. */if (dup2 (2, bad_fd) ==-1&&errno!=EBADF)
result |= 16;
/* Flush out some cygwin core dumps. */if (dup2 (2, -1) !=-1||errno!=EBADF)
result |= 32;
dup2 (2, 255);
dup2 (2, 256);
/* On OS/2 kLIBC, dup2() does not work on a directory fd. */
{
intfd=open (".", O_RDONLY);
if (fd==-1)
result |= 64;
elseif (dup2 (fd, fd+1) ==-1)
result |= 128;
close (fd);
}
returnresult;
;
return0;
}
The text was updated successfully, but these errors were encountered:
While running configure for GNU Sed, on the dup2 check, the following assert is tripped.
The check that configure is executing is pasted below
The text was updated successfully, but these errors were encountered: