|
Message-ID: <20140311194933.GU7372@port70.net> Date: Tue, 11 Mar 2014 20:49:33 +0100 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: glibc vs musl sizeof types * John Spencer <maillist-musl@...fooze.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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.