mailing list of musl libc
 help / color / mirror / code / Atom feed
* glibc vs musl sizeof types
@ 2014-03-11 12:16 Szabolcs Nagy
  2014-03-11 18:26 ` Rich Felker
  0 siblings, 1 reply; 4+ messages in thread
From: Szabolcs Nagy @ 2014-03-11 12:16 UTC (permalink / raw)
  To: musl

i did sizeof comparisions of most structs on i386, x86_64, mips, arm, powerpc
using embedian cross compilers vs musl-cross

(embedian toolchain is old though: gcc-4.4, glibc-2.13, binutils-2.20)

http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.arm.diff
http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.i386.diff
http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.mips.diff
http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.powerpc.diff
http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.x86_64.diff

struct rusage and struct sysinfo are known to have
extra space on musl, struct tftphdr is not "packed"
on musl and struct crypt_data is huge on glibc
other diffs may or may not be an issue


the test code if you want to try it on other arch:

http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=sizeof.c

struct user_* are not avail on most archs (other than x86)
nor sys/reg.h so those should be commented out
(cflags is -std=gnu99, the diff is diff -U1 glibc musl >sizeof.diff)



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

* Re: glibc vs musl sizeof types
  2014-03-11 12:16 glibc vs musl sizeof types Szabolcs Nagy
@ 2014-03-11 18:26 ` Rich Felker
  2014-03-11 19:29   ` John Spencer
  0 siblings, 1 reply; 4+ messages in thread
From: Rich Felker @ 2014-03-11 18:26 UTC (permalink / raw)
  To: musl

On Tue, Mar 11, 2014 at 01:16:52PM +0100, Szabolcs Nagy wrote:
> i did sizeof comparisions of most structs on i386, x86_64, mips, arm, powerpc
> using embedian cross compilers vs musl-cross
> 
> (embedian toolchain is old though: gcc-4.4, glibc-2.13, binutils-2.20)
> 
> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.arm.diff
> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.i386.diff
> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.mips.diff
> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.powerpc.diff
> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.x86_64.diff

Of these, mips has a number of mismatches in structs reflecting
register state, and powerpc has at least one of those too as well as
sysvipc mismatches which may be bugs. Any idea? If so now is the time
these should be fixed.

The differences to the others seem either mostly inconsequential or
due to bugs in glibc.

Rich


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

* Re: glibc vs musl sizeof types
  2014-03-11 18:26 ` Rich Felker
@ 2014-03-11 19:29   ` John Spencer
  2014-03-11 19:49     ` Szabolcs Nagy
  0 siblings, 1 reply; 4+ messages in thread
From: John Spencer @ 2014-03-11 19:29 UTC (permalink / raw)
  To: musl

Rich Felker wrote:
> On Tue, Mar 11, 2014 at 01:16:52PM +0100, Szabolcs Nagy wrote:
>> i did sizeof comparisions of most structs on i386, x86_64, mips, arm, powerpc
>> using embedian cross compilers vs musl-cross
>>
>> (embedian toolchain is old though: gcc-4.4, glibc-2.13, binutils-2.20)
>>
>> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.arm.diff
>> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.i386.diff
>> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.mips.diff
>> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.powerpc.diff
>> http://nsz.repo.hu/git/?p=musl-tables;a=blob;f=data/sizeof.x86_64.diff
> 
> Of these, mips has a number of mismatches in structs reflecting
> register state, and powerpc has at least one of those too as well as
> sysvipc mismatches which may be bugs. Any idea? If so now is the time
> these should be fixed.

here are the results from libc-test run with qemu-ppc (user emu) with a 
cross compiler using latest musl
src/api/fcntl.c: In function ‘f’:
src/api/fcntl.c:30:3: error: ‘O_TTY_INIT’ undeclared (first use in this 
function)
  C(O_TTY_INIT)
    ^
src/api/fcntl.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/fcntl.c:30:3: note: each undeclared identifier is reported only 
once for each function it appears in
  C(O_TTY_INIT)
    ^
src/api/fcntl.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
Error while loading ./src/api/main.exe: Operation not permitted
FAIL ./src/api/main.exe [status 1]
powerpc-linux-musl-gcc: error: src/api/fcntl.o: No such file or directory
powerpc-linux-musl-gcc: error: src/api/netdb.o: No such file or directory
powerpc-linux-musl-gcc: error: src/api/search.o: No such file or directory
powerpc-linux-musl-gcc: error: src/api/sys_socket.o: No such file or 
directory
powerpc-linux-musl-gcc: error: src/api/unistd.o: No such file or directory
src/api/netdb.c: In function ‘f’:
src/api/netdb.c:60:3: error: ‘NI_NUMERICSCOPE’ undeclared (first use in 
this function)
  C(NI_NUMERICSCOPE)
    ^
src/api/netdb.c:4:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/netdb.c:60:3: note: each undeclared identifier is reported only 
once for each function it appears in
  C(NI_NUMERICSCOPE)
    ^
src/api/netdb.c:4:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/search.c: In function ‘f’:
src/api/search.c:12:14: error: storage size of ‘x’ isn’t known
  struct entry x;
               ^
src/api/sys_socket.c: In function ‘f’:
src/api/sys_socket.c:3:24: error: pointer targets in initialization 
differ in signedness [-Wpointer-sign]
  #define F(t,n) {t *y = &x.n;}
                         ^
src/api/sys_socket.c:23:1: note: in expansion of macro ‘F’
  F(socklen_t,msg_namelen)
  ^
src/api/sys_socket.c:3:24: error: initialization from incompatible 
pointer type
  #define F(t,n) {t *y = &x.n;}
                         ^
src/api/sys_socket.c:25:1: note: in expansion of macro ‘F’
  F(int,msg_iovlen)
  ^
src/api/sys_socket.c:3:24: error: initialization from incompatible 
pointer type
  #define F(t,n) {t *y = &x.n;}
                         ^
src/api/sys_socket.c:27:1: note: in expansion of macro ‘F’
  F(socklen_t,msg_controllen)
  ^
src/api/sys_socket.c:3:24: error: pointer targets in initialization 
differ in signedness [-Wpointer-sign]
  #define F(t,n) {t *y = &x.n;}
                         ^
src/api/sys_socket.c:28:1: note: in expansion of macro ‘F’
  F(int,msg_flags)
  ^
src/api/unistd.c: In function ‘f’:
src/api/unistd.c:87:3: error: ‘_CS_POSIX_V7_THREADS_CFLAGS’ undeclared 
(first use in this function)
  C(_CS_POSIX_V7_THREADS_CFLAGS)
    ^
src/api/unistd.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/unistd.c:87:3: note: each undeclared identifier is reported only 
once for each function it appears in
  C(_CS_POSIX_V7_THREADS_CFLAGS)
    ^
src/api/unistd.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/unistd.c:88:3: error: ‘_CS_POSIX_V7_THREADS_LDFLAGS’ undeclared 
(first use in this function)
  C(_CS_POSIX_V7_THREADS_LDFLAGS)
    ^
src/api/unistd.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/unistd.c:90:3: error: ‘_CS_V7_ENV’ undeclared (first use in this 
function)
  C(_CS_V7_ENV)
    ^
src/api/unistd.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/unistd.c:117:3: error: ‘_PC_TIMESTAMP_RESOLUTION’ undeclared 
(first use in this function)
  C(_PC_TIMESTAMP_RESOLUTION)
    ^
src/api/unistd.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/api/unistd.c:238:3: error: ‘_SC_XOPEN_UUCP’ undeclared (first use in 
this function)
  C(_SC_XOPEN_UUCP)
    ^
src/api/unistd.c:5:21: note: in definition of macro ‘C’
  #define C(n) switch(n){case n:;}
                      ^
