Here are the remaining problems, from a testdir of only the `./posix-modules`. I'm not handling them now (since you are saying that the entire Minix libc is in flux), but you should be aware of them:
========================= <math.h> ========================= - 'long double' and 'double' are the same types. Will that stay the same? If so, the modules floorl, ceill, truncl, roundl, sqrtl, cosl, expl, logl, sinl, tanl, acosl, asinl, atanl, frexpl, printf-frexpl, ldexpl, isnanl can be simplified to use the 'double' argument function. - Missing cbrt() function: gltests/test-cbrt.c:36: undefined reference to `_cbrt' - Missing copysign() function: test-copysign.c:24: error: 'copysign' undeclared here (not in a function) - Missing erf() function: gltests/test-erf.c:36: undefined reference to `_erf' - Missing erfc() function: gltests/test-erfc.c:36: undefined reference to `_erfc' - Missing isinf() macro: test-isinf.c:26:3: error: #error missing declaration - Missing j0() function: gltests/test-j0.c:36: undefined reference to `_j0' - Missing j1() function: gltests/test-j1.c:36: undefined reference to `_j1' - Missing jn() function: gltests/test-jn.c:36: undefined reference to `_jn' - Missing lgamma() function: gltests/test-lgamma.c:36: undefined reference to `_lgamma' - Missing log1p() function: gltests/test-log1p.c:36: undefined reference to `_log1p' - Missing logb() function: gltests/test-logb.c:38: undefined reference to `_logb' - Missing nextafter() function: gltests/test-nextafter.c:37: undefined reference to `_nextafter' - Missing y0() function: gltests/test-y0.c:36: undefined reference to `_y0' - Missing y1() function: gltests/test-y1.c:36: undefined reference to `_y1' - Missing yn() function: gltests/test-yn.c:36: undefined reference to `_yn' test-atanl.c:42: assertion failed abort (core dumped) FAIL: test-atanl test-cosl.c:42: assertion failed abort (core dumped) FAIL: test-cosl test-frexpl.c:119: assertion failed abort (core dumped) FAIL: test-frexpl-nolibm test-frexpl.c:119: assertion failed abort (core dumped) FAIL: test-frexpl test-isfinite.c:89: assertion failed abort (core dumped) FAIL: test-isfinite test-isnan.c:80: assertion failed abort (core dumped) FAIL: test-isnan test-isnanl.h:35: assertion failed abort (core dumped) FAIL: test-isnanl-nolibm test-isnanl.h:35: assertion failed abort (core dumped) FAIL: test-isnanl test-ldexpl.c:96: assertion failed abort (core dumped) FAIL: test-ldexpl test-logl.c:42: assertion failed abort (core dumped) FAIL: test-logl test-sinl.c:42: assertion failed abort (core dumped) FAIL: test-sinl test-sqrtl.c:42: assertion failed abort (core dumped) FAIL: test-sqrtl test-tanl.c:42: assertion failed abort (core dumped) FAIL: test-tanl ========================== <stdio.h> ========================== 16,17c16,17 < 12.750000 33 < 1234567.000000 33 --- > nan 33 > nan 33 20,23c20,23 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > nan 33 > nan 33 > nan 33 > nan 33 32,33c32,33 < 12.750000 33 < 1234567.000000 33 --- > NAN 33 > NAN 33 36,39c36,39 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > NAN 33 > NAN 33 > NAN 33 > NAN 33 FAIL: test-dprintf-posix.sh 16,17c16,17 < 12.750000 33 < 1234567.000000 33 --- > nan 33 > nan 33 20,23c20,23 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > nan 33 > nan 33 > nan 33 > nan 33 32,33c32,33 < 12.750000 33 < 1234567.000000 33 --- > NAN 33 > NAN 33 36,39c36,39 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > NAN 33 > NAN 33 > NAN 33 > NAN 33 FAIL: test-fprintf-posix.sh 16,17c16,17 < 12.750000 33 < 1234567.000000 33 --- > nan 33 > nan 33 20,23c20,23 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > nan 33 > nan 33 > nan 33 > nan 33 32,33c32,33 < 12.750000 33 < 1234567.000000 33 --- > NAN 33 > NAN 33 36,39c36,39 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > NAN 33 > NAN 33 > NAN 33 > NAN 33 FAIL: test-printf-posix.sh test-snprintf-posix.h:136: assertion failed abort (core dumped) FAIL: test-snprintf-posix test-sprintf-posix.h:122: assertion failed abort (core dumped) FAIL: test-sprintf-posix 16,17c16,17 < 12.750000 33 < 1234567.000000 33 --- > nan 33 > nan 33 20,23c20,23 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > nan 33 > nan 33 > nan 33 > nan 33 32,33c32,33 < 12.750000 33 < 1234567.000000 33 --- > NAN 33 > NAN 33 36,39c36,39 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > NAN 33 > NAN 33 > NAN 33 > NAN 33 FAIL: test-vdprintf-posix.sh 16,17c16,17 < 12.750000 33 < 1234567.000000 33 --- > nan 33 > nan 33 20,23c20,23 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > nan 33 > nan 33 > nan 33 > nan 33 32,33c32,33 < 12.750000 33 < 1234567.000000 33 --- > NAN 33 > NAN 33 36,39c36,39 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > NAN 33 > NAN 33 > NAN 33 > NAN 33 FAIL: test-vfprintf-posix.sh 16,17c16,17 < 12.750000 33 < 1234567.000000 33 --- > nan 33 > nan 33 20,23c20,23 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > nan 33 > nan 33 > nan 33 > nan 33 32,33c32,33 < 12.750000 33 < 1234567.000000 33 --- > NAN 33 > NAN 33 36,39c36,39 < 00001234.000000 33 < 1234 33 < 999.95 33 < 1000.00 33 --- > NAN 33 > NAN 33 > NAN 33 > NAN 33 FAIL: test-vprintf-posix.sh test-snprintf-posix.h:136: assertion failed abort (core dumped) FAIL: test-vsnprintf-posix test-sprintf-posix.h:122: assertion failed abort (core dumped) FAIL: test-vsprintf-posix ========================= <unistd.h> ========================= - Missing setpgid() function: spawni.c: In function 'gl_posix_spawn_internal': spawni.c:228: warning: implicit declaration of function 'setpgid' FAIL: test-getcwd test-getgroups.c:63: assertion failed abort (core dumped) FAIL: test-getgroups test-lchown.h:136: assertion failed abort (core dumped) FAIL: test-lchown test-lchown.h:136: assertion failed abort (core dumped) FAIL: test-fchownat test-rmdir.h:44: assertion failed abort (core dumped) FAIL: test-unlinkat test-remove.c:60: assertion failed abort (core dumped) FAIL: test-remove test-rmdir.h:44: assertion failed abort (core dumped) FAIL: test-rmdir select failed: Bad file number test: syntax error FAIL: test-select-in.sh select failed: Bad file number test: syntax error FAIL: test-select-out.sh ========================= Other ========================= - No 'mktemp' program: mktemp: not found - Some problem with mknod(): mknod.c: In function 'rpl_mknod': mknod.c:71: warning: implicit declaration of function 'mknod' - setrlimit does not work: Skipping test: getrlimit and setrlimit don't work SKIP: test-fprintf-posix2.sh illegal option -- x test-getopt.h:459: assertion failed abort (core dumped) FAIL: test-getopt test-nanosleep.c:50: assertion failed abort (core dumped) FAIL: test-nanosleep test-perror2.c:111: assertion failed abort (core dumped) FAIL: test-perror2 setlocale did not fail for implicit ar_SA.ISO-8859-1 FAIL: test-setlocale2.sh test-strtod.c:536: assertion failed abort (core dumped) FAIL: test-strtod Bruno -- In memoriam Jean Jaurès <http://en.wikipedia.org/wiki/Jean_Jaurès>