From 1e8aafda7591b33a0a88405359ce4fc4be8fb2e4 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 8 Feb 2013 00:41:43 +0100 Subject: open_issues/gdb: Use GCC 4.7. --- open_issues/gdb.mdwn | 8 ++++---- toolchain/logs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/open_issues/gdb.mdwn b/open_issues/gdb.mdwn index f5daff48..d706c776 100644 --- a/open_issues/gdb.mdwn +++ b/open_issues/gdb.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012 Free Software +[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012, 2013 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -75,7 +75,7 @@ commit ded7dfe6274b281d92a6ed76cedf29d06c918dec (2012-12-10), run on kepler.SCHWINGE and coulomb.SCHWINGE. $ export LC_ALL=C - $ ../Ferry_Tagscherer/configure --prefix="$PWD".install SHELL=/bin/dash CC=gcc-4.6 CXX=g++-4.6 --disable-werror 2>&1 | tee log_build + $ ../Ferry_Tagscherer/configure --prefix="$PWD".install SHELL=/bin/dash CC=gcc-4.7 CXX=g++-4.7 --disable-werror 2>&1 | tee log_build [...] $ make 2>&1 | tee log_build_ [...] @@ -87,7 +87,7 @@ There are several occurences of *error: dereferencing type-punned pointer will break strict-aliasing rules* in the MIG-generated stub files; thus no `-Werror` until that is resolved ([[strict_aliasing]]). -This takes up around 200 MiB and needs roughly 7 min on kepler.SCHWINGE and 23 +This takes up around 210 MiB and needs roughly 7 min on kepler.SCHWINGE and 23 min on coulomb.SCHWINGE. -Last reviewed up to the [[Git mirror's ded7dfe6274b281d92a6ed76cedf29d06c918dec -(2012-12-10) sources|source_repositories/gdb]]. +Last reviewed up to the [[Git mirror's 00e1c4298d2b6fe040a9a970e98349602b12ddbf +(2013-02-06) sources|source_repositories/gdb]]. * Globally @@ -71,7 +71,7 @@ Last reviewed up to the [[Git mirror's ded7dfe6274b281d92a6ed76cedf29d06c918dec Here's a log of a GDB build run; this is from our [[Git repository|source_repositories/gdb]]'s `tschwinge/Ferry_Tagscherer` branch, -commit ded7dfe6274b281d92a6ed76cedf29d06c918dec (2012-12-10), run on +commit 00e1c4298d2b6fe040a9a970e98349602b12ddbf (2013-02-06), run on kepler.SCHWINGE and coulomb.SCHWINGE. $ export LC_ALL=C @@ -207,7 +207,7 @@ min on coulomb.SCHWINGE. $ make -k check 2>&1 | tee log_test [...] -This needs roughly 14 min on kepler.SCHWINGE and 110 min on coulomb.SCHWINGE. +This needs roughly 14 min on kepler.SCHWINGE and 120 min on coulomb.SCHWINGE. When running `make -k check 2>&1 | tee log_test`, at the end of the testsuite the `tee` process does not terminate if there are still stray leftover @@ -222,6 +222,10 @@ GNU/Hurd, these generally are `gdb.multi/watchpoint-multi`, and an unknown $ toolchain/logs/process gdb test + * `gdb.base/attach-pie-misread.exp` + + Is only run for GNU/Linux; needs [[prelink]]. + * Disabled * `gdb.base/readline.exp` @@ -276,9 +280,17 @@ GNU/Hurd, these generally are `gdb.multi/watchpoint-multi`, and an unknown At this point, the system hangs; no new processes can be spawned, so perhaps an issue with the exec server. - * `UNSUPPORTED: gdb.threads/ia64-sigill.exp: Couldn't compile ../../../master/gdb/testsuite/gdb.threads/ia64-sigill.c: unrecognized error` + * Linux syscall usage, `` + + * `UNSUPPORTED: gdb.threads/ia64-sigill.exp: Couldn't compile ../../../master/gdb/testsuite/gdb.threads/ia64-sigill.c: unrecognized error` + + * `UNSUPPORTED: gdb.threads/siginfo-threads.exp: Couldn't compile ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/siginfo-threads.c: unrecognized error` + + * `gdb.threads/sigstep-threads.c` + + Also uses `tgkill`. - ../../../master/gdb/testsuite/gdb.threads/ia64-sigill.c:29:24: fatal error: asm/unistd.h: No such file or directory + * `UNSUPPORTED: gdb.threads/watchpoint-fork.exp: parent: multithreaded: Couldn't compile ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/watchpoint-fork-mt.c ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/watchpoint-fork-parent.c: unrecognized error` * `UNSUPPORTED: gdb.threads/multi-create.exp: Couldn't compile ../../../master/gdb/testsuite/gdb.threads/multi-create.c: unrecognized error` ../../../master/gdb/testsuite/gdb.threads/multi-create.c: In function 'create_function': @@ -293,23 +305,53 @@ GNU/Hurd, these generally are `gdb.multi/watchpoint-multi`, and an unknown ../../../master/gdb/testsuite/gdb.threads/staticthreads.c:52:37: error: 'PTHREAD_STACK_MIN' undeclared (first use in this function) ../../../master/gdb/testsuite/gdb.threads/staticthreads.c:52:37: note: each undeclared identifier is reported only once for each function it appears in - * `UNSUPPORTED: gdb.threads/watchpoint-fork.exp: parent: multithreaded: Couldn't compile ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/watchpoint-fork-mt.c ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/watchpoint-fork-parent.c: unrecognized error` - - ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/watchpoint-fork-mt.c:29:24: fatal error: asm/unistd.h: No such file or directory - * `UNSUPPORTED: gdb.threads/create-fail.exp: Couldn't compile ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/create-fail.c: unrecognized error` [...]/gdb.threads/create-fail.c:77: undefined reference to `pthread_attr_setaffinity_np' [...]/gdb.threads/create-fail.c:83: undefined reference to `pthread_create' - * `UNSUPPORTED: gdb.threads/siginfo-threads.exp: Couldn't compile ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/siginfo-threads.c: unrecognized error` - - ../../../Ferry_Tagscherer/gdb/testsuite/gdb.threads/sigstep-threads.c:22:24: fatal error: asm/unistd.h: No such file or directory - * `UNTESTED: gdb.base/longest-types.exp: longest-types.exp` ../../../Ferry_Tagscherer/gdb/testsuite/gdb.base/longest-types.c:20:8: error: size of array 'buf' is too large Also on GNU/Linux. + * `FAIL: gdb.base/jit.exp: PIE: one_jit_test-1: Can't run to main` + + (gdb) break main + Breakpoint 1 at 0xb84: file ../../../Ferry_Tagscherer/gdb/testsuite/gdb.base/jit-main.c, line 128. + (gdb) run + Starting program: /media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/testsuite/gdb.base/jit-main + Cannot access memory at address 0x393 + Cannot access memory at address 0x38f + (gdb) FAIL: gdb.base/jit.exp: PIE: one_jit_test-1: Can't run to main + + [[GCC/PIE]]. + + Is the following supposed to terminate in this way? + + (gdb) break main + Breakpoint 1 at 0x675: file ../../../Ferry_Tagscherer/gdb/testsuite/gdb.base/attach-pie-noexec.c, line 23. + (gdb) run + Starting program: /media/erich/home/thomas/tmp/gdb/tschwinge/Ferry_Tagscherer.build/gdb/testsuite/gdb.base/attach-pie-noexec + Cannot access memory at address 0x6c626172 + Cannot access memory at address 0x6c62616e + (gdb) testcase ../../../Ferry_Tagscherer/gdb/testsuite/gdb.base/attach-pie-noexec.exp completed in 3 seconds + + * `solib-event stop` + + Running ../../../Ferry_Tagscherer/gdb/testsuite/gdb.mi/mi-catch-load.exp ... + PASS: gdb.mi/mi-catch-load.exp: breakpoint at main + PASS: gdb.mi/mi-catch-load.exp: mi runto main + PASS: gdb.mi/mi-catch-load.exp: catch-load: auto-solib-add on + PASS: gdb.mi/mi-catch-load.exp: catch-load: catch load + FAIL: gdb.mi/mi-catch-load.exp: catch-load: solib-event stop + PASS: gdb.mi/mi-catch-load.exp: breakpoint at main + PASS: gdb.mi/mi-catch-load.exp: mi runto main + PASS: gdb.mi/mi-catch-load.exp: catch-unload: auto-solib-add on + PASS: gdb.mi/mi-catch-load.exp: catch-unload: catch unload + FAIL: gdb.mi/mi-catch-load.exp: catch-unload: solib-event stop + + *stopped,reason="signal-received",signal-name="SIGSEGV",signal-meaning="Segmentation fault",frame={addr="0x00014add",func="??",args=[],from="/lib/ld.so"},thread-id="4",stopped-threads="all" + TODO. diff --git a/toolchain/logs b/toolchain/logs index aa14697d..2ef56b87 160000 --- a/toolchain/logs +++ b/toolchain/logs @@ -1 +1 @@ -Subproject commit aa14697d06d3044a7cbccc28678ab38ec10e7d6b +Subproject commit 2ef56b8765203fd37f483a311a05de02ea72447f -- cgit v1.2.3 From d4781e033c3102ad93d7b87e7796cb670521596b Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 8 Feb 2013 15:08:34 +0100 Subject: open_issues/binutils: 944a6010b676b9f80f0a16c65183102b187822c5 (2013-02-08) --- open_issues/binutils.mdwn | 19 +++++++++++++------ toolchain/logs | 2 +- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/open_issues/binutils.mdwn b/open_issues/binutils.mdwn index 5c309d47..757ebbe9 100644 --- a/open_issues/binutils.mdwn +++ b/open_issues/binutils.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012 Free Software +[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012, 2013 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -39,8 +39,8 @@ git log --reverse --topo-order --pretty=fuller --stat=$COLUMNS,$COLUMNS -w -p -C --> -Last reviewed up to the [[Git mirror's 7c102198e4a1ecee9cf175bd4ad87ee435956cae -(2012-12-16) sources|source_repositories/binutils]]. +Last reviewed up to the [[Git mirror's 944a6010b676b9f80f0a16c65183102b187822c5 +(2013-02-08) sources|source_repositories/binutils]]. * Globally @@ -118,16 +118,19 @@ Last reviewed up to the [[Git mirror's 7c102198e4a1ecee9cf175bd4ad87ee435956cae be helpful in the exec server, glibc, or elsewhere? Used in GDB (BFD) commit bdbd9758806ed855af89244870fdc52cf3ff09bc. + * `Add HOSTING_SCRT0 for PIE test`, 49cc20aa5c416ea4307931cccf6353247368187d + -- is for GNU/Linux only; but also seems unused. + # Build Here's a log of a binutils build run; this is from our [[Git repository|source_repositories/binutils]]'s `tschwinge/Paul_Desmond` branch, -commit 7c102198e4a1ecee9cf175bd4ad87ee435956cae (2012-12-16), run on +commit 944a6010b676b9f80f0a16c65183102b187822c5 (2013-02-08), run on kepler.SCHWINGE and coulomb.SCHWINGE. $ export LC_ALL=C - $ ../Paul_Desmond/configure --prefix="$PWD".install --enable-gold --with-sysroot=/ SHELL=/bin/dash CC=gcc-4.6 CXX=g++-4.6 2>&1 | tee log_build + $ ../Paul_Desmond/configure --prefix="$PWD".install --enable-gold --with-sysroot=/ SHELL=/bin/dash CC=gcc-4.7 CXX=g++-4.7 2>&1 | tee log_build [...] $ make 2>&1 | tee log_build_ [...] @@ -196,7 +199,11 @@ This needs roughly 6 min on kepler.SCHWINGE and 42 min on coulomb.SCHWINGE. The testsuite isn't prepared for using `crt0.o` instead of `crt1.o` depending on whether a static or dynamic executable is created. Documented in `ld/configure.host`. Perhaps we should finally rewrite this messy code - in glibc? + in glibc? Or, something similar to commit + 49cc20aa5c416ea4307931cccf6353247368187d `Add HOSTING_SCRT0 for PIE test` + can be used. + + Same issue for `FAIL: Common symbol override ifunc *` ones? * `FAIL: ld-elf/64ksec` diff --git a/toolchain/logs b/toolchain/logs index 2ef56b87..c917bcd8 160000 --- a/toolchain/logs +++ b/toolchain/logs @@ -1 +1 @@ -Subproject commit 2ef56b8765203fd37f483a311a05de02ea72447f +Subproject commit c917bcd8dd4f1e989562b7767a99722eb615c946 -- cgit v1.2.3 From 8720ae28261550e8b7dd3f2d89e72a194aa9e712 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 9 Feb 2013 17:23:05 +0100 Subject: open_issues/glibc: Use GCC 4.7. Review testsuite failures, add some notes. --- open_issues/glibc.mdwn | 723 ++++++++++++++++--------------------------------- toolchain/logs | 2 +- 2 files changed, 237 insertions(+), 488 deletions(-) diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index 4111700b..bf240724 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012 Free Software +[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012, 2013 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable @@ -367,6 +367,8 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8 like posix/tst-waitid.c, you mean? yes + See `posix/tst-waitid.out` failure below. + * `getconf` things IRC, freenode, #hurd, 2012-10-03 @@ -893,7 +895,7 @@ fbeafedeea37e0af1984a6511018d159f5ceed6a (2012-11-03)) sources|source_repositories/glibc]], run on coulomb.SCHWINGE. $ export LC_ALL=C - $ ../Roger_Whittaker/configure AUTOCONF=: --prefix=/usr --disable-profile --disable-multi-arch --build=i486-gnu --host=i486-gnu CC=gcc-4.6 CXX=g++-4.6 2>&1 | tee log_build + $ ../Roger_Whittaker/configure AUTOCONF=: --prefix=/usr --disable-profile --disable-multi-arch --build=i486-gnu --host=i486-gnu CC=gcc-4.7 CXX=g++-4.7 2>&1 | tee log_build [...] $ make install_root=/INVALID 2>&1 | tee log_build_ [...] @@ -903,24 +905,14 @@ This takes up around 500 MiB, and needs roughly X min on kepler.SCHWINGE and ## Analysis - $ toolchain/logs/process gcc build fetch coulomb.SCHWINGE + $ toolchain/logs/process glibc build fetch coulomb.SCHWINGE TODO. @@ -1026,19 +1018,10 @@ min on coulomb.SCHWINGE. ## Analysis - $ toolchain/logs/process gcc install fetch coulomb.SCHWINGE + $ toolchain/logs/process glibc install fetch coulomb.SCHWINGE TODO. - - # Testsuite @@ -1051,37 +1034,31 @@ Specifying `fast-check=yes` disables the `conformtest` which takes 1.75 h (out of 2.75 h total) on coulomb.SCHWINGE, doesn't pass anyway, and clearly isn't our most critical issue to solve. - - ## Analysis - $ toolchain/logs/process gcc test fetch coulomb.SCHWINGE + $ toolchain/logs/process glibc test fetch coulomb.SCHWINGE -There is quite a baseline of failures. +Failures, mostly in order of appearance: - * `annexc.out` + * `check-abi`, `check-abi-libmachuser`, `check-abi-libhurduser`, + `check-abi-libBrokenLocale`, `check-abi-libm`, `check-abi-libdl`, + `check-abi-libcrypt`, `check-abi-libresolv`, `check-abi-librt`, + `check-abi-libnsl`, `check-abi-libutil`, `check-abi-libc`, `check-abi-ld`, + `c++-types.data` - TODO + Reference files are missing. - * `bug22.out` + * `math/test-float.out` - TODO + Two ULP failures. - * `bug-atexit3.out` + * `math/test-ldouble`, `math/test-ildoubl`, `math/test-ifloat`, + `math/test-idouble` - TODO + SIGSEGV. - * `bug-getcontext.out` + * `stdlib/bug-getcontext.out` getcontext failed, errno: 1073741902. @@ -1090,203 +1067,105 @@ There is quite a baseline of failures. for FP exceptions.*, in cba1c83ad62a11347684a9daf349e659237a1741 testing, it's back to the previous failure. - * `bug-regex31-mem`, `tst-error1-mem`, `tst-fnmatch-mem`, - `tst-fopenloc.check` + * `stdlib/tst-secure-getenv.out` - *output* files: some memory not freed. + open (/proc/self/exe): No such file or directory - Caused by different memory allocation way in libio, see also - [[!message-id "87mxd9hl2n.fsf@kepler.schwinge.homeip.net"]] + Needs [[`/proc/self/exe`|hurd/translator/procfs/jkoenig/discussion]]. - * `bug-ulimit1.out` + * `stdlib/tst-strtod-round.out` - Buggy sysdeps/unix/bsd/ulimit.c return values. + strtold (-0x0.7p-16445) returned -0x0.0000000000008p-16385 not -0x0.000000000000001p-16385 (FE_DOWNWARD) + strtold (-0x0.7p-16494) returned -0x0.0000000000008p-16385 not -0x0.000000000000001p-16385 (FE_DOWNWARD) - [[!message-id "201211182342.51619.toscano.pino@tiscali.it"]] + * `stdio-common/bug22.out` - * `check-execstack.out` + Timed out: killed the child process - $BUILDDIR/libc.so.phdr: *** executable stack signaled + Known problem. - * `check-local-headers.out` - - Most of the external headers used are: + * `libio/tst-atime.out`, `dirent/tst-fdopendir.out` - * `/usr/include/device/bpf.h` + `libio/tst-atime.out`: - * `/usr/include/device/device_types.h` + atime has not changed - * `/usr/include/device/net_status.h` + Due to `ext2fs --no-atime`. - * `/usr/include/cthreads.h` + `dirent/tst-fdopendir.out`: - * `/usr/include/hurd/hurd_types.h` - - * `/usr/include/hurd/ioctls.defs` + directory atime changed - * `/usr/include/hurd/ioctl_types.h` + Due to `ext2fs --atime` (default). - * `/usr/include/hurd/paths.h` + * `libio/tst-fopenloc.check`, `posix/bug-regex31-mem`, + `posix/tst-fnmatch-mem`, `misc/tst-error1-mem` - * `check-localplt.out` + Memory not freed: + ----------------- + Address Size Caller + 0x0807e268 0x8000 at 0x10c71c4 - Around 500 or so `Extra PLT reference`. + Caused by different memory allocation way in libio, see + [[!message-id "87mxd9hl2n.fsf@kepler.schwinge.homeip.net"]] - * `check-textrel.out` + * `dlfcn/bug-atexit3.out` - $BUILDDIR/libc.so.dyn: *** text relocations used + Originally: - * `opendir-tst1.out`, `tst-fdopendir2.out` + dlopen failed: libstdc++.so.6: cannot open shared object file: No such file or directory - `opendir` and `fdopendir` do not return `ENOTDIR` if `fd` is not a directory. + See [[!message-id "20090420002344.11798.qmail@s461.sureserver.com"]]. + Hacked around with `ln -s /usr/lib/i386-*gnu/libstdc++.so.6 + /lib/i386-*gnu/libpthread-stubs.so.0 /lib/i386-*gnu/libgcc_s.so.1 ./`. + This is a bug in the glibc test harness. Should probably use some + `configure` magic akin to the `fixincludes` stuff (`gcc-4.4 + -print-file-name=libstdc++.so.6`, etc.). - * `test-assert-perr.out` + Even if that that is being worked around, the tests nowadays + ([[packaging_libpthread]]) fail with: - TODO + dlopen failed: [...]/libc.so.0.3: version `GLIBC_2.13_DEBIAN_31' not found (required by [...]/libstdc++.so.6) - * `math/test-idouble`, `math/test-ifloat`, `math/test-ildoubl`, - `math/test-ldouble` + * `dlfcn/tststatic.out`, `dlfcn/tststatic2.out` SIGSEGV. - * `test-float.out` - - TODO - - * `test-lfs.out` - - TODO - - * `test-multiarch.out` - - Needs [[`/proc/cpuinfo`|hurd/translator/procfs/jkoenig/discussion]] - providing the `flags` line. - - * `tst-aio2`, `tst-aio3`, - `tst-mqueue3`, `tst-mqueue6`, - `tst-mqueue8`, `tst-thrlock`, `tst-timer3`, - `libnss_test1.so` - - Compilation: missing `pthread_attr_init`, `pthread_barrier_init`, - `pthread_create`, etc. - - * `tst-aio8.out`, `tst-aio9.out`, `tst-aio10` - - Compilation: missing `pthread_attr_init`, `pthread_barrier_init`, - `pthread_create`, etc. - - Most will compile and work (except `tst-aio`, `tst-aio9`, `tst-aio10`) with - [[!message-id "201209302353.51055.toscano.pino@tiscali.it"]] in libpthread. - - * `tst-array*` - - gcc-4.6 tst-array1.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1.out tst-array1.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1.out] Error 1 - gcc-4.6 tst-array2.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 tst-array2dep.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -fPIC -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc - gcc-4.6 -shared -static-libgcc -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,defs -B[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/csu/ -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -L[...]/tschwinge/Roger_Whittaker.build-gcc-4.6 - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array2 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array2.out tst-array2.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array2.out] Error 1 - gcc-4.6 tst-array3.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array3 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array3.out tst-array1.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array3.out] Error 1 - gcc-4.6 tst-array4.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array4 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array4.out tst-array4.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array4.out] Error 1 - - `tst-array5` passes. - - gcc-4.6 tst-array1-static.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4 - gcc-4.6 -nostdlib -nostartfiles -static -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/csu/crt0.o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/csu/crti - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static > [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static.out - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static.out tst-array1.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static.out] Error 1 - - `tst-array5-static` passes. - - IRC, freenode, #glibc, 2012-11-01: - - tschwinge: I saw the array tests fail, built a new binutils and - a new compiler configured with new binutils and the failures went - away. - So they may depend on having new-enough GCC configured with - new-enough binutils, or something like that. - jsm28: Did you use gcc 4.7 or trunk? - tuliom: 4.7. - - [[!message-id "50950082.1070906@df1tl.local.here"]]. - - * `tst-audit1.out`, `tst-audit2.out` - - SIGKILL. - - * `tst-chk1.out` - - TODO - - * `tst-chk2.out` - - TODO + `LD_LIBRARY_PATH` doesn't contain the `mach` and `hurd` directories; yet + the test shouldn't just SIGSEGV. - * `tst-chk3.out` + * `dirent/opendir-tst1.out`, `dirent/tst-fdopendir2.out` - TODO + `dirent/opendir-tst1.out`: - * `tst-chk4.out` + `opendir' succeeded on a FIFO??? - TODO + `dirent/tst-fdopendir2.out`: - * `tst-chk5.out` + fdopendir with normal file descriptor did not fail - TODO + `opendir` and `fdopendir` do not return `ENOTDIR` if `fd` is not a + directory. - * `tst-chk6.out` - - TODO - - * `tst-cputimer1.o`, `tst-cputimer2.o`, `tst-cputimer3.o`, - `tst-timer4.o`, `tst-timer5.o` - - Missing `SIGRTMIN`. - - All these tests #include `tst-timer4.c`. - - * `tst-timer5.o` - - TODO - - * `tst-dlmopen1.out` - - TODO + * `posix/tst-waitid.out` - * `tst-ether_line.o` + Intermittent. - tst-ether_line.c:19: error: 'ETH_ALEN' undeclared (first use in this function) + SIGCHLD for stopped status 0 + SIGCHLD for stopped pid -1 + SIGCHLD for killed code 1 + SIGCHLD for killed status 0 + SIGCHLD for killed pid -1 - Will either need a `hurd/netinet/if_ether.h` that includes - ``, or can do that in the generic `netinet/if_ether.h`? - See also [[!sourceware_PR 11142]]. - - * `tst-fdopendir.out` - - directory atime changed + * `posix/bug-glob2.out` - TODO + Timed out: killed the child process - * `tst-futimesat.out` + * `posix/annexc.out` - `futimesat` is a stub. + Failure ignored by the glibc testsuite. - * `tst-getconf.out` + * `posix/tst-getconf.out` Ends with: @@ -1300,98 +1179,7 @@ There is quite a baseline of failures. [[!message-id "201209302353.51055.toscano.pino@tiscali.it"]] and libpthread compiled as add-on. - * `tst-grantpt.out` - - posix_openpt(O_RDWR) failed - errno 1073741902 (Function not implemented) - - `posix_openpt` is a stub. - - grantpt(): expected: return = -1, errno = 1073741846 - got: return = -1, errno = -303 - - `grantpt` (actually `ptsname_r`), does not fail with `ENOTTY` when the `fd` - does not refer to a PTY master. - - * `tst-lfschk2.out` - - TODO - - * `tst-lfschk3.out` - - TODO - - * `tst-lfschk4.out` - - TODO - - * `tst-lfschk5.out` - - TODO - - * `tst-lfschk6.out` - - TODO - - * `tst-longjmp_chk2.out` - - TODO - - * `tst-mqueue5.o` - - Missing `SIGRTMIN`. - - * `tst-pselect.o` - - Missing `SA_NOCLDWAIT`. - - * `tst-secure-getenv.out` - - Needs [[`/proc/self/exe`|hurd/translator/procfs/jkoenig/discussion]]. - - * `tst-sprofil.out` - - Floating point exception - - * `tst-stackguard1.out` - - TODO - - * `tst-stackguard1-static.out` - - TODO - - * `tststatic2.out` - - TODO - - * `tststatic.out` - - TODO - - * `tst-strtod-round.out` - - TODO - - * `tst-timer2.o` - - Missing `SIGRTMIN`. - - * `tst-timer.out` - - TODO - - * `tst-tls9-static.out` - - TODO - - * `tst-unique3lib.so`, `tst-unique3lib2.so`, `tst-unique4lib.so` - - Only with GCC 4.4; no longer with 4.5 or 4.6: - - /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486/elf/tst-unique3lib.os:(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' - - * `tst-vfork3-mem` + * `posix/tst-vfork3-mem` + 0x0804cee0 Alloc 10 duplicate: 0x1095389 $BUILDDIR/libc.so.0.3:[0x1095389] + 0x0804cf90 Alloc 11 duplicate: 0x1156963 $BUILDDIR/libc.so.0.3:(tsearch+0xe3)[0x1156963] @@ -1441,135 +1229,207 @@ There is quite a baseline of failures. 0x0804cfa8 0x73 at 0x10df0c8 0x00000008 0 at 0x10df0c8 - TODO + Perhps because we implement `vfork` in terms of `fork` (`posix/vfork.c`)? - * `tst-waitid.out` + * `io/test-lfs.out` - Fails sometimes (is listed in Debian eglibc-2.13-21's - `expected-results-i486-gnu-libc`). + /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build/io/test-lfs: cannot write test string to large file: Invalid argument + * `io/tst-futimesat.out` -### Additional Failures Compared to Debian (OLD) + file created + futimesat failed - $ bash ~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/convertlog.sh log_test > log_test.filtered - $ bash ~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/compare.sh ~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/expected-results-i486-gnu-libc log_test.filtered + `futimesat` is a stub. - * `bug-atexit3.out`, `debug/tst-chk4`, `debug/tst-chk5`, `debug/tst-chk6`, - `debug/tst-lfschk4`, `debug/tst-lfschk5`, `debug/tst-lfschk6` + * `resource/bug-ulimit1.out` - dlopen failed: libstdc++.so.6: cannot open shared object file: No such file or directory + Result of ulimit (UL_SETFSIZE, 10000): 0 + Result of ulimit(UL_GETFSIZE): 10000 - See [[!message-id "20090420002344.11798.qmail@s461.sureserver.com"]]. - Hacked around with `ln -s /usr/lib/i386-*gnu/libstdc++.so.6 - /lib/i386-*gnu/libpthread-stubs.so.0 /lib/i386-*gnu/libgcc_s.so.1 ./`. - This is a bug in the glibc test harness. Should probably use some - `configure` magic akin to the `fixincludes` stuff (`gcc-4.4 - -print-file-name=libstdc++.so.6`, etc.). + Buggy sysdeps/unix/bsd/ulimit.c return values. - Even if that that is being worked around, the tests fail with: + [[!message-id "201211182342.51619.toscano.pino@tiscali.it"]] - dlopen failed: [...]/libc.so.0.3: version `GLIBC_2.13_DEBIAN_31' not found (required by [...]/libstdc++.so.6) - dlopen failed: [...]/libc.so.0.3: version `GLIBC_2.13_DEBIAN_31' not found (required by [...]/libgcc_s.so.1) + * `misc/tst-pselect.o` - [[packaging_libpthread]]. + tst-pselect.c: In function 'do_test': + tst-pselect.c:33:17: error: 'SA_NOCLDWAIT' undeclared (first use in this function) - * `io/ftwtest`, `posix/globtest`, `iconvdata/iconv-test`, `intl/tst-gettext`, - `malloc/tst-mtrace`, `elf/tst-pathopt`, `iconvdata/tst-tables`, - `grp/tst_fgetgrent`, `dlfcn/tststatic`, `dlfcn/tststatic2`, - `posix/wordexp-tst`, `localedata/bug-setlocale1.out`, `posix/tst-getconf` + * `gmon/tst-sprofil.out` - /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/io/ftwtest: error while loading shared libraries: libmachuser.so.1: cannot open shared object file: No such file or directory + Floating point exception - Looking into `localedata/bug-setlocale1.c`, it is clear what it going on: - only the root of the build directory is added for `--library-path`, but - none of the other directories that are additionally used. This is a bug in - the glibc test harness. Hacked around by `ln -s mach/libmachuser.so.1 - hurd/libhurduser.so.0.3 ./`. Hopefully the other instances are similar. + * `nss//libnss_test1.so` - * `posix/tst-getconf` + [...]/nss/nss_test1.os: In function `_nss_test1_getpwent_r': + [...]/nss/nss_test1.c:60: undefined reference to `pthread_mutex_lock' + [...]/nss/nss_test1.c:85: undefined reference to `pthread_mutex_unlock' - It fails because of unimplemented pathconf cases: `_PC_ALLOC_SIZE_MIN`, - `_PC_REC_INCR_XFER_SIZE`, `_PC_REC_MAX_XFER_SIZE`, `_PC_REC_MIN_XFER_SIZE`, - `_PC_REC_XFER_ALIGN`, `_PC_SYMLINK_MAX`, `_PC_2_SYMLINKS`. + * `rt/tst-timer.out` - `_CS_GNU_LIBPTHREAD_VERSION` will be cleanly solved with - [[!message-id "201209302353.51055.toscano.pino@tiscali.it"]] and libpthread - compiled as add-on. + No message. - Ends with: + * `rt/tst-timer2.o` - getconf POSIX_ALLOC_SIZE_MIN /: /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486/posix/getconf: pathconf: /: Invalid argument + tst-timer2.c: In function 'do_test': + tst-timer2.c:33:23: error: 'SIGRTMIN' undeclared (first use in this function) - * `dlfcn/tststatic`, `dlfcn/tststatic2` + * `rt/tst-aio2`, `rt/tst-aio3`, `rt/tst-aio9`, `rt/tst-aio10`, + `rt/tst-mqueue3`, `rt/tst-mqueue5.o`, `rt/tst-mqueue6`, `rt/tst-mqueue8`, + `rt/tst-timer3`, `rt/tst-timer4.o`, `rt/tst-timer5.o`, + `rt/tst-cputimer1.o`, `rt/tst-cputimer2.o`, `rt/tst-cputimer3.o`, + `elf/tst-thrlock` - No output, SEGFAULT. + [...]/rt/tst-aio2.o: In function `do_test': + [...]/rt/tst-aio2.c:62: undefined reference to `pthread_barrier_init' + [...]/rt/tst-aio2.c:94: undefined reference to `pthread_barrier_wait' + [...]/rt/tst-aio2.o: In function `thrfct': + [...]/rt/tst-aio2.c:35: undefined reference to `pthread_barrier_wait' - * `math/test-idouble`, `math/test-ifloat`, `math/test-ildoubl`, - `math/test-ldouble` + tst-mqueue5.c: In function 'rtmin_handler': + tst-mqueue5.c:50:14: error: 'SIGRTMIN' undeclared (first use in this function) - SIGSEGV. + [...]/rt/tst-mqueue6.o: In function `do_test': + [...]/rt/tst-mqueue6.c:127: undefined reference to `pthread_attr_init' + [...]/rt/tst-mqueue6.c:149: undefined reference to `pthread_attr_setguardsize' + [...]/rt/tst-mqueue6.c:211: undefined reference to `pthread_attr_setguardsize' + [...]/rt/tst-mqueue6.c:262: undefined reference to `pthread_attr_destroy' + [...]/rt/tst-mqueue6.c:128: undefined reference to `pthread_attr_setguardsize' + [...]/rt/tst-mqueue6.o: In function `fct': + [...]/rt/tst-mqueue6.c:79: undefined reference to `pthread_self' + [...]/rt/tst-mqueue6.c:79: undefined reference to `pthread_getattr_np' + [...]/rt/tst-mqueue6.c:88: undefined reference to `pthread_attr_getguardsize' + [...]/rt/tst-mqueue6.c:95: undefined reference to `pthread_attr_destroy' + [...]/rt/tst-mqueue6.c:95: undefined reference to `pthread_attr_destroy' - * `rt-tst-aio2`, `rt-tst-aio3`, `rt/tst-aio10`, `rt/tst-aio9` + [...]/elf/tst-thrlock.o: In function `do_test': + [...]/elf/tst-thrlock.c:38: undefined reference to `pthread_create' + [...]/elf/tst-thrlock.c:48: undefined reference to `pthread_join' - /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/rt/tst-aio10.o: In function `do_test': - tst-aio10.c:(.text+0x1b): undefined reference to `pthread_self' - tst-aio10.c:(.text+0x78): undefined reference to `pthread_barrier_init' - tst-aio10.c:(.text+0xf7): undefined reference to `pthread_create' - tst-aio10.c:(.text+0x10b): undefined reference to `pthread_barrier_wait' - /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/rt/tst-aio10.o: In function `tf': - tst-aio10.c:(.text+0x5ae): undefined reference to `pthread_barrier_wait' - tst-aio10.c:(.text+0x5ef): undefined reference to `pthread_kill' - collect2: ld returned 1 exit status - make[2]: *** [/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/rt/tst-aio10] Error 1 + * `rt/tst-aio8.out` - * `rt/tst-mqueue3`, `rt/tst-mqueue6`, - `rt/tst-mqueue8`, `elf/tst-thrlock`, `rt/tst-timer3`, - `nss//libnss_test1.so` + r = -1, e = 1073741902 (Function not implemented) - Compilation: missing `pthread_attr_init`, `pthread_barrier_init`, - `pthread_create`, etc. + Should work with [[!message-id + "201209302353.51055.toscano.pino@tiscali.it"]] in libpthread. - * `elf/tst-audit1`, `elf/tst-audit2` + * `debug/tst-chk1.out` - SIGKILL. + Intermittent. Timeout. Unknown. + + * `debug/tst-chk2.out`, `debug/tst-chk3.out`, `debug/tst-lfschk2.out`, + `debug/tst-lfschk3.out` + + Unknown. + + * `debug/tst-chk4.out`, `debug/tst-chk5.out`, `debug/tst-chk6.out`, + `debug/tst-lfschk4.out`, `debug/tst-lfschk5.out`, `debug/tst-lfschk6.out` + + [...]/debug/tst-chk4: [...]/libc.so.0.3: version `GLIBC_2.13_DEBIAN_31' not found (required by [...]/libstdc++.so.6) + [...]/debug/tst-chk4: [...]/libc.so.0.3: version `GLIBC_2.13_DEBIAN_31' not found (required by [...]/libgcc_s.so.1) + + * `debug/tst-longjmp_chk2.out` - * `inet/tst-ether_line` + SIGSEGV. + + not on alternate stack + in signal handler + on alternate stack + out of signal handler + on alternate stack + + It says *alternate stack*. + + * `inet/tst-ether_line.o` - tst-ether_line.c:19: error: 'ETH_ALEN' undeclared (first use in this function) + tst-ether_line.c: In function 'do_test': + tst-ether_line.c:19:19: error: 'ETH_ALEN' undeclared (first use in this function) Will either need a `hurd/netinet/if_ether.h` that includes ``, or can do that in the generic `netinet/if_ether.h`? See also [[!sourceware_PR 11142]]. - * `gmon/tst-sprofil` + * `login/tst-grantpt.out` - Floating point exception + posix_openpt(O_RDWR) failed + errno 1073741902 (Function not implemented) - * `posix/bug-regex31-mem`, `posix/tst-fnmatch-mem`, `misc/tst-error1-mem`, - `libio/tst-fopenloc.check` + `posix_openpt` is a stub. - *output* files: some memory not freed. + grantpt(): expected: return = -1, errno = 1073741846 + got: return = -1, errno = -303 - [[!message-id "87mxd9hl2n.fsf@kepler.schwinge.homeip.net"]] + `grantpt` (actually `ptsname_r`), does not fail with `ENOTTY` when the `fd` + does not refer to a PTY master. - * `assert/test-assert.out` + * `elf/tst-stackguard1-static.out`, `elf/tst-stackguard1.out` - Fails sometimes... + differences 0 defaults 0 + stack guard canaries are not randomized enough + nor equal to the default canary value - * `stdlib/bug-getcontext.out` + * `elf/tst-tls9-static.out` - getcontext failed, errno: 1073741902. + SIGSEGV. - Is not implemented; see above. In 8958805c11c741d9211e20612c86271d906c9a0b - testing, `stdlib/bug-getcontext.out` now says: *Skipping test; no support - for FP exceptions.*, in cba1c83ad62a11347684a9daf349e659237a1741 testing, - it's back to the previous failure. + * `elf/tst-dlmopen1.out` + + SIGSEGV. + + * `elf/tst-audit1.out`, `elf/tst-audit2.out` + + SIGKILL. + + * `elf/check-textrel.out` + + $BUILDDIR/libc.so.dyn: *** text relocations used + + * `elf/check-execstack.out` + + $BUILDDIR/libc.so.phdr: *** executable stack signaled + + * `elf/check-localplt.out` + + Around 500 or so `Extra PLT reference`. + + * `check-local-headers.out` + + A lot. Including `/usr/include/device/*.h`, `/usr/include/mach/*.h`, + `/usr/include/hurd/*.h`. + +Earlier failures; no longer seen: + + * `test-assert-perr.out` + + Fails intermittently. Unknown. + + * `test-multiarch.out` - * `elf/tst-unique3lib.so`, `elf/tst-unique3lib2.so`, `elf/tst-unique4lib.so` + Needs [[`/proc/cpuinfo`|hurd/translator/procfs/jkoenig/discussion]] + providing the `flags` line. + + * `elf/tst-array*` + + No longer fail with GCC 4.7. + [[!message-id "50950082.1070906@df1tl.local.here"]]. + + * `io/ftwtest`, `posix/globtest`, `iconvdata/iconv-test`, `intl/tst-gettext`, + `malloc/tst-mtrace`, `elf/tst-pathopt`, `iconvdata/tst-tables`, + `grp/tst_fgetgrent`, + `posix/wordexp-tst`, `localedata/bug-setlocale1.out`, `posix/tst-getconf` + + /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486.O/io/ftwtest: error while loading shared libraries: libmachuser.so.1: cannot open shared object file: No such file or directory + + Looking into `localedata/bug-setlocale1.c`, it is clear what it going on: + only the root of the build directory is added for `--library-path`, but + none of the other directories that are additionally used. This is a bug in + the glibc test harness. Hacked around by `ln -s mach/libmachuser.so.1 + hurd/libhurduser.so.0.3 ./`. Hopefully the other instances are similar. - Only with GCC 4.4; no longer with 4.5 or 4.6: + * `assert/test-assert.out` - /home/thomas/tmp/glibc/tschwinge/Roger_Whittaker.build-gcc-4.4-486/elf/tst-unique3lib.os:(.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0' + Fails sometimes... * `math/test-fenv.out` @@ -1579,11 +1439,6 @@ There is quite a baseline of failures. 005b7594ffe209639dd1ef2b9ed9a4c22307dec1 causes it to passe -- very likely Jérémie's signaling work. - * `posix/tst-waitid.out` - - Fails sometimes (is listed in Debian eglibc-2.13-21's - `expected-results-i486-gnu-libc`). - * `elf/tst-unused-dep.out` (1f393a11f65dcaa1952bdcaf0317a65a5f8aff9d, [[!sourceware_PR 13706]], [[!message-id "4F4210C1.1090704@redhat.com"]]) @@ -1593,113 +1448,7 @@ There is quite a baseline of failures. As of 8958805c11c741d9211e20612c86271d906c9a0b, this test now passes -- correct? - * `stdlib/tst-secure-getenv.out` - - Needs [[`/proc/self/exe`|hurd/translator/procfs/jkoenig/discussion]]. +Compared to Debian: - * `elf/tst-array*` - - Failures also seen on GNU/Linux; [[!message-id - "50950082.1070906@df1tl.local.here"]]. - - gcc-4.6 tst-array1.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1.out tst-array1.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1.out] Error 1 - gcc-4.6 tst-array2.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 tst-array2dep.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -fPIC -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc - gcc-4.6 -shared -static-libgcc -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,defs -B[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/csu/ -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both -L[...]/tschwinge/Roger_Whittaker.build-gcc-4.6 - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array2 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array2.out tst-array2.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array2.out] Error 1 - gcc-4.6 tst-array3.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array3 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array3.out tst-array1.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array3.out] Error 1 - gcc-4.6 tst-array4.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/ - gcc-4.6 -nostdlib -nostartfiles -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array4 -Wl,-dynamic-linker=/lib/ld.so.1 -Wl,-z,combreloc -Wl,-z,relro -Wl,--hash-style=both [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486 - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/ld.so.1 --library-path [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/math:[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf:[ - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array4.out tst-array4.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array4.out] Error 1 - - `tst-array5` passes. - - gcc-4.6 tst-array1-static.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wno-parentheses -Wstrict-prototypes -I../include -I[...]/tschwinge/Roger_Whittaker.build-gcc-4 - gcc-4.6 -nostdlib -nostartfiles -static -o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/csu/crt0.o [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/csu/crti - [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static > [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static.out - cmp [...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static.out tst-array1.exp > /dev/null - make[2]: *** [[...]/tschwinge/Roger_Whittaker.build-gcc-4.6-486/elf/tst-array1-static.out] Error 1 - - `tst-array5-static` passes. - - -## OLD - -`configure --without-cvs --prefix= --disable-profile --build=i486-gnu ---host=i486-gnu` - -`make -k check` changes from 538603af899057a9ef9583cc447804ec602a45e5 to -c9fd33ef070def49c078c94f8d9bc9f8a8e267f7. - -Configured with `--prefix=/usr` instead of `--prefix=`. - -Resolved failures: - - * localedata/tst_mblen.out - * localedata/tst_mbrlen.out - * localedata/tst_mbrtowc.out - * localedata/tst_mbsrtowcs.out - * localedata/tst_mbstowcs.out - * localedata/tst_mbtowc.out - * localedata/tst_swscanf.out - * localedata/tst_wcrtomb.out - * localedata/tst_wcsrtombs.out - * localedata/tst_wcstombs.out - * localedata/tst_wctob.out - * localedata/tst_wctomb.out - * localedata/bug-iconv-trans.out - * localedata/tst-wctype.out - * math/test-float.out - * math/test-double.out - * posix/tst-vfork3-mem - * io/tst-mkdirat.out - -New: - - * A lot of `error while loading shared libraries: libmachuser.so.1: cannot - open shared object file: No such file or directory`. Is it perhaps picking - that library up from `$prefix/lib/`? - - New failures; likely due to that: - - * iconvdata/iconv-test.out - * iconvdata/tst-tables.out - * malloc/tst-mtrace.out - * grp/tst_fgetgrent.out - * posix/globtest.out - * posix/wordexp-tst.out - * io/ftwtest.out - * elf/tst-pathopt.out - - Changed failures; likely due to that: - - * debug/tst-chk4.out / debug/tst-chk5.out - - -error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory - +error while loading shared libraries: libpthread-stubs.so.0: cannot open shared object file: No such file or directory - ---- - -Changes to b367d4f996512af6841c3cefdb943cb0a826a6a1: nothing interesting. - ---- - -Changes to b85c54a1f7e5241c1ef99dfeaecbd1bf4117564f: nothing interesting. - -New failures: - - * posix/bug-glob3.out (SEGFAULT; but also on Linux) - * wctype/bug-wctypeh.o (compile error; but also on Linux) + $ bash ~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/convertlog.sh log_test > log_test.filtered + $ bash ~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/compare.sh ~/tmp/glibc/debian/eglibc-2.13/debian/testsuite-checking/expected-results-i486-gnu-libc log_test.filtered diff --git a/toolchain/logs b/toolchain/logs index c917bcd8..6ca9984a 160000 --- a/toolchain/logs +++ b/toolchain/logs @@ -1 +1 @@ -Subproject commit c917bcd8dd4f1e989562b7767a99722eb615c946 +Subproject commit 6ca9984afbe68e4fa144a82d9e3020acb5e7aa3e -- cgit v1.2.3 From ba683182f43036fc52f1087ada237e1d07854b0e Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 9 Feb 2013 17:26:38 +0100 Subject: open_issues/llvm: llvm 0a109de14d0ced95d99b9ec60d4ef9479d6404d3 (2013-02-08), clang 4cdb7414a1862270bbf8ff2c345aea879a64a116 (2013-02-08), compiler-rt ed83584256249ee2c474fb18abf7df6aa73019b0 (2013-02-08), test-suite d1212efdb685151165a48d0f89cf3d40154468bc (2013-02-08) --- hurd/translator/procfs/jkoenig/discussion.mdwn | 14 +++ open_issues/llvm.mdwn | 168 ++++++++++++++++++++++--- shortcuts.mdwn | 6 + toolchain/logs | 2 +- 4 files changed, 170 insertions(+), 20 deletions(-) diff --git a/hurd/translator/procfs/jkoenig/discussion.mdwn b/hurd/translator/procfs/jkoenig/discussion.mdwn index e71ea02b..aded4225 100644 --- a/hurd/translator/procfs/jkoenig/discussion.mdwn +++ b/hurd/translator/procfs/jkoenig/discussion.mdwn @@ -218,6 +218,20 @@ Needed by glibc's `pldd` tool (commit [[!message-id "alpine.LFD.2.02.1110111111260.2016@akari"]]. Needed by glibc's `stdlib/tst-secure-getenv.c`. +Is it generally possible to use something like the following instead? +Disadvantage is that every program using this needs to be patched. + + #include + [...] + Dl_info DLInfo; + int err = dladdr(&main, &DLInfo); + if (err == 0) + [...] + /* Pathname of shared object that contains address: DLInfo.dli_fname. */ + /* Filter it through realpath. */ + +This is used in `[LLVM]/lib/Support/Unix/Path.inc`. + # `/proc/[PID]/fd/` diff --git a/open_issues/llvm.mdwn b/open_issues/llvm.mdwn index 3ce42281..983f0b03 100644 --- a/open_issues/llvm.mdwn +++ b/open_issues/llvm.mdwn @@ -23,6 +23,13 @@ example. Especially all the compiler magic is all the same. # [[General information|/llvm]] +## Rebuild of the Debian archive with clang + +From [[!message-id "20120305195308.GA1904@zouish.org"]]: +, +. + + # [[Sources|source_repositories/llvm]] @@ -35,37 +42,60 @@ For all of llvm, clang, compiler-rt, test-suite: git checkout reviewed git log --reverse --topo-order --pretty=fuller --stat=$COLUMNS,$COLUMNS -w -p -C --cc ..upstream/master -i -/^commit |^merge:|^---$|hurd|linux|nacl|nptl|glibc|gs: +/^commit |^merge:|^---$|hurd|gnu|linux|nacl|nptl|glibc|[^e]gs:|/proc --> Last reviewed up to the [[Git mirror's sources|source_repositories/llvm]]: llvm -7bf2e1b9ef797fda5de53956a1d2aea900ce794f (2013-01-09), clang -35eb8c3e12cac22f91d1cd4c74ae092ebc94fc40 (2013-01-09), compiler-rt -b1d1ef27db5b6c7788cda3dfd5deb6037dd4a3b8 (2013-01-09), test-suite -a26cfd0ef760f09e753b76d3e633a6af9ed637f8 (2013-01-08). - - * Configure fragments that have `*linux*` cases might/should often contain - those for us (and GNU/k*BSD) as well. +0f58dbae4ab2397dc310e19d171a4bc60fc6c9a7 (2013-02-08), clang +52635ff9fb530dfdfc6a94e52a2270bf1bb8346b (2013-02-08), compiler-rt +ed83584256249ee2c474fb18abf7df6aa73019b0 (2013-02-08), test-suite +f621d1a62904df136cbaf4e4e63cbf9e9c45fd10 (2013-02-08). * . - * [low] Some `PATH_MAX`/`MAXPATHLEN` things. + * [low] Some more `PATH_MAX`/`MAXPATHLEN` things. + + * `gs:` usage + + * `lib/Target/X86/`, `test/CodeGen/X86/`, `test/MC/X86/`. + + * `tools/clang/` + + tools/clang/docs/LanguageExtensions.rst: movl %gs:(%eax), %eax + tools/clang/test/Sema/asm.c: asm volatile ("movb %%gs:%P2,%b0" : "=q"(b) : "0"(0), "i"(5L)); + + * `compiler-rt` and `test-suite` not yet examined. + + * [low] Linuxisms + + * `test/`, `unittests`, `tools/clang/test/`, `tools/clang/unittests/` not + yet examined. + + * In clang's `test/Driver/` a lot of testing can be generalized from + *Linux* to *GNU environment*, adding GNU/Hurd testing, too. - * Review `gs:` usage in `[llvm]/lib/Target/X86/`, `[llvm]/test/CodeGen/X86/`, - `[llvm]/test/MC/X86/`. -./clang/tschwinge/Hank_Mobley/docs/LanguageExtensions.rst: movl %gs:(%eax), %eax -./clang/tschwinge/Hank_Mobley/test/Sema/asm.c: asm volatile ("movb %%gs:%P2,%b0" : "=q"(b) : "0"(0), "i"(5L)); + * `compiler-rt` and `test-suite` not yet examined. + + * `/proc` usage + + * `compiler-rt` and `test-suite` not yet examined. + + * `libc++` (not currently using) + + Some Hurd-porting work is said to have been done as Google Summer of Code + 2012 Debian project, + . # Build Here's a log of a LLVM build run; this is from our [[Git repository's sources|source_repositories/llvm]], llvm -792d08f44e4386ea671c1313cad9dfc9fc853794 (2013-01-09), clang -1d2e1d18ae77b1949a31203ed7001b5817f29b09 (2013-01-09), compiler-rt -b1d1ef27db5b6c7788cda3dfd5deb6037dd4a3b8 (2013-01-09), test-suite -a26cfd0ef760f09e753b76d3e633a6af9ed637f8 (2013-01-08), run on kepler.SCHWINGE +0a109de14d0ced95d99b9ec60d4ef9479d6404d3 (2013-02-08), clang +4cdb7414a1862270bbf8ff2c345aea879a64a116 (2013-02-08), compiler-rt +ed83584256249ee2c474fb18abf7df6aa73019b0 (2013-02-08), test-suite +d1212efdb685151165a48d0f89cf3d40154468bc (2013-02-08), run on kepler.SCHWINGE and coulomb.SCHWINGE. $ export LC_ALL=C @@ -78,7 +108,8 @@ and coulomb.SCHWINGE. Different hosts may default to different shells and compiler versions; thus harmonized. -Passing `--enable-debug-symbols`, the GNU/Hurd build terminates with a SIGBUS +Passing `--enable-debug-symbols`, the GNU/Hurd build on coulomb.SCHWINGE +terminates with a SIGBUS when linking `Release+Debug+Asserts/bin/clang` (which is bigger than 500 MiB for the corresponding GNU/Linux build). Using `--enable-debug-symbols --enable-shared`, the GNU/Hurd build hang after `make[1]: Leaving directory @@ -90,10 +121,17 @@ the corresponding GNU/Linux build). Also there is a separate This takes up around 3 GiB, and needs roughly 1.25 h on kepler.SCHWINGE and 4.25 h on coulomb.SCHWINGE. +Configuring without `--enable-optimized` even crashes mighty darnassus, +probably because of too-big files when linking. Configuring with +`--enable-optimized --enable-expensive-checks --disable-threads +--enable-debug-symbols --enable-debug-runtime` is fine. + @@ -165,4 +203,96 @@ coulomb.SCHWINGE. $ toolchain/logs/process llvm test -TODO + * `LLVM :: CodeGen/X86/mult-alt-generic-i686.ll`, `LLVM :: + CodeGen/X86/win_ftol2.ll` + + These, as well as a really large set of test from the test-suite fail on + coulomb.SCHWINGE no matter whether a GNU/Hurd or GNU/Linux system is booted + -- so all these are specific to the Athlon XP processor, hopefully. + + * `Clang :: Index/crash-recovery-modules.m` + + Also fails on GNU/Linux. Tested `--enable-optimized + --enable-expensive-checks --disable-threads --enable-debug-symbols + --enable-debug-runtime`. [[!LLVM_bug 11974]]. + + * `Clang :: Misc/dev-fd-fs.c` + + $ cat < [...]/test/Misc/dev-fd-fs.c | Release+Debug+Asserts+Checks/bin/clang -x c /dev/fd/0 -E + clang: error: no such file or directory: '/dev/fd/0' + clang: error: no input files + + Compare to: + + $ cat < [...]/test/Misc/dev-fd-fs.c | gcc -x c /dev/fd/0 -E + gcc: error: /dev/fd/0: (ipc/mig) bad request message ID + gcc: warning: '-x c' after last input file has no effect + gcc: fatal error: no input files + compilation terminated. + + These work: + + $ Release+Debug+Asserts+Checks/bin/clang -x c /dev/fd/0 -E < [...]/test/Misc/dev-fd-fs.c + [...] + int x; + $ gcc -x c /dev/fd/0 -E < [...]/test/Misc/dev-fd-fs.c + [...] + int x; + + * `Clang :: Tooling/clang-check-builtin-headers.cpp` + + Fails: `fatal error: 'stddef.h' file not found`; succeeds when ran + manually. + + * About 200 clang tests fail; they all seem similar. These are especially + the `Clang :: Index/*` and `Clang :: Modules/*` tests. Configuring with + `--enable-optimized --enable-expensive-checks --disable-threads + --enable-debug-symbols --enable-debug-runtime`, these FAILs go away. + + * With `--enable-optimized --enable-expensive-checks --disable-threads + --enable-debug-symbols --enable-debug-runtime`, there are a few new FAILs + for both GNU/Linux and GNU/Hurd: + + * `Clang :: Tooling/auto-detect-from-source-parent-of-cwd.cpp` + + * `Clang :: Tooling/auto-detect-from-source-parent.cpp` + + * `Clang :: Tooling/clang-check-autodetect-dir.cpp` + + For all three, the `clang-check` invocation fails. [[!LLVM_bug 15194]]. + + * Several tests are not considered on GNU/Hurd. + + * Differences in test-suite, that are not evidently floating-point issues, + GNU/Linux vs. GNU/Hurd on coulomb.SCHWINGE: + + gcc-4.6 -I/media/erich/home/thomas/tmp/llvm/tschwinge/Horace_Silver.build/projects/test-suite/SingleSource/UnitTests -I/media/erich/home/thomas/tmp/llvm/test-suite/tschwinge/Art_Blakey/SingleSource/UnitTests -I/home/thomas/tmp/llvm/tschwinge/Horace_Silver.build/projects/test-suite/../../../Horace_Silver/projects/test-suite/include -I../../include -I/home/thomas/tmp/llvm/tschwinge/Horace_Silver.build/include -I/home/thomas/tmp/llvm/tschwinge/Horace_Silver/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -DNDEBUG -O3 /media/erich/home/thomas/tmp/llvm/test-suite/tschwinge/Art_Blakey/SingleSource/UnitTests/2007-04-25-weak.c -lm -o Output/2007-04-25-weak.native -lstdc++ + +/media/erich/home/thomas/tmp/llvm/test-suite/tschwinge/Art_Blakey/SingleSource/UnitTests/2007-04-25-weak.c:3:1: warning: 'weak_import' attribute directive ignored [-Wattributes] + +/tmp/ccWGwKvo.o: In function `main': + +2007-04-25-weak.c:(.text.startup+0x7): undefined reference to `test_weak' + +collect2: ld returned 1 exit status + +make[2]: [Output/2007-04-25-weak.native] Error 1 (ignored) + + On GNU/Linux, the clamav tests are compiled with `-DC_LINUX`. + + +/media/erich/home/thomas/tmp/llvm/test-suite/tschwinge/Art_Blakey/MultiSource/Applications/lambda-0.1.3/lambda.cc:63:12: error: use of undeclared identifier 'MAXPATHLEN' + + char buf[MAXPATHLEN+1]; + + ..., with follow-up failures. + + `projects/test-suite/MultiSource/Applications/obsequi` is not at all + considered for GNU/Hurd. + + +/media/erich/home/thomas/tmp/llvm/test-suite/tschwinge/Art_Blakey/MultiSource/Benchmarks/Olden/voronoi/newvor.c:178:25: warning: implicit declaration of function 'memalign' is invalid in C99 [-Wimplicit-function-declaration] + + char* base = (char*)memalign(align_size, alloc_size); + + ^ + +1 warning generated. + + +/media/erich/home/thomas/tmp/llvm/test-suite/tschwinge/Art_Blakey/MultiSource/Benchmarks/Prolangs-C/archie-client/get_vdir.c:213:20: error: use of undeclared identifier 'MAXPATHLEN' + + char l_name[MAX_DIR_LINESIZE]; + + ^ + +/media/erich/home/thomas/tmp/llvm/test-suite/tschwinge/Art_Blakey/MultiSource/Benchmarks/Prolangs-C/archie-client/pprot.h:39:37: note: expanded from macro 'MAX_DIR_LINESIZE' + +#define MAX_DIR_LINESIZE 160+MAXPATHLEN /* Max linesize in directory */ + + ^ + + ..., and several more. diff --git a/shortcuts.mdwn b/shortcuts.mdwn index 2f12f28f..c211bd30 100644 --- a/shortcuts.mdwn +++ b/shortcuts.mdwn @@ -115,3 +115,9 @@ ikiwiki will include your shortcut in the standard underlay. * [[!shortcut name=stackoverflow_question url="http://stackoverflow.com/questions/%s" desc="Stack Overflow question %s"]] + + +## [[LLVM]] + + * [[!shortcut name=LLVM_bug url="http://llvm.org/bugs/show_bug.cgi?id=%s" + desc="LLVM bug #%s"]] diff --git a/toolchain/logs b/toolchain/logs index 6ca9984a..06b147ee 160000 --- a/toolchain/logs +++ b/toolchain/logs @@ -1 +1 @@ -Subproject commit 6ca9984afbe68e4fa144a82d9e3020acb5e7aa3e +Subproject commit 06b147ee6351f7b664604438bb06ac4b5fc027b7 -- cgit v1.2.3 From 70e4358dca9cca2a5f820267895f4d21a6a215e9 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 9 Feb 2013 21:42:26 +0100 Subject: open_issues/llvm: Use GCC 4.7. --- open_issues/llvm.mdwn | 2 +- toolchain/logs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/open_issues/llvm.mdwn b/open_issues/llvm.mdwn index 983f0b03..5d255504 100644 --- a/open_issues/llvm.mdwn +++ b/open_issues/llvm.mdwn @@ -102,7 +102,7 @@ and coulomb.SCHWINGE. $ (cd ../Horace_Silver/ && ln -sfn ../../../clang/tschwinge/Hank_Mobley tools/clang) $ (cd ../Horace_Silver/ && ln -sfn ../../../compiler-rt/tschwinge/Doug_Watkins projects/compiler-rt) $ (cd ../Horace_Silver/ && ln -sfn ../../../test-suite/tschwinge/Art_Blakey projects/test-suite) - $ ../Horace_Silver/configure --prefix="$PWD".install --enable-optimized SHELL=/bin/dash CC=gcc-4.6 CXX=g++-4.6 2>&1 | tee log_build + $ ../Horace_Silver/configure --prefix="$PWD".install --enable-optimized SHELL=/bin/dash CC=gcc-4.7 CXX=g++-4.7 2>&1 | tee log_build $ make VERBOSE=1 2>&1 | tee log_build_ Different hosts may default to different shells and compiler versions; thus diff --git a/toolchain/logs b/toolchain/logs index 06b147ee..756acec9 160000 --- a/toolchain/logs +++ b/toolchain/logs @@ -1 +1 @@ -Subproject commit 06b147ee6351f7b664604438bb06ac4b5fc027b7 +Subproject commit 756acec9dfc00de250c9cca0ec745e38416b34e8 -- cgit v1.2.3 From 539546d75f4d3ba46b41c6f2869ef7d8500f6ecb Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 12 Feb 2013 23:41:15 +0100 Subject: open_issues/glibc: t/pie-sbrk branch. --- open_issues/gcc/pie.mdwn | 9 +++++++-- open_issues/glibc.mdwn | 4 ++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/open_issues/gcc/pie.mdwn b/open_issues/gcc/pie.mdwn index a4598d1e..52517a28 100644 --- a/open_issues/gcc/pie.mdwn +++ b/open_issues/gcc/pie.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2012 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2012, 2013 Free Software Foundation, Inc."]] [[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable id="license" text="Permission is granted to copy, distribute and/or modify this @@ -10,7 +10,7 @@ License|/fdl]]."]]"""]] [[!meta title="Position-Independent Executables"]] -[[!tag open_issue_gcc]] +[[!tag open_issue_glibc]] # IRC, freenode, #debian-hurd, 2012-11-08 @@ -38,3 +38,8 @@ License|/fdl]]."]]"""]] uh this causes the w3m build failure and (indirectly, due to elinks built with -pie) aptitude + + +## id:"20130211040854.GN5926@type.youpi.perso.aquilenet.fr" + +[[glibc]] `t/pie-sbrk` branch. diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index bf240724..0379dad4 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -52,6 +52,10 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8 918b56067a444572f1c71b02f18255ae4540b043. [[!GCC_PR 53183]], GCC commit c05436a7e361b8040ee899266e15bea817212c37. + * `t/pie-sbrk` + + [[gcc/PIE]]. + * `t/sysvshm` ../sysdeps/mach/hurd/shmat.c: In function '__shmat': -- cgit v1.2.3 From 6e1496e240ae682648575ba79115197d85477a08 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 13 Feb 2013 09:19:34 +0100 Subject: open_issues/glibc: 60f4d2f33666d77ac018cb9956675dcad04bb996 (2013-02-12; fbeafedeea37e0af1984a6511018d159f5ceed6a (2012-11-03)) --- open_issues/glibc.mdwn | 12 +++++++----- toolchain/logs | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index 0379dad4..ac4d7d12 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -894,7 +894,7 @@ Last reviewed up to the [[Git mirror's d3bd58cf0a027016544949ffd27300ac5fb01bb8 # Build Here's a log of a glibc build run; this is from our [[Git repository's -28b74f8dbc3eb639d35fc0f93021ac5eb1fde9a4 (2012-11-03; +60f4d2f33666d77ac018cb9956675dcad04bb996 (2013-02-12; fbeafedeea37e0af1984a6511018d159f5ceed6a (2012-11-03)) sources|source_repositories/glibc]], run on coulomb.SCHWINGE. @@ -904,7 +904,7 @@ sources|source_repositories/glibc]], run on coulomb.SCHWINGE. $ make install_root=/INVALID 2>&1 | tee log_build_ [...] -This takes up around 500 MiB, and needs roughly X min on kepler.SCHWINGE and +This takes up around 550 MiB, and needs roughly X min on kepler.SCHWINGE and 100 min on coulomb.SCHWINGE. Last reviewed up to the [[Git mirror's sources|source_repositories/llvm]]: llvm -0f58dbae4ab2397dc310e19d171a4bc60fc6c9a7 (2013-02-08), clang -52635ff9fb530dfdfc6a94e52a2270bf1bb8346b (2013-02-08), compiler-rt -ed83584256249ee2c474fb18abf7df6aa73019b0 (2013-02-08), test-suite +e68542e67e5c0f8d4bbdae0dde6ccd24525a18e3 (2013-02-13), clang +2cbd427ec533f022f612fed0dd93ef5fa214478a (2013-02-12), compiler-rt +c242446f7a7c6a0c1f1bf9ad403d6dac6f215f1c (2013-02-12), test-suite f621d1a62904df136cbaf4e4e63cbf9e9c45fd10 (2013-02-08). * . @@ -92,10 +92,10 @@ f621d1a62904df136cbaf4e4e63cbf9e9c45fd10 (2013-02-08). Here's a log of a LLVM build run; this is from our [[Git repository's sources|source_repositories/llvm]], llvm -0a109de14d0ced95d99b9ec60d4ef9479d6404d3 (2013-02-08), clang -4cdb7414a1862270bbf8ff2c345aea879a64a116 (2013-02-08), compiler-rt -ed83584256249ee2c474fb18abf7df6aa73019b0 (2013-02-08), test-suite -d1212efdb685151165a48d0f89cf3d40154468bc (2013-02-08), run on kepler.SCHWINGE +829831c561ca75cb81cbe217dee25b52dbe0e2f0 (2013-02-13), clang +6b02a96cdeecb9cc2070a5a5684d62bb32ba40d6 (2013-02-13), compiler-rt +c242446f7a7c6a0c1f1bf9ad403d6dac6f215f1c (2013-02-12), test-suite +f8647dbb30c3ee173c038aff10f815b0ba856793 (2013-02-09), run on kepler.SCHWINGE and coulomb.SCHWINGE. $ export LC_ALL=C @@ -139,18 +139,6 @@ probably because of too-big files when linking. Configuring with $ toolchain/logs/process llvm build - -checking type of operating system we're going to host on... Linux - -checking type of operating system we're going to target... Linux - +checking type of operating system we're going to host on... GNU - +checking type of operating system we're going to target... GNU - - -checking mach/mach.h usability... no - -checking mach/mach.h presence... no - -checking for mach/mach.h... no - +checking mach/mach.h usability... yes - +checking mach/mach.h presence... yes - +checking for mach/mach.h... yes - -checking for mmap of files... yes +checking for mmap of files... no checking if /dev/zero is needed for mmap... no @@ -158,12 +146,13 @@ probably because of too-big files when linking. Configuring with Due to [[mmap_write-only]]. - -checking type of operating system we're going to target... Linux - +checking type of operating system we're going to target... Unknown + +In file included from [...]/lib/Support/Process.cpp:85:0: + +[...]/lib/Support/Unix/Process.inc: In function 'unsigned int getColumns(int)': + +[...]/lib/Support/Unix/Process.inc:227:21: warning: enumeral and non-enumeral type in conditional expression [enabled by default] - +In file included from [...]/tschwinge/Horace_Silver/lib/Support/Process.cpp:29:0: - +[...]/tschwinge/Horace_Silver/lib/Support/Unix/Process.inc: In function 'unsigned int getColumns(int)': - +[...]/tschwinge/Horace_Silver/lib/Support/Unix/Process.inc:220:21: warning: enumeral and non-enumeral type in conditional expression [enabled b + 225 // Try to determine the width of the terminal. + 226 struct winsize ws; + 227 if (ioctl(FileID, TIOCGWINSZ, &ws) == 0) include/llvm/Config/* Makefile.config @@ -203,10 +192,9 @@ coulomb.SCHWINGE. $ toolchain/logs/process llvm test - * `LLVM :: CodeGen/X86/mult-alt-generic-i686.ll`, `LLVM :: - CodeGen/X86/win_ftol2.ll` + * `LLVM :: CodeGen/X86/mult-alt-generic-i686.ll` - These, as well as a really large set of test from the test-suite fail on + This one, as well as a really large set of test from the test-suite fail on coulomb.SCHWINGE no matter whether a GNU/Hurd or GNU/Linux system is booted -- so all these are specific to the Athlon XP processor, hopefully. @@ -244,11 +232,6 @@ coulomb.SCHWINGE. Fails: `fatal error: 'stddef.h' file not found`; succeeds when ran manually. - * About 200 clang tests fail; they all seem similar. These are especially - the `Clang :: Index/*` and `Clang :: Modules/*` tests. Configuring with - `--enable-optimized --enable-expensive-checks --disable-threads - --enable-debug-symbols --enable-debug-runtime`, these FAILs go away. - * With `--enable-optimized --enable-expensive-checks --disable-threads --enable-debug-symbols --enable-debug-runtime`, there are a few new FAILs for both GNU/Linux and GNU/Hurd: @@ -263,6 +246,27 @@ coulomb.SCHWINGE. * Several tests are not considered on GNU/Hurd. + -PASS: Clang-Unit :: ASTMatchers/[...]/tschwinge/Horace_Silver.build/tools/clang/unittests/ASTMatchers/Release+Asserts/ASTMatchersTests/HasNameDeathTest.DiesOnEmptyName + -PASS: Clang-Unit :: ASTMatchers/[...]/tschwinge/Horace_Silver.build/tools/clang/unittests/ASTMatchers/Release+Asserts/ASTMatchersTests/HasNameDeathTest.DiesOnEmptyPattern + -PASS: Clang-Unit :: ASTMatchers/[...]/tschwinge/Horace_Silver.build/tools/clang/unittests/ASTMatchers/Release+Asserts/ASTMatchersTests/IsDerivedFromDeathTest.DiesOnEmptyBaseName + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APFloatTest.SemanticsDeath + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APFloatTest.StringDecimalDeath + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APFloatTest.StringDecimalExponentDeath + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APFloatTest.StringDecimalSignificandDeath + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APFloatTest.StringHexadecimalDeath + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APFloatTest.StringHexadecimalExponentDeath + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APFloatTest.StringHexadecimalSignificandDeath + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/APIntTest.StringDeath + -PASS: LLVM-Unit :: Support/[...]/tschwinge/Horace_Silver.build/unittests/Support/Release+Asserts/SupportTests/LeakDetector.Death1 + -PASS: LLVM-Unit :: Support/[...]/tschwinge/Horace_Silver.build/unittests/Support/Release+Asserts/SupportTests/ValueHandle.AssertingVH_Asserts + + GTEST_HAS_DEATH_TEST utils/unittest/googletest/include/gtest/internal/gtest-port.h + + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/PackedVectorTest.SignedValues + -PASS: LLVM-Unit :: ADT/[...]/tschwinge/Horace_Silver.build/unittests/ADT/Release+Asserts/ADTTests/PackedVectorTest.UnsignedValues + + EXPECT_DEBUG_DEATH utils/unittest/googletest/include/gtest/gtest-death-test.h + * Differences in test-suite, that are not evidently floating-point issues, GNU/Linux vs. GNU/Hurd on coulomb.SCHWINGE: diff --git a/toolchain/logs b/toolchain/logs index b5d3c55f..9dc02241 160000 --- a/toolchain/logs +++ b/toolchain/logs @@ -1 +1 @@ -Subproject commit b5d3c55f7a6ca83c6c5c03e3e13bd3027cab282b +Subproject commit 9dc02241b1a742d5ebf3ba2fdfa5039bf2b2931a -- cgit v1.2.3 From 3ec364ce867cd9835cc3394e596cf732e8c22da3 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 19 Feb 2013 22:49:00 +0100 Subject: open_issues/fork_deadlock: And again. --- open_issues/fork_deadlock.mdwn | 120 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) diff --git a/open_issues/fork_deadlock.mdwn b/open_issues/fork_deadlock.mdwn index 884ee601..08e53330 100644 --- a/open_issues/fork_deadlock.mdwn +++ b/open_issues/fork_deadlock.mdwn @@ -3444,3 +3444,123 @@ This time, it's our own sigstate, not the global one: (gdb) print _hurd_global_sigstate $1 = (struct hurd_sigstate *) 0x1219808 + + +## 2013-02-19 + +Reproduced the 2013-02-08 findings with Richard's `2.13-39+hurd.rbraun.6` +packages (but doesn't seem related to the issues he's working on), which +includes the hack from the email above, after a GCC build's `make` has been +running for 14.25 h (so very near the end of the build, darn): + + PID UID PPID PGrp Sess TH Vmem RSS %CPU User System Args + 2792 1000 2773 1728 409 2 146M 1.19M 0.0 0:00.20 0:00.80 /bin/dash /home/thomas/tmp/gcc/hurd/master/libatomic/configure --cache-fil + 3839 1000 2792 1728 409 2 146M 532K 0.0 0:00.00 0:00.00 /bin/dash /home/thomas/tmp/gcc/hurd/master/libatomic/configure --cache-fil + 3841 1000 3839 1728 409 2 146M 272K 95.4 4:13.12 5hrs /bin/dash /home/thomas/tmp/gcc/hurd/master/libatomic/configure --cache-fil + + #0 0x0105a87c in swtch_pri () at /home/rbraun/devel/debian/packages/eglibc/eglibc-2.13/build-tree/hurd-i386-libc/mach/swtch_pri.S:2 + No locals. + #1 0x0105c104 in __spin_lock_solid (lock=0x121d00c) at spin-solid.c:27 + No locals. + #2 0x01070f43 in __spin_lock (__lock=) at ../mach/lock-intern.h:55 + No locals. + #3 _hurd_sigstate_lock (ss=0x121d008) at hurdsig.c:174 + No locals. + #4 0x0110e66c in _hurd_critical_section_unlock (our_lock=) at ../hurd/hurd/signal.h:235 + No locals. + #5 __fork () at ../sysdeps/mach/hurd/fork.c:716 + env = {{__jmpbuf = {18694132, 18989000, 134637636, 16926072, 16925700, 17883231}, __mask_was_saved = 0, __saved_mask = 4294967295}} + pid = 0 + err = + __PRETTY_FUNCTION__ = "__fork" + ss = 0x121d008 + threads = 0x0 + nthreads = 0 + stopped = 1 + i = 6 + [...] + (gdb) frame 5 + #5 __fork () at ../sysdeps/mach/hurd/fork.c:716 + warning: Source file is more recent than executable. + 716 _hurd_critical_section_unlock (ss); + (gdb) list + 711 ! symbol_set_end_p (_hurd_fork_locks, p); + 712 ++p) + 713 __mutex_unlock (*p); + 714 } + 715 + 716 _hurd_critical_section_unlock (ss); + 717 + 718 return err ? __hurd_fail (err) : pid; + 719 } + 720 libc_hidden_def (__fork) + (gdb) frame 4 + #4 0x0110e66c in _hurd_critical_section_unlock (our_lock=) at ../hurd/hurd/signal.h:235 + warning: Source file is more recent than executable. + 235 _hurd_sigstate_lock (ss); + (gdb) list + 230 else + 231 { + 232 /* It was us who acquired the critical section lock. Unlock it. */ + 233 struct hurd_sigstate *ss = (struct hurd_sigstate *) our_lock; + 234 sigset_t pending; + 235 _hurd_sigstate_lock (ss); + 236 __spin_unlock (&ss->critical_section_lock); + 237 pending = _hurd_sigstate_pending(ss) & ~ss->blocked; + 238 _hurd_sigstate_unlock (ss); + 239 if (! __sigisemptyset (&pending)) + (gdb) frame 3 + #3 _hurd_sigstate_lock (ss=0x121d008) at hurdsig.c:174 + warning: Source file is more recent than executable. + 174 __spin_lock (&ss->lock); + (gdb) list + 169 void + 170 _hurd_sigstate_lock (struct hurd_sigstate *ss) + 171 { + 172 if (sigstate_is_global_rcv (ss)) + 173 __spin_lock (&_hurd_global_sigstate->lock); + 174 __spin_lock (&ss->lock); + 175 } + 176 void + 177 _hurd_sigstate_unlock (struct hurd_sigstate *ss) + 178 { + (gdb) print _hurd_global_sigstate + $1 = (struct hurd_sigstate *) 0x121d808 + (gdb) print *_hurd_global_sigstate + $2 = {critical_section_lock = 0, lock = 1, thread = 0, next = 0x0, blocked = 4294967295, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, { + __sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, + sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, + sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0x80564f0, + sa_sigaction = 0x80564f0}, sa_mask = 4294967295, sa_flags = 0}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} }, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} }, suspended = 0, intr_port = 0, + context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print ss + $3 = (struct hurd_sigstate *) 0x121d008 + (gdb) print *ss + $4 = {critical_section_lock = 1, lock = 1, thread = 73, next = 0x1227808, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = 0, sa_flags = 2}, {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, + sa_mask = 0, sa_flags = 2} }, sigaltstack = {ss_sp = 0x0, ss_size = 0, ss_flags = 0}, preemptors = 0x0, + pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} , {exc = 0, exc_code = 19025712, + exc_subcode = 85056, code = 1, error = 17257936}, {exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} }, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + (gdb) print ss->next + $5 = (struct hurd_sigstate *) 0x1227808 + (gdb) print *ss->next + $6 = {critical_section_lock = 0, lock = 0, thread = 76, next = 0x0, blocked = 0, pending = 0, actions = {{__sigaction_handler = { + sa_handler = 0, sa_sigaction = 0}, sa_mask = 0, sa_flags = 2} }, sigaltstack = {ss_sp = 0x0, ss_size = 0, + ss_flags = 0}, preemptors = 0x0, pending_data = {{exc = 0, exc_code = 0, exc_subcode = 0, code = 0, error = 0} }, + suspended = 0, intr_port = 0, context = 0x0, active_resources = 0x0, cancel = 0, cancel_hook = 0} + +So again, it's our own sigstate that already is locked, not the global one. -- cgit v1.2.3