src/functional/ipc_msg.c:60: qid_ds.msg_perm.mode & 0x1ff == 0666 
failed: got 750, want 666
src/functional/ipc_msg.c:128: child exit status: 256
FAIL ./src/functional/ipc_msg-static.exe [status 1]
src/functional/ipc_msg.c:60: qid_ds.msg_perm.mode & 0x1ff == 0666 
failed: got 750, want 666
src/functional/ipc_msg.c:128: child exit status: 256
FAIL ./src/functional/ipc_msg.exe [status 1]
FAIL ./src/functional/ipc_sem-static.exe [signal Segmentation fault]
FAIL ./src/functional/ipc_sem.exe [signal Segmentation fault]
src/functional/ipc_shm.c:52: shmctl(shmid, IPC_STAT, &shmid_ds) failed: 
Bad address
src/functional/ipc_shm.c:53: shmid_ds.shm_perm.cuid == geteuid() failed: 
got 0, want 1000
src/functional/ipc_shm.c:55: shmid_ds.shm_perm.cgid == getegid() failed: 
got 134217728, want 1000
src/functional/ipc_shm.c:57: shmid_ds.shm_perm.mode & 0x1ff == 0666 
failed: got 144, want 666
src/functional/ipc_shm.c:58: shmid_ds.shm_segsz == 100 failed: got 0, 
want 100
src/functional/ipc_shm.c:60: shmid_ds.shm_cpid == getpid() failed: got 
0, want 11121
src/functional/ipc_shm.c:62: (long)shmid_ds.shm_atime == 0 failed: got 
22, want 0
src/functional/ipc_shm.c:65: shmid_ds.shm_ctime >= t failed: got 0, want 
 >= 1394565501
src/functional/ipc_shm.c:72: shmctl(shmid, IPC_STAT, &shmid_ds) failed: 
Bad address
src/functional/ipc_shm.c:73: (int)shmid_ds.shm_nattch == 1 failed: got 
0, want 1
src/functional/ipc_shm.c:74: shmid_ds.shm_lpid == getpid() failed: got 
0, want 11121
src/functional/ipc_shm.c:76: shm_atime is 22 want >= 1394565501
src/functional/ipc_shm.c:118: child exit status: 256
FAIL ./src/functional/ipc_shm-static.exe [status 1]
src/functional/ipc_shm.c:52: shmctl(shmid, IPC_STAT, &shmid_ds) failed: 
Bad address
src/functional/ipc_shm.c:53: shmid_ds.shm_perm.cuid == geteuid() failed: 
got 100, want 1000
src/functional/ipc_shm.c:54: shmid_ds.shm_perm.uid == geteuid() failed: 
got 0, want 1000
src/functional/ipc_shm.c:55: shmid_ds.shm_perm.cgid == getegid() failed: 
got 0, want 1000
src/functional/ipc_shm.c:56: shmid_ds.shm_perm.gid == getegid() failed: 
got 134217728, want 1000
src/functional/ipc_shm.c:57: shmid_ds.shm_perm.mode & 0x1ff == 0666 
failed: got 40, want 666
src/functional/ipc_shm.c:58: shmid_ds.shm_segsz == 100 failed: got 0, 
want 100
src/functional/ipc_shm.c:60: shmid_ds.shm_cpid == getpid() failed: got 
0, want 10043
src/functional/ipc_shm.c:65: shmid_ds.shm_ctime >= t failed: got 0, want 
 >= 1394565498
src/functional/ipc_shm.c:72: shmctl(shmid, IPC_STAT, &shmid_ds) failed: 
Bad address
src/functional/ipc_shm.c:73: (int)shmid_ds.shm_nattch == 1 failed: got 
0, want 1
src/functional/ipc_shm.c:74: shmid_ds.shm_lpid == getpid() failed: got 
0, want 10043
src/functional/ipc_shm.c:76: shm_atime is 0 want >= 1394565498
src/functional/ipc_shm.c:118: child exit status: 256
FAIL ./src/functional/ipc_shm.exe [status 1]
FAIL ./src/functional/pthread_cancel-static.exe [signal RT33]
FAIL ./src/functional/pthread_cancel.exe [signal RT33]
FAIL ./src/functional/pthread_mutex-static.exe [timed out]
src/functional/pthread_mutex.c:138: PTHREAD_MUTEX_ERRORCHECK relock did 
not return EDEADLK, got deadlock
FAIL ./src/functional/pthread_mutex.exe [timed out]
FAIL ./src/functional/pthread_robust-static.exe [timed out]
FAIL ./src/functional/pthread_robust.exe [timed out]
src/math/special/acosh.h:9: RN acosh(0x1.001f1c62cf304p+0) want 
0x1.f8d125ff71ccp-6 got 0x1.f8d125ff71cc2p-6 ulperr 1.853 = 0x1p+1 + 
-0x1.2d785ap-3
FAIL ./src/math/acosh.exe [status 1]
src/math/special/acosh.h:9: RN acoshl(0x1.001f1c62cf304p+0) want 
0x1.f8d125ff71ccp-6 got 0x1.f8d125ff71cc2p-6 ulperr 1.853 = 0x1p+1 + 
-0x1.2d785ap-3
src/math/special/acosh.h:10: RN acoshl(0x1.00788c223616fp+0) want 
0x1.f0cb8ee812621p-5 got 0x1.f0cb8ee812623p-5 ulperr 1.724 = 0x1p+1 + 
-0x1.1b0c1ap-2
src/math/special/acosh.h:11: RN acoshl(0x1.007b7a37c7606p+0) want 
0x1.f6cb68859ae3p-5 got 0x1.f6cb68859ae2ep-5 ulperr -1.855 = -0x1p+1 + 
0x1.280488p-3
src/math/special/acosh.h:12: RN acoshl(0x1.01d173033243cp+0) want 
0x1.e7e1b18d99376p-4 got 0x1.e7e1b18d99378p-4 ulperr 1.930 = 0x1p+1 + 
-0x1.1f3d3ep-4
src/math/special/acosh.h:13: RN acoshl(0x1.01d8f20e90409p+0) want 
0x1.ebca3eea5cda5p-4 got 0x1.ebca3eea5cda3p-4 ulperr -1.652 = -0x1p+1 + 
0x1.648602p-2
src/math/special/acosh.h:14: RN acoshl(0x1.01ef6122e68bep+0) want 
0x1.f74df150afc94p-4 got 0x1.f74df150afc92p-4 ulperr -1.762 = -0x1p+1 + 
0x1.e79556p-3
src/math/special/acosh.h:17: RN acoshl(0x1.069d65411ec51p+0) want 
0x1.d0928b08facbap-3 got 0x1.d0928b08facbcp-3 ulperr 1.785 = 0x1p+1 + 
-0x1.b83338p-3
src/math/special/acosh.h:19: RN acoshl(0x1.0728405f5140cp+0) want 
0x1.e328ebe92b32cp-3 got 0x1.e328ebe92b32ep-3 ulperr 1.790 = 0x1p+1 + 
-0x1.ae89ap-3
src/math/special/acosh.h:21: RN acoshl(0x1.1aae7c452c859p+0) want 
0x1.cf8d69288e386p-2 got 0x1.cf8d69288e384p-2 ulperr -1.723 = -0x1p+1 + 
0x1.1b325ap-2
src/math/special/acosh.h:23: RN acoshl(0x1.1b50764626f1ep+0) want 
0x1.d4ec67c71794p-2 got 0x1.d4ec67c717942p-2 ulperr 1.738 = 0x1p+1 + 
-0x1.0c09dap-2
FAIL ./src/math/acoshl.exe [status 1]
src/math/special/asinh.h:12: RN asinh(0x1.f339ebbeac5bap-3) want 
0x1.ee68f10a49c42p-3 got 0x1.ee68f10a49c44p-3 ulperr 1.529 = 0x1p+1 + 
-0x1.e28cbp-2
FAIL ./src/math/asinh.exe [status 1]
src/math/special/asinh.h:12: RN asinhl(0x1.f339ebbeac5bap-3) want 
0x1.ee68f10a49c42p-3 got 0x1.ee68f10a49c44p-3 ulperr 1.529 = 0x1p+1 + 
-0x1.e28cbp-2
src/math/special/asinh.h:14: RN asinhl(0x1.f60d54a133665p-3) want 
0x1.f127a8dec0c2p-3 got 0x1.f127a8dec0c1ep-3 ulperr -1.512 = -0x1p+1 + 
0x1.f3c9eap-2
src/math/special/asinh.h:17: RN asinhl(0x1.028e8fd61c8a5p-2) want 
0x1.ffc55bd02e9dep-3 got 0x1.ffc55bd02e9ep-3 ulperr 1.670 = 0x1p+1 + 
-0x1.523c08p-2
src/math/special/asinh.h:18: RN asinhl(0x1.dc71794e1f137p-2) want 
0x1.ccbd41a7d058ap-2 got 0x1.ccbd41a7d0588p-2 ulperr -1.585 = -0x1p+1 + 
0x1.a944b8p-2
src/math/special/asinh.h:19: RN asinhl(0x1.df308e177c3cbp-2) want 
0x1.cf3a638145d7ap-2 got 0x1.cf3a638145d78p-2 ulperr -1.505 = -0x1p+1 + 
0x1.fb3684p-2
src/math/special/asinh.h:21: RN asinhl(0x1.ecd4f07608dc7p-2) want 
0x1.db8d6fdcc6d74p-2 got 0x1.db8d6fdcc6d76p-2 ulperr 1.517 = 0x1p+1 + 
-0x1.eeb48p-2
src/math/special/asinh.h:22: RN asinhl(0x1.f30656c78ee7ep-2) want 
0x1.e1204e364a186p-2 got 0x1.e1204e364a188p-2 ulperr 1.576 = 0x1p+1 + 
-0x1.b23ffp-2
src/math/special/asinh.h:23: RN asinhl(0x1.f5c0c6e41b969p-2) want 
0x1.e393d3dc3b70ap-2 got 0x1.e393d3dc3b70cp-2 ulperr 1.562 = 0x1p+1 + 
-0x1.c06dbep-2
src/math/special/asinh.h:24: RN asinhl(0x1.09c58725300e7p-1) want 
0x1.fe2c7f25fb172p-2 got 0x1.fe2c7f25fb174p-2 ulperr 1.579 = 0x1p+1 + 
-0x1.ae9df6p-2
FAIL ./src/math/asinhl.exe [status 1]
src/math/sanity/remainder.h:1: RN 
drem(-0x1.02239f3c6a8f1p+3,0x1.22484b9ef31fp+2) want 
0x1.01256314447f8p+0 got 0x1.0030ff78p+30 ulperr 
4839318840296963770941440.000 = 0x1.0031p+82 + 0x0p+0
src/math/sanity/remainder.h:2: RN 
drem(0x1.161868e18bc67p+2,-0x1.1c6a6cdce75e8p+3) want 
0x1.161868e18bc67p+2 got 0x1.00458618p+30 ulperr 
1210208300673316216111104.000 = 0x1.004586p+80 + 0x0p+0
src/math/sanity/remainder.h:3: RN 
drem(-0x1.0c34b3e01e6e7p+3,-0x1.61bde29e83f6dp+1) want 
-0x1.7324f49dbaaap-4 got 0x1.fdb99278p+29 ulperr 
77027446650976486985564160.000 = 0x1.fdb992p+85 + 0x0p+0
src/math/sanity/remainder.h:4: RN 
drem(-0x1.a206f0a19dcc4p+2,0x1.24527f7b576acp+2) want 
-0x1.f6d1c4991986p+0 got 0x1.fffb68ep+29 ulperr 
4835533798997339492319232.000 = 0x1.fffb68p+81 + 0x0p+0
src/math/sanity/remainder.h:5: RN 
drem(0x1.288bbb0d6a1e6p+3,0x1.33edd910a3c01p+2) want 
-0x1.6c43c0673436p-2 got 0x1.00474a64p+30 ulperr 
19363853931293141752610816.000 = 0x1.00474ap+84 + 0x0p+0
src/math/sanity/remainder.h:6: RN 
drem(-0x1.9ccd8be03f495p+2,0x1.52fb12ef638a1p-1) want 
0x1.5d89795fa4688p-3 got 0x1.fefb98bp+29 ulperr 
38608767868485022743789568.000 = 0x1.fefb98p+84 + 0x0p+0
src/math/sanity/remainder.h:7: RN 
drem(0x1.f6f80ed2eab44p+2,0x1.ab3ff8575b21dp-5) want 
-0x1.0d682422cda36p-6 got 0x1.fd1245fp+29 ulperr 
307714768026311531603951616.000 = 0x1.fd1246p+87 + 0x0p+0
src/math/sanity/remainder.h:8: RN 
drem(-0x1.95882b433fad3p-1,0x1.eb4a2e7ce0693p+2) want 
-0x1.95882b433fad3p-1 got 0x1.eb4a2p+20 ulperr 
18125391974098343559168.000 = 0x1.eb4a2cp+73 + 0x0p+0
src/math/sanity/remainder.h:9: RN 
drem(0x1.3b3d617ae3c4ap-1,0x1.01860611d75e1p+1) want 
0x1.3b3d617ae3c4ap-1 got 0x1.0186p+20 ulperr 9500932259589340004352.000 
= 0x1.0185f6p+73 + 0x0p+0
src/math/sanity/remainder.h:10: RN 
drem(-0x1.1e159e36313eep-1,0x1.081bd34224213p-5) want 
-0x1.5e036ffab6e74p-7 got 0x1.fc2f01bp+29 ulperr 
614356304482414641494884352.000 = 0x1.fc2f02p+88 + 0x0p+0
src/math/special/remainder.h:1: RN drem(0x0p+0,0x1p+0) want 0x0p+0 got 
-0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:2: RN drem(-0x0p+0,0x1p+0) want -0x0p+0 got 
-0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:3: RN drem(0x1p-1,0x1p+0) want 0x1p-1 got 
0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:4: RN drem(-0x1p-1,0x1p+0) want -0x1p-1 got 
0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:6: RN drem(-0x1p+0,0x1p+0) want -0x0p+0 got 
0x0p+0 ulperr inf = inf + 0x0p+0
src/math/special/remainder.h:7: RN drem(0x1.8p+0,0x1p+0) want -0x1p-1 
got 0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:8: RN drem(-0x1.8p+0,0x1p+0) want 0x1p-1 
got 0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:10: RN drem(-0x1p+1,0x1p+0) want -0x0p+0 
got 0x0p+0 ulperr inf = inf + 0x0p+0
src/math/special/remainder.h:11: RN drem(inf,0x1p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:12: RN drem(-inf,0x1p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:13: RN drem(nan,0x1p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:14: RN drem(0x0p+0,-0x1p+0) want 0x0p+0 got 
-0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:15: RN drem(-0x0p+0,-0x1p+0) want -0x0p+0 
got -0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:16: RN drem(0x1p-1,-0x1p+0) want 0x1p-1 got 
0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:17: RN drem(-0x1p-1,-0x1p+0) want -0x1p-1 
got 0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:19: RN drem(-0x1p+0,-0x1p+0) want -0x0p+0 
got 0x0p+0 ulperr inf = inf + 0x0p+0
src/math/special/remainder.h:20: RN drem(0x1.8p+0,-0x1p+0) want -0x1p-1 
got 0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:21: RN drem(-0x1.8p+0,-0x1p+0) want 0x1p-1 
got 0x1.ffp+29 ulperr 9652517090985554816794624.000 = 0x1.ffp+82 + 0x0p+0
src/math/special/remainder.h:23: RN drem(-0x1p+1,-0x1p+0) want -0x0p+0 
got 0x0p+0 ulperr inf = inf + 0x0p+0
src/math/special/remainder.h:24: RN drem(inf,-0x1p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:25: RN drem(-inf,-0x1p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:26: RN drem(nan,-0x1p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:27: RN drem(0x0p+0,0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:28: RN drem(0x0p+0,-0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:29: RN drem(0x0p+0,inf) want 0x0p+0 got 
-0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:30: RN drem(0x0p+0,-inf) want 0x0p+0 got 
-0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:31: RN drem(0x0p+0,nan) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:32: RN drem(-0x0p+0,0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:33: RN drem(-0x0p+0,-0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:34: RN drem(-0x0p+0,inf) want -0x0p+0 got 
-0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:35: RN drem(-0x0p+0,-inf) want -0x0p+0 got 
-0x1.200119p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainder.h:36: RN drem(-0x0p+0,nan) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:37: RN drem(0x1p+0,0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:38: RN drem(-0x1p+0,0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:39: RN drem(inf,0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:40: RN drem(-inf,0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:41: RN drem(nan,0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:42: RN drem(-0x1p+0,-0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:43: RN drem(inf,-0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:44: RN drem(-inf,-0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:45: RN drem(nan,-0x0p+0) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:46: RN drem(inf,0x1p+1) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:47: RN drem(inf,-0x1p-1) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:48: RN drem(inf,nan) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:49: RN drem(-inf,0x1p+1) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:50: RN drem(-inf,-0x1p-1) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:51: RN drem(-inf,nan) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:52: RN drem(nan,nan) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:53: RN drem(0x1p+0,nan) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:54: RN drem(-0x1p+0,nan) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:55: RN drem(0x1p+0,inf) want 0x1p+0 got 
0x1p+20 ulperr 4722361979270017843200.000 = 0x1.ffffep+71 + 0x0p+0
src/math/special/remainder.h:56: RN drem(-0x1p+0,inf) want -0x1p+0 got 
0x1p+20 ulperr 4722370986469272584192.000 = 0x1.00001p+72 + 0x0p+0
src/math/special/remainder.h:57: RN drem(inf,inf) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:58: RN drem(-inf,inf) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:59: RN drem(0x1p+0,-inf) want 0x1p+0 got 
0x1p+20 ulperr 4722361979270017843200.000 = 0x1.ffffep+71 + 0x0p+0
src/math/special/remainder.h:60: RN drem(-0x1p+0,-inf) want -0x1p+0 got 
0x1p+20 ulperr 4722370986469272584192.000 = 0x1.00001p+72 + 0x0p+0
src/math/special/remainder.h:61: RN drem(inf,-inf) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:62: RN drem(-inf,-inf) want nan got 
-0x1.200119p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainder.h:63: RN drem(0x1.cp+0,0x1p-1) want -0x1p-2 
got 0x1.fe8p+29 ulperr 19286144716039631052734464.000 = 0x1.fe8p+83 + 0x0p+0
src/math/special/remainder.h:64: RN drem(-0x1.cp+0,0x1p-1) want 0x1p-2 
got 0x1.fe8p+29 ulperr 19286144716039631052734464.000 = 0x1.fe8p+83 + 0x0p+0
src/math/special/remainder.h:65: RN drem(0x1.cp+0,-0x1p-1) want -0x1p-2 
got 0x1.fe8p+29 ulperr 19286144716039631052734464.000 = 0x1.fe8p+83 + 0x0p+0
src/math/special/remainder.h:66: RN drem(-0x1.cp+0,-0x1p-1) want 0x1p-2 
got 0x1.fe8p+29 ulperr 19286144716039631052734464.000 = 0x1.fe8p+83 + 0x0p+0
src/math/special/remainder.h:67: RN drem(0x1p-1070,inf) want 0x1p-1070 
got 0x1p+20 ulperr inf = inf + 0x0p+0
FAIL ./src/math/drem.exe [status 1]
src/math/drem.c: In function ‘main’:
src/math/drem.c:27:3: warning: implicit declaration of function ‘drem’ 
[-Wimplicit-function-declaration]
    y = drem(p->x, p->x2);
    ^
src/math/sanity/remainderf.h:1: RN dremf(-0x1.0223ap+3,0x1.22484cp+2) 
want 0x1.01256p+0 got -0x1.200118p+27 ulperr -1266656185679872.000 = 
-0x1.200118p+50 + 0x0p+0
src/math/sanity/remainderf.h:2: RN dremf(0x1.161868p+2,-0x1.1c6a6cp+3) 
want 0x1.161868p+2 got -0x1.200118p+27 ulperr -316664046419968.000 = 
-0x1.200118p+48 + 0x0p+0
src/math/sanity/remainderf.h:3: RN dremf(-0x1.0c34b4p+3,-0x1.61bde2p+1) 
want -0x1.73254p-4 got -0x1.200118p+27 ulperr -20266498970877952.000 = 
-0x1.200118p+54 + 0x0p+0
src/math/sanity/remainderf.h:4: RN dremf(-0x1.a206fp+2,0x1.24528p+2) 
want -0x1.f6d1cp+0 got -0x1.200118p+27 ulperr -1266656185679872.000 = 
-0x1.200118p+50 + 0x0p+0
src/math/sanity/remainderf.h:5: RN dremf(0x1.288bbcp+3,0x1.33eddap+2) 
want -0x1.6c43cp-2 got -0x1.200118p+27 ulperr -5066624742719488.000 = 
-0x1.200118p+52 + 0x0p+0
src/math/sanity/remainderf.h:6: RN dremf(-0x1.9ccd8cp+2,0x1.52fb12p-1) 
want 0x1.5d895p-3 got -0x1.200118p+27 ulperr -10133249485438976.000 = 
-0x1.200118p+53 + 0x0p+0
src/math/sanity/remainderf.h:7: RN dremf(0x1.f6f80ep+2,0x1.ab3ff8p-5) 
want -0x1.0d689p-6 got -0x1.200118p+27 ulperr -81065995883511808.000 = 
-0x1.200118p+56 + 0x0p+0
src/math/sanity/remainderf.h:8: RN dremf(-0x1.95882cp-1,0x1.eb4a2ep+2) 
want -0x1.95882cp-1 got -0x1.200118p+27 ulperr -2533312371359744.000 = 
-0x1.200118p+51 + 0x0p+0
src/math/sanity/remainderf.h:9: RN dremf(0x1.3b3d62p-1,0x1.018606p+1) 
want 0x1.3b3d62p-1 got -0x1.200118p+27 ulperr -2533312371359744.000 = 
-0x1.200118p+51 + 0x0p+0
src/math/sanity/remainderf.h:10: RN dremf(-0x1.1e159ep-1,0x1.081bd4p-5) 
want -0x1.5e033p-7 got -0x1.200118p+27 ulperr -162131991767023616.000 = 
-0x1.200118p+57 + 0x0p+0
src/math/special/remainderf.h:1: RN dremf(0x0p+0,0x1p+0) want 0x0p+0 got 
-0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:2: RN dremf(-0x0p+0,0x1p+0) want -0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:3: RN dremf(0x1p-1,0x1p+0) want 0x1p-1 got 
-0x1.200118p+27 ulperr -2533312371359744.000 = -0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:4: RN dremf(-0x1p-1,0x1p+0) want -0x1p-1 
got -0x1.200118p+27 ulperr -2533312371359744.000 = -0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:5: RN dremf(0x1p+0,0x1p+0) want 0x0p+0 got 
-0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:6: RN dremf(-0x1p+0,0x1p+0) want -0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:7: RN dremf(0x1.8p+0,0x1p+0) want -0x1p-1 
got -0x1.200118p+27 ulperr -2533312371359744.000 = -0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:8: RN dremf(-0x1.8p+0,0x1p+0) want 0x1p-1 
got -0x1.200118p+27 ulperr -2533312371359744.000 = -0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:9: RN dremf(0x1p+1,0x1p+0) want 0x0p+0 got 
-0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:10: RN dremf(-0x1p+1,0x1p+0) want -0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:11: RN dremf(inf,0x1p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:12: RN dremf(-inf,0x1p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:13: RN dremf(nan,0x1p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:14: RN dremf(0x0p+0,-0x1p+0) want 0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:15: RN dremf(-0x0p+0,-0x1p+0) want -0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:16: RN dremf(0x1p-1,-0x1p+0) want 0x1p-1 
got -0x1.200118p+27 ulperr -2533312371359744.000 = -0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:17: RN dremf(-0x1p-1,-0x1p+0) want -0x1p-1 
got -0x1.200118p+27 ulperr -2533312371359744.000 = -0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:18: RN dremf(0x1p+0,-0x1p+0) want 0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:19: RN dremf(-0x1p+0,-0x1p+0) want -0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:20: RN dremf(0x1.8p+0,-0x1p+0) want 
-0x1p-1 got -0x1.200118p+27 ulperr -2533312371359744.000 = 
-0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:21: RN dremf(-0x1.8p+0,-0x1p+0) want 
0x1p-1 got -0x1.200118p+27 ulperr -2533312371359744.000 = 
-0x1.200118p+51 + 0x0p+0
src/math/special/remainderf.h:22: RN dremf(0x1p+1,-0x1p+0) want 0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:23: RN dremf(-0x1p+1,-0x1p+0) want -0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:24: RN dremf(inf,-0x1p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:25: RN dremf(-inf,-0x1p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:26: RN dremf(nan,-0x1p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:27: RN dremf(0x0p+0,0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:28: RN dremf(0x0p+0,-0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:29: RN dremf(0x0p+0,inf) want 0x0p+0 got 
-0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:30: RN dremf(0x0p+0,-inf) want 0x0p+0 got 
-0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:31: RN dremf(0x0p+0,nan) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:32: RN dremf(-0x0p+0,0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:33: RN dremf(-0x0p+0,-0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:34: RN dremf(-0x0p+0,inf) want -0x0p+0 got 
-0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:35: RN dremf(-0x0p+0,-inf) want -0x0p+0 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
src/math/special/remainderf.h:36: RN dremf(-0x0p+0,nan) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:37: RN dremf(0x1p+0,0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:38: RN dremf(-0x1p+0,0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:39: RN dremf(inf,0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:40: RN dremf(-inf,0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:41: RN dremf(nan,0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:42: RN dremf(-0x1p+0,-0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:43: RN dremf(inf,-0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:44: RN dremf(-inf,-0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:45: RN dremf(nan,-0x0p+0) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:46: RN dremf(inf,0x1p+1) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:47: RN dremf(inf,-0x1p-1) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:48: RN dremf(inf,nan) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:49: RN dremf(-inf,0x1p+1) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:50: RN dremf(-inf,-0x1p-1) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:51: RN dremf(-inf,nan) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:52: RN dremf(nan,nan) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:53: RN dremf(0x1p+0,nan) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:54: RN dremf(-0x1p+0,nan) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:55: RN dremf(0x1p+0,inf) want 0x1p+0 got 
-0x1.200118p+27 ulperr -1266656185679872.000 = -0x1.200118p+50 + 0x0p+0
src/math/special/remainderf.h:56: RN dremf(-0x1p+0,inf) want -0x1p+0 got 
-0x1.200118p+27 ulperr -1266656185679872.000 = -0x1.200118p+50 + 0x0p+0
src/math/special/remainderf.h:57: RN dremf(inf,inf) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:58: RN dremf(-inf,inf) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:59: RN dremf(0x1p+0,-inf) want 0x1p+0 got 
-0x1.200118p+27 ulperr -1266656185679872.000 = -0x1.200118p+50 + 0x0p+0
src/math/special/remainderf.h:60: RN dremf(-0x1p+0,-inf) want -0x1p+0 
got -0x1.200118p+27 ulperr -1266656185679872.000 = -0x1.200118p+50 + 0x0p+0
src/math/special/remainderf.h:61: RN dremf(inf,-inf) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:62: RN dremf(-inf,-inf) want nan got 
-0x1.200118p+27 ulperr nan = nan + 0x0p+0
src/math/special/remainderf.h:63: RN dremf(0x1.cp+0,0x1p-1) want -0x1p-2 
got -0x1.200118p+27 ulperr -5066624742719488.000 = -0x1.200118p+52 + 0x0p+0
src/math/special/remainderf.h:64: RN dremf(-0x1.cp+0,0x1p-1) want 0x1p-2 
got -0x1.200118p+27 ulperr -5066624742719488.000 = -0x1.200118p+52 + 0x0p+0
src/math/special/remainderf.h:65: RN dremf(0x1.cp+0,-0x1p-1) want 
-0x1p-2 got -0x1.200118p+27 ulperr -5066624742719488.000 = 
-0x1.200118p+52 + 0x0p+0
src/math/special/remainderf.h:66: RN dremf(-0x1.cp+0,-0x1p-1) want 
0x1p-2 got -0x1.200118p+27 ulperr -5066624742719488.000 = 
-0x1.200118p+52 + 0x0p+0
src/math/special/remainderf.h:67: RN dremf(0x1p-127,inf) want 0x1p-127 
got -0x1.200118p+27 ulperr -inf = -inf + 0x0p+0
FAIL ./src/math/dremf.exe [status 1]
src/math/dremf.c: In function ‘main’:
src/math/dremf.c:27:3: warning: implicit declaration of function ‘dremf’ 
[-Wimplicit-function-declaration]
    y = dremf(p->x, p->x2);
    ^
src/math/j0.c: known to be broken near zeros
FAIL ./src/math/j0.exe [status 1]
src/math/sanity/jn.h:8: RN jn(0x1.1f9ef934745cbp-1, 5) want 
0x1.e274364abf2d5p-17 got 0x1.e274364abf2d2p-17, ulperr -2.504 = 
-0x1.8p+1 + 0x1.fbe5c8p-2
FAIL ./src/math/jn.exe [status 1]
src/math/sanity/jnf.h:1: RN jnf(-0x1.0223ap+3, -2) want -0x1.863726p-4 
got -0x1.86372ap-4, ulperr -2.009 = -0x1p+1 + -0x1.28885p-7
src/math/sanity/jnf.h:8: RN jnf(0x1.1f9efap-1, 5) want 0x1.e2743cp-17 
got 0x1.e27442p-17, ulperr 2.537 = 0x1.8p+1 + -0x1.d9c372p-2
src/math/sanity/jnf.h:10: RN jnf(-0x1.5b86eap-1, 7) want -0x1.b39a9cp-24 
got -0x1.b39a98p-24, ulperr 1.621 = 0x1p+1 + -0x1.83c12p-2
FAIL ./src/math/jnf.exe [status 1]
src/math/sanity/lgamma.h:7: RN lgamma(-0x1.a05cc754481d1p-2) want 
0x1.4ef387fea1014p+0,-1 got 0x1.4ef387fea1016p+0,-1 ulperr 1.559 = 
0x1p+1 + -0x1.c3b036p-2
src/math/special/lgamma.h:145: RN lgamma(-0x1.4p+1) want 
-0x1.ccbf9f5ed0f16p-5,-1 got -0x1.ccbf9f5ed0f2p-5,-1 ulperr -10.465 = 
-0x1.4p+3 + -0x1.dc4f24p-2
src/math/special/lgamma.h:152: RN lgamma(-0x1.3p+3) want 
-0x1.9977f97d94f5cp+3,1 got -0x1.9977f97d94f5ep+3,1 ulperr -1.513 = 
-0x1p+1 + 0x1.f2a81ep-2
FAIL ./src/math/lgamma.exe [status 1]
src/math/sanity/lgamma_r.h:7: RN lgamma_r(-0x1.a05cc754481d1p-2) want 
0x1.4ef387fea1014p+0,-1 got 0x1.4ef387fea1016p+0,-1 ulperr 1.559 = 
0x1p+1 + -0x1.c3b036p-2
FAIL ./src/math/lgamma_r.exe [status 1]
src/math/sanity/lgammaf.h:1: RN lgammaf(-0x1.0223ap+3) want 
-0x1.012104p+3,-1 got -0x1.0121p+3,-1 ulperr 1.504 = 0x1p+1 + -0x1.fb8b5ep-2
FAIL ./src/math/lgammaf.exe [status 1]
src/math/sanity/lgammaf_r.h:1: RN lgammaf_r(-0x1.0223ap+3) want 
-0x1.012104p+3,-1 got -0x1.0121p+3,-1 ulperr 1.504 = 0x1p+1 + -0x1.fb8b5ep-2
FAIL ./src/math/lgammaf_r.exe [status 1]
src/math/special/lgamma.h:145: RN lgammal(-0x1.4p+1) want 
-0x1.ccbf9f5ed0f16p-5,-1 got -0x1.ccbf9f5ed0f2p-5,-1 ulperr -10.465 = 
-0x1.4p+3 + -0x1.dc4f24p-2
FAIL ./src/math/lgammal.exe [status 1]
src/math/special/llrint.h:18: bad fp exception: RN llrint(0x1p+100)=0, 
want INVALID got INEXACT
src/math/special/llrint.h:19: bad fp exception: RN llrint(-0x1p+100)=0, 
want INVALID got INEXACT
FAIL ./src/math/llrint.exe [status 1]
src/math/special/llrintf.h:18: bad fp exception: RN llrintf(0x1p+100)=0, 
want INVALID got INEXACT
src/math/special/llrintf.h:19: bad fp exception: RN 
llrintf(-0x1p+100)=0, want INVALID got INEXACT
FAIL ./src/math/llrintf.exe [status 1]
src/math/special/llrint.h:18: bad fp exception: RN llrintl(0x1p+100)=0, 
want INVALID got INEXACT
src/math/special/llrint.h:19: bad fp exception: RN llrintl(-0x1p+100)=0, 
want INVALID got INEXACT
FAIL ./src/math/llrintl.exe [status 1]
src/math/special/llround.h:18: bad fp exception: RN llround(0x1p+100)=0, 
want INVALID got INEXACT
src/math/special/llround.h:19: bad fp exception: RN 
llround(-0x1p+100)=0, want INVALID got INEXACT
FAIL ./src/math/llround.exe [status 1]
src/math/special/llroundf.h:18: bad fp exception: RN 
llroundf(0x1p+100)=0, want INVALID got INEXACT
src/math/special/llroundf.h:19: bad fp exception: RN 
llroundf(-0x1p+100)=0, want INVALID got INEXACT
FAIL ./src/math/llroundf.exe [status 1]
src/math/special/llround.h:18: bad fp exception: RN 
llroundl(0x1p+100)=0, want INVALID got INEXACT
src/math/special/llround.h:19: bad fp exception: RN 
llroundl(-0x1p+100)=0, want INVALID got INEXACT
FAIL ./src/math/llroundl.exe [status 1]
src/math/special/lrint.h:18: bad fp exception: RN lrint(0x1p+100)=0, 
want INVALID got 0
src/math/special/lrint.h:19: bad fp exception: RN lrint(-0x1p+100)=0, 
want INVALID got 0
FAIL ./src/math/lrint.exe [status 1]
src/math/special/lrintf.h:18: bad fp exception: RN lrintf(0x1p+100)=0, 
want INVALID got 0
src/math/special/lrintf.h:19: bad fp exception: RN lrintf(-0x1p+100)=0, 
want INVALID got 0
FAIL ./src/math/lrintf.exe [status 1]
src/math/special/lrint.h:18: bad fp exception: RN lrintl(0x1p+100)=0, 
want INVALID got 0
src/math/special/lrint.h:19: bad fp exception: RN lrintl(-0x1p+100)=0, 
want INVALID got 0
FAIL ./src/math/lrintl.exe [status 1]
src/math/special/lround.h:18: bad fp exception: RN lround(0x1p+100)=0, 
want INVALID got 0
src/math/special/lround.h:19: bad fp exception: RN lround(-0x1p+100)=0, 
want INVALID got 0
FAIL ./src/math/lround.exe [status 1]
src/math/special/lroundf.h:18: bad fp exception: RN lroundf(0x1p+100)=0, 
want INVALID got 0
src/math/special/lroundf.h:19: bad fp exception: RN 
lroundf(-0x1p+100)=0, want INVALID got 0
FAIL ./src/math/lroundf.exe [status 1]
src/math/special/lround.h:18: bad fp exception: RN lroundl(0x1p+100)=0, 
want INVALID got 0
src/math/special/lround.h:19: bad fp exception: RN lroundl(-0x1p+100)=0, 
want INVALID got 0
FAIL ./src/math/lroundl.exe [status 1]
src/math/special/nextafter.h:3: bad fp exception: RN 
nextafter(0x1p-1074,-inf)=0x0p+0, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:4: bad fp exception: RN 
nextafter(0x1p-1074,inf)=0x1p-1073, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:5: bad fp exception: RN 
nextafter(0x1.ffffffffffffcp-1023,0x1p+0)=0x1.ffffffffffffep-1023, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:8: bad fp exception: RN 
nextafter(0x1p-1022,0x0p+0)=0x1.ffffffffffffep-1023, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:19: bad fp exception: RN 
nextafter(0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:20: bad fp exception: RN 
nextafter(0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:24: bad fp exception: RN 
nextafter(-0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:25: bad fp exception: RN 
nextafter(-0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
FAIL ./src/math/nextafter.exe [status 1]
src/math/special/nextafterf.h:3: bad fp exception: RN 
nextafterf(0x1p-149,-inf)=0x0p+0, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafterf.h:4: bad fp exception: RN 
nextafterf(0x1p-149,inf)=0x1p-148, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafterf.h:5: bad fp exception: RN 
nextafterf(0x1.fffff8p-127,0x1p+0)=0x1.fffffcp-127, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafterf.h:8: bad fp exception: RN 
nextafterf(0x1p-126,0x0p+0)=0x1.fffffcp-127, want INEXACT|UNDERFLOW got 
UNDERFLOW
src/math/special/nextafterf.h:19: bad fp exception: RN 
nextafterf(0x0p+0,inf)=0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafterf.h:20: bad fp exception: RN 
nextafterf(0x0p+0,-inf)=-0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafterf.h:24: bad fp exception: RN 
nextafterf(-0x0p+0,inf)=0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafterf.h:25: bad fp exception: RN 
nextafterf(-0x0p+0,-inf)=-0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
FAIL ./src/math/nextafterf.exe [status 1]
src/math/special/nextafter.h:3: bad fp exception: RN 
nextafterl(0x1p-1074,-inf)=0x0p+0, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:4: bad fp exception: RN 
nextafterl(0x1p-1074,inf)=0x1p-1073, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:5: bad fp exception: RN 
nextafterl(0x1.ffffffffffffcp-1023,0x1p+0)=0x1.ffffffffffffep-1023, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:8: bad fp exception: RN 
nextafterl(0x1p-1022,0x0p+0)=0x1.ffffffffffffep-1023, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:19: bad fp exception: RN 
nextafterl(0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:20: bad fp exception: RN 
nextafterl(0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:24: bad fp exception: RN 
nextafterl(-0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nextafter.h:25: bad fp exception: RN 
nextafterl(-0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
FAIL ./src/math/nextafterl.exe [status 1]
src/math/special/nexttoward.h:3: bad fp exception: RN 
nexttoward(0x1p-1074,-inf)=0x0p+0, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:4: bad fp exception: RN 
nexttoward(0x1p-1074,inf)=0x1p-1073, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:11: bad fp exception: RN 
nexttoward(0x1.ffffffffffffcp-1023,0x1p+0)=0x1.ffffffffffffep-1023, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:14: bad fp exception: RN 
nexttoward(0x1p-1022,0x0p+0)=0x1.ffffffffffffep-1023, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:23: bad fp exception: RN 
nexttoward(0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:24: bad fp exception: RN 
nexttoward(0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:28: bad fp exception: RN 
nexttoward(-0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:29: bad fp exception: RN 
nexttoward(-0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
FAIL ./src/math/nexttoward.exe [status 1]
src/math/special/nexttowardf.h:3: bad fp exception: RN 
nexttowardf(0x1p-149,-inf)=0x0p+0, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:4: bad fp exception: RN 
nexttowardf(0x1p-149,inf)=0x1p-148, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:11: bad fp exception: RN 
nexttowardf(0x1p-149,0x1.fffffffffffffp-150)=0x0p+0, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:12: bad fp exception: RN 
nexttowardf(0x1p-149,0x1.0000000000001p-149)=0x1p-148, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:15: bad fp exception: RN 
nexttowardf(0x1.fffff8p-127,0x1p+0)=0x1.fffffcp-127, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:18: bad fp exception: RN 
nexttowardf(0x1p-126,0x0p+0)=0x1.fffffcp-127, want INEXACT|UNDERFLOW got 
UNDERFLOW
src/math/special/nexttowardf.h:27: bad fp exception: RN 
nexttowardf(0x0p+0,inf)=0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:28: bad fp exception: RN 
nexttowardf(0x0p+0,-inf)=-0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:32: bad fp exception: RN 
nexttowardf(-0x0p+0,inf)=0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttowardf.h:33: bad fp exception: RN 
nexttowardf(-0x0p+0,-inf)=-0x1p-149, want INEXACT|UNDERFLOW got UNDERFLOW
FAIL ./src/math/nexttowardf.exe [status 1]
src/math/special/nexttoward.h:3: bad fp exception: RN 
nexttowardl(0x1p-1074,-inf)=0x0p+0, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:4: bad fp exception: RN 
nexttowardl(0x1p-1074,inf)=0x1p-1073, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:11: bad fp exception: RN 
nexttowardl(0x1.ffffffffffffcp-1023,0x1p+0)=0x1.ffffffffffffep-1023, 
want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:14: bad fp exception: RN 
nexttowardl(0x1p-1022,0x0p+0)=0x1.ffffffffffffep-1023, want 
INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:23: bad fp exception: RN 
nexttowardl(0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:24: bad fp exception: RN 
nexttowardl(0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:28: bad fp exception: RN 
nexttowardl(-0x0p+0,inf)=0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
src/math/special/nexttoward.h:29: bad fp exception: RN 
nexttowardl(-0x0p+0,-inf)=-0x1p-1074, want INEXACT|UNDERFLOW got UNDERFLOW
FAIL ./src/math/nexttowardl.exe [status 1]
src/math/crlibm/sinh.h:84: RN sinh(0x1.d3e0d2f5d98d6p-2) want 
0x1.e45428082fb8cp-2 got 0x1.e45428082fb8ap-2 ulperr -1.500 = -0x1p+1 + 
0x1p-1
FAIL ./src/math/sinh.exe [status 1]
src/math/crlibm/sinh.h:84: RN sinhl(0x1.d3e0d2f5d98d6p-2) want 
0x1.e45428082fb8cp-2 got 0x1.e45428082fb8ap-2 ulperr -1.500 = -0x1p+1 + 
0x1p-1
FAIL ./src/math/sinhl.exe [status 1]
src/math/sanity/tgamma.h:4: RN tgamma(-0x1.a206f0a19dcc4p+2) want 
-0x1.9fd0c1ce12f14p-10 got -0x1.9fd0c1ce12f1p-10 ulperr 3.597 = 0x1p+2 + 
-0x1.9c637p-2
src/math/special/tgamma.h:47: RN tgamma(0x1p-53) want 
0x1.fffffffffffffp+52 got 0x1.ffffffffffffdp+52 ulperr -2.423 = -0x1p+1 
+ -0x1.b0ee6p-2
src/math/special/tgamma.h:57: RN tgamma(-0x1.ffffffffffffdp-1) want 
-0x1.5555555555556p+51 got -0x1.5555555555559p+51 ulperr -2.821 = 
-0x1.8p+1 + 0x1.6e642cp-3
src/math/special/tgamma.h:68: RN tgamma(-0x1.0000000000001p+1) want 
-0x1.ffffffffffffcp+49 got -0x1.ffffffffffffap+49 ulperr 2.309 = 0x1p+1 
+ 0x1.3c467ep-2
src/math/special/tgamma.h:69: RN tgamma(-0x1.0000000000002p+1) want 
-0x1.ffffffffffff9p+48 got -0x1.ffffffffffffbp+48 ulperr -2.382 = 
-0x1p+1 + -0x1.877304p-2
src/math/special/tgamma.h:71: RN tgamma(-0x1.0000000000004p+1) want 
-0x1.ffffffffffff1p+47 got -0x1.ffffffffffff5p+47 ulperr -3.765 = 
-0x1p+2 + 0x1.e233f2p-3
src/math/special/tgamma.h:75: RN tgamma(-0x1.5800000000001p+7) want 
-0x1.b98c8c968b7c1p-990 got -0x1.b98c8c968b7bep-990 ulperr 3.199 = 
0x1.8p+1 + 0x1.970c8ep-3
src/math/special/tgamma.h:88: RN tgamma(-0x1.5ffffffffffffp+7) want 
0x1.ff5df5f533fd3p-1020 got 0x1.ff5df5f533fd6p-1020 ulperr 2.513 = 
0x1.8p+1 + -0x1.f234a4p-2
src/math/special/tgamma.h:125: RN tgamma(-0x1.ep+2) want 
0x1.d572317e6f443p-13 got 0x1.d572317e6f441p-13 ulperr -2.467 = -0x1p+1 
+ -0x1.de1f7cp-2
src/math/special/tgamma.h:127: RN tgamma(-0x1.3p+3) want 
0x1.741196facbe6dp-19 got 0x1.741196facbe6ap-19 ulperr -2.952 = 
-0x1.8p+1 + 0x1.8855b4p-5
FAIL ./src/math/tgamma.exe [status 1]
src/math/sanity/tgamma.h:4: RN tgammal(-0x1.a206f0a19dcc4p+2) want 
-0x1.9fd0c1ce12f14p-10 got -0x1.9fd0c1ce12f1p-10 ulperr 3.597 = 0x1p+2 + 
-0x1.9c637p-2
src/math/special/tgamma.h:47: RN tgammal(0x1p-53) want 
0x1.fffffffffffffp+52 got 0x1.ffffffffffffdp+52 ulperr -2.423 = -0x1p+1 
+ -0x1.b0ee6p-2
src/math/special/tgamma.h:57: RN tgammal(-0x1.ffffffffffffdp-1) want 
-0x1.5555555555556p+51 got -0x1.5555555555559p+51 ulperr -2.821 = 
-0x1.8p+1 + 0x1.6e642cp-3
src/math/special/tgamma.h:68: RN tgammal(-0x1.0000000000001p+1) want 
-0x1.ffffffffffffcp+49 got -0x1.ffffffffffffap+49 ulperr 2.309 = 0x1p+1 
+ 0x1.3c467ep-2
src/math/special/tgamma.h:69: RN tgammal(-0x1.0000000000002p+1) want 
-0x1.ffffffffffff9p+48 got -0x1.ffffffffffffbp+48 ulperr -2.382 = 
-0x1p+1 + -0x1.877304p-2
src/math/special/tgamma.h:71: RN tgammal(-0x1.0000000000004p+1) want 
-0x1.ffffffffffff1p+47 got -0x1.ffffffffffff5p+47 ulperr -3.765 = 
-0x1p+2 + 0x1.e233f2p-3
src/math/special/tgamma.h:75: RN tgammal(-0x1.5800000000001p+7) want 
-0x1.b98c8c968b7c1p-990 got -0x1.b98c8c968b7bep-990 ulperr 3.199 = 
0x1.8p+1 + 0x1.970c8ep-3
src/math/special/tgamma.h:88: RN tgammal(-0x1.5ffffffffffffp+7) want 
0x1.ff5df5f533fd3p-1020 got 0x1.ff5df5f533fd6p-1020 ulperr 2.513 = 
0x1.8p+1 + -0x1.f234a4p-2
src/math/special/tgamma.h:125: RN tgammal(-0x1.ep+2) want 
0x1.d572317e6f443p-13 got 0x1.d572317e6f441p-13 ulperr -2.467 = -0x1p+1 
+ -0x1.de1f7cp-2
src/math/special/tgamma.h:127: RN tgammal(-0x1.3p+3) want 
0x1.741196facbe6dp-19 got 0x1.741196facbe6ap-19 ulperr -2.952 = 
-0x1.8p+1 + 0x1.8855b4p-5
FAIL ./src/math/tgammal.exe [status 1]
src/math/y0.c: known to be broken near zeros
FAIL ./src/math/y0.exe [status 1]
src/math/y0f.c: known to be broken near zeros
FAIL ./src/math/y0f.exe [status 1]
src/math/sanity/yn.h:9: RN yn(0x1.8c5db097f7442p-1, 6) want 
-0x1.6dbc18f9d5ddep+13 got -0x1.6dbc18f9d5de1p+13, ulperr -3.219 = 
-0x1.8p+1 + -0x1.c1596ap-3
FAIL ./src/math/yn.exe [status 1]
FAIL ./src/regression/raise-race-static.exe [signal Segmentation fault]
FAIL ./src/regression/raise-race.exe [signal Segmentation fault]


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

* Re: glibc vs musl sizeof types
  2014-03-11 19:29   ` John Spencer
@ 2014-03-11 19:49     ` Szabolcs Nagy
  0 siblings, 0 replies; 4+ messages in thread
From: Szabolcs Nagy @ 2014-03-11 19:49 UTC (permalink / raw)
  To: musl

* John Spencer <maillist-musl@barfooze.de> [2014-03-11 20:29:54 +0100]:
> src/api/sys_socket.c: In function ?f?:
> src/api/sys_socket.c:3:24: error: pointer targets in initialization
> differ in signedness [-Wpointer-sign]
>  #define F(t,n) {t *y = &x.n;}
>                         ^
> src/api/sys_socket.c:23:1: note: in expansion of macro ?F?
>  F(socklen_t,msg_namelen)
>  ^
> src/api/sys_socket.c:3:24: error: initialization from incompatible
> pointer type
>  #define F(t,n) {t *y = &x.n;}
>                         ^
> src/api/sys_socket.c:25:1: note: in expansion of macro ?F?
>  F(int,msg_iovlen)
>  ^
> src/api/sys_socket.c:3:24: error: initialization from incompatible
> pointer type
>  #define F(t,n) {t *y = &x.n;}
>                         ^
> src/api/sys_socket.c:27:1: note: in expansion of macro ?F?
>  F(socklen_t,msg_controllen)
>  ^
> src/api/sys_socket.c:3:24: error: pointer targets in initialization
> differ in signedness [-Wpointer-sign]
>  #define F(t,n) {t *y = &x.n;}
>                         ^
> src/api/sys_socket.c:28:1: note: in expansion of macro ?F?
>  F(int,msg_flags)
>  ^

these are relevant api errors (struct msghdr fields)

> src/functional/ipc_msg.c:60: qid_ds.msg_perm.mode & 0x1ff == 0666
> failed: got 750, want 666
> src/functional/ipc_msg.c:128: child exit status: 256
> FAIL ./src/functional/ipc_msg-static.exe [status 1]
> src/functional/ipc_msg.c:60: qid_ds.msg_perm.mode & 0x1ff == 0666
> failed: got 750, want 666
> src/functional/ipc_msg.c:128: child exit status: 256
> FAIL ./src/functional/ipc_msg.exe [status 1]
> FAIL ./src/functional/ipc_sem-static.exe [signal Segmentation fault]
> FAIL ./src/functional/ipc_sem.exe [signal Segmentation fault]
> src/functional/ipc_shm.c:52: shmctl(shmid, IPC_STAT, &shmid_ds)
> failed: Bad address
> src/functional/ipc_shm.c:53: shmid_ds.shm_perm.cuid == geteuid()
> failed: got 0, want 1000
> src/functional/ipc_shm.c:55: shmid_ds.shm_perm.cgid == getegid()
> failed: got 134217728, want 1000
> src/functional/ipc_shm.c:57: shmid_ds.shm_perm.mode & 0x1ff == 0666
> failed: got 144, want 666
> src/functional/ipc_shm.c:58: shmid_ds.shm_segsz == 100 failed: got
> 0, want 100
> src/functional/ipc_shm.c:60: shmid_ds.shm_cpid == getpid() failed:
> got 0, want 11121
> src/functional/ipc_shm.c:62: (long)shmid_ds.shm_atime == 0 failed:
> got 22, want 0
> src/functional/ipc_shm.c:65: shmid_ds.shm_ctime >= t failed: got 0,
> want >= 1394565501
> src/functional/ipc_shm.c:72: shmctl(shmid, IPC_STAT, &shmid_ds)
> failed: Bad address
> src/functional/ipc_shm.c:73: (int)shmid_ds.shm_nattch == 1 failed:
> got 0, want 1
> src/functional/ipc_shm.c:74: shmid_ds.shm_lpid == getpid() failed:
> got 0, want 11121
> src/functional/ipc_shm.c:76: shm_atime is 22 want >= 1394565501
> src/functional/ipc_shm.c:118: child exit status: 256
> FAIL ./src/functional/ipc_shm-static.exe [status 1]
> src/functional/ipc_shm.c:52: shmctl(shmid, IPC_STAT, &shmid_ds)
> failed: Bad address
> src/functional/ipc_shm.c:53: shmid_ds.shm_perm.cuid == geteuid()
> failed: got 100, want 1000
> src/functional/ipc_shm.c:54: shmid_ds.shm_perm.uid == geteuid()
> failed: got 0, want 1000
> src/functional/ipc_shm.c:55: shmid_ds.shm_perm.cgid == getegid()
> failed: got 0, want 1000
> src/functional/ipc_shm.c:56: shmid_ds.shm_perm.gid == getegid()
> failed: got 134217728, want 1000
> src/functional/ipc_shm.c:57: shmid_ds.shm_perm.mode & 0x1ff == 0666
> failed: got 40, want 666
> src/functional/ipc_shm.c:58: shmid_ds.shm_segsz == 100 failed: got
> 0, want 100
> src/functional/ipc_shm.c:60: shmid_ds.shm_cpid == getpid() failed:
> got 0, want 10043
> src/functional/ipc_shm.c:65: shmid_ds.shm_ctime >= t failed: got 0,
> want >= 1394565498
> src/functional/ipc_shm.c:72: shmctl(shmid, IPC_STAT, &shmid_ds)
> failed: Bad address
> src/functional/ipc_shm.c:73: (int)shmid_ds.shm_nattch == 1 failed:
> got 0, want 1
> src/functional/ipc_shm.c:74: shmid_ds.shm_lpid == getpid() failed:
> got 0, want 10043
> src/functional/ipc_shm.c:76: shm_atime is 0 want >= 1394565498
> src/functional/ipc_shm.c:118: child exit status: 256
> FAIL ./src/functional/ipc_shm.exe [status 1]

sysvipc errors


> FAIL ./src/functional/pthread_cancel-static.exe [signal RT33]
> FAIL ./src/functional/pthread_cancel.exe [signal RT33]

probably qemu-ppc failure

> FAIL ./src/functional/pthread_mutex-static.exe [timed out]
> src/functional/pthread_mutex.c:138: PTHREAD_MUTEX_ERRORCHECK relock
> did not return EDEADLK, got deadlock
> FAIL ./src/functional/pthread_mutex.exe [timed out]
> FAIL ./src/functional/pthread_robust-static.exe [timed out]
> FAIL ./src/functional/pthread_robust.exe [timed out]

[...]

removed known math errors
(drem failed because of implicit declaration.. old math.h)

> src/math/special/llrint.h:18: bad fp exception: RN
> llrint(0x1p+100)=0, want INVALID got INEXACT
[..]

probably qemu-ppc failure (to raise invalid on invalid int conversion)

> nextafter(0x1p-1074,-inf)=0x0p+0, want INEXACT|UNDERFLOW got
> UNDERFLOW
[..]

ditto

> FAIL ./src/regression/raise-race-static.exe [signal Segmentation fault]
> FAIL ./src/regression/raise-race.exe [signal Segmentation fault]

qemu-ppc failure most likely


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

end of thread, other threads:[~2014-03-11 19:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-11 12:16 glibc vs musl sizeof types Szabolcs Nagy
2014-03-11 18:26 ` Rich Felker
2014-03-11 19:29   ` John Spencer
2014-03-11 19:49     ` Szabolcs Nagy

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).