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 in GNU sed, for the checking for working nanosleep check, an illegal instruction is triggered. IP points to libc.so, and addr2line gives /var/lib/managarm-buildenv/build/system-root/usr/share/frigg/include/frg/mutex.hpp:62 (discriminator 3) (source code here).
The text was updated successfully, but these errors were encountered:
One of the tests that consistently reproduces this is the following code snippet
#include<float.h>#include<math.h>#include<string.h>#ifHAVE_DECL_ALARM# include<signal.h># include<unistd.h>#endif/* HP cc on HP-UX 10.20 has a bug with the constant expression -0.0. ICC 10.0 has a bug when optimizing the expression -zero. The expression -DBL_MIN * DBL_MIN does not work when cross-compiling to PowerPC on Mac OS X 10.5. */#if defined __hpux|| defined __sgi|| defined __ICCstaticdoublecompute_minus_zero (void)
{
return-DBL_MIN*DBL_MIN;
}
# defineminus_zero compute_minus_zero ()
#elsedoubleminus_zero=-0.0;
#endifintmain()
{
intresult=0;
inti;
volatiledoublex;
doublezero=0.0;
#ifHAVE_DECL_ALARM/* NeXTstep 3.3 frexp() runs into an endless loop when called on an infinite number. Let the test fail in this case. */signal (SIGALRM, SIG_DFL);
alarm (5);
#endif/* Test on denormalized numbers. */for (i=1, x=1.0; i >= DBL_MIN_EXP; i--, x *= 0.5)
;
if (x>0.0)
{
intexp;
doubley=frexp (x, &exp);
/* On machines with IEEE754 arithmetic: x = 1.11254e-308, exp = -1022. On NetBSD: y = 0.75. Correct: y = 0.5. */if (y!=0.5)
result |= 1;
}
/* Test on infinite numbers. */x=1.0 / zero;
{
intexp;
doubley=frexp (x, &exp);
if (y!=x)
result |= 2;
}
/* Test on negative zero. */x=minus_zero;
{
intexp;
doubley=frexp (x, &exp);
if (memcmp (&y, &x, sizeofx))
result |= 4;
}
returnresult;
}
While running configure in GNU sed, for the
checking for working nanosleep
check, an illegal instruction is triggered. IP points to libc.so, and addr2line gives/var/lib/managarm-buildenv/build/system-root/usr/share/frigg/include/frg/mutex.hpp:62 (discriminator 3)
(source code here).The text was updated successfully, but these errors were encountered: