From dd741bbd6f26872c67abdc53393c19fb345fa845 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 11 Oct 2011 14:26:02 +0200 Subject: open_issues/binutils: Update. --- open_issues/binutils.mdwn | 6 +++--- open_issues/binutils/log_build.diff | 14 +++++++------- open_issues/binutils/log_install.diff | 4 ++-- open_issues/binutils/sum.diff | 28 ++++++++++++++-------------- open_issues/binutils/sum_hurd | 16 ++++++++++------ open_issues/binutils/sum_linux | 16 ++++++++++------ 6 files changed, 46 insertions(+), 38 deletions(-) (limited to 'open_issues') diff --git a/open_issues/binutils.mdwn b/open_issues/binutils.mdwn index 7c57fd1e..b86ed607 100644 --- a/open_issues/binutils.mdwn +++ b/open_issues/binutils.mdwn @@ -30,8 +30,8 @@ though, as explained below. # Configuration -Last reviewed up to the [[Git mirror's 135f49b244f3af59a209b29b3c9cd7c9170c6857 -(2011-10-08) sources|source_repositories/binutils]]. +Last reviewed up to the [[Git mirror's 066f3707e988b24f8f39d01f105662a814c0979a +(2011-10-11) sources|source_repositories/binutils]]. * Globally @@ -108,7 +108,7 @@ Last reviewed up to the [[Git mirror's 135f49b244f3af59a209b29b3c9cd7c9170c6857 # Build Here's a log of a binutils build run; this is from our [[Git repository's -135f49b244f3af59a209b29b3c9cd7c9170c6857 (2011-10-08) +11637a710adc7baea102d0ef5975b7a92b07aea1 (2011-10-11) sources|source_repositories/binutils]], run on kepler.SCHWINGE and coulomb.SCHWINGE. diff --git a/open_issues/binutils/log_build.diff b/open_issues/binutils/log_build.diff index 3afacefa..79172cf6 100644 --- a/open_issues/binutils/log_build.diff +++ b/open_issues/binutils/log_build.diff @@ -1,5 +1,5 @@ ---- /dev/fd/63 2011-10-08 14:51:48.251407901 +0200 -+++ /dev/fd/62 2011-10-08 14:51:48.251407901 +0200 +--- /dev/fd/63 2011-10-11 14:23:15.275568065 +0200 ++++ /dev/fd/62 2011-10-11 14:23:15.275568065 +0200 @@ -276,12 +276,12 @@ checking for sys/sysinfo.h... yes checking for machine/hal_sysinfo.h... no @@ -214,7 +214,7 @@ checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes -@@ -2471,7 +2450,7 @@ +@@ -2473,7 +2452,7 @@ checking for BSD- or MS-compatible name lister (nm)... nm checking the name lister (nm) interface... BSD nm checking whether ln -s works... yes @@ -223,7 +223,7 @@ checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking for ld option to reload object files... -r -@@ -2492,7 +2471,7 @@ +@@ -2494,7 +2473,7 @@ checking if gcc-4.6 supports -c -o file.o... (cached) yes checking whether the gcc-4.6 linker (ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no @@ -232,7 +232,7 @@ checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes -@@ -2508,7 +2487,7 @@ +@@ -2510,7 +2489,7 @@ checking if g++-4.6 supports -c -o file.o... yes checking if g++-4.6 supports -c -o file.o... (cached) yes checking whether the g++-4.6 linker (ld) supports shared libraries... yes @@ -241,7 +241,7 @@ checking how to hardcode library paths into programs... immediate checking whether NLS is requested... yes checking for catalogs to be installed... bg da es fi fr ga id ja sv tr vi zh_CN zh_TW -@@ -2588,13 +2567,13 @@ +@@ -2590,13 +2569,13 @@ /bin/dash ../../master/ld/../ylwrap ../../master/ld/ldgram.y y.tab.c ldgram.c y.tab.h ldgram.h y.output ldgram.output -- bison -y -d updating ldgram.h (echo "/* This file is automatically generated. DO NOT EDIT! */";\ @@ -257,7 +257,7 @@ | sed -e 's/ e/ ld/g' -e 's/ ld/ /g' -e 's/[.]o//g'`; do \ echo " &ld_${f}_emulation, \\"; \ done;\ -@@ -2708,17 +2687,11 @@ +@@ -2710,17 +2689,11 @@ gcc-4.6 -DHAVE_CONFIG_H -I. -I../../master/ld -I. -I../../master/ld -I../bfd -I../../master/ld/../bfd -I../../master/ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"[...]/hurd/master.build.install/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT plugin.o -MD -MP -MF .deps/plugin.Tpo -c -o plugin.o ../../master/ld/plugin.c mv -f .deps/plugin.Tpo .deps/plugin.Po cp ../../master/ld/emultempl/astring.sed stringify.sed diff --git a/open_issues/binutils/log_install.diff b/open_issues/binutils/log_install.diff index f36d60bc..27dff188 100644 --- a/open_issues/binutils/log_install.diff +++ b/open_issues/binutils/log_install.diff @@ -1,5 +1,5 @@ ---- /dev/fd/63 2011-10-08 14:52:01.191179108 +0200 -+++ /dev/fd/62 2011-10-08 14:52:01.195179038 +0200 +--- /dev/fd/63 2011-10-11 14:23:22.899444227 +0200 ++++ /dev/fd/62 2011-10-11 14:23:22.903444162 +0200 @@ -68,7 +68,6 @@ libtool: install: /usr/bin/install -c .libs/libbfd.a [...]/hurd/master.build.install/lib/libbfd.a libtool: install: chmod 644 [...]/hurd/master.build.install/lib/libbfd.a diff --git a/open_issues/binutils/sum.diff b/open_issues/binutils/sum.diff index c1f84230..a466b82c 100644 --- a/open_issues/binutils/sum.diff +++ b/open_issues/binutils/sum.diff @@ -1,9 +1,9 @@ ---- open_issues/binutils/sum_linux 2011-10-08 14:52:12.000000000 +0200 -+++ open_issues/binutils/sum_hurd 2011-10-08 14:40:33.000000000 +0200 +--- open_issues/binutils/sum_linux 2011-10-11 14:23:39.000000000 +0200 ++++ open_issues/binutils/sum_hurd 2011-10-11 14:23:33.000000000 +0200 @@ -1,5 +1,5 @@ --Test Run By thomas on Sat Oct 8 14:48:06 2011 +-Test Run By thomas on Tue Oct 11 14:12:56 2011 -Native configuration is i686-pc-linux-gnu -+Test Run By thomas on Sat Oct 8 12:49:14 2011 ++Test Run By thomas on Tue Oct 11 13:36:51 2011 +Native configuration is i686-unknown-gnu0.3 === binutils tests === @@ -12,9 +12,9 @@ # of expected passes 90 # of unsupported tests 3 --Test Run By thomas on Sat Oct 8 14:48:25 2011 +-Test Run By thomas on Tue Oct 11 14:13:19 2011 -Native configuration is i686-pc-linux-gnu -+Test Run By thomas on Sat Oct 8 12:51:06 2011 ++Test Run By thomas on Tue Oct 11 13:38:54 2011 +Native configuration is i686-unknown-gnu0.3 === ld tests === @@ -34,7 +34,7 @@ Running [...]/hurd/master/ld/testsuite/ld-elf/exclude.exp ... PASS: ld link shared library PASS: ld export symbols from archive -@@ -588,8 +588,8 @@ Running [...]/hurd/master/ld/testsuite/l +@@ -592,8 +592,8 @@ Running [...]/hurd/master/ld/testsuite/l PASS: ELF DSO weak func last DSO PASS: ELF weak func first PASS: ELF weak func last @@ -45,7 +45,7 @@ PASS: ELF DSO weak data first PASS: ELF DSO weak data last PASS: ELF DSO weak data first DSO -@@ -600,10 +600,10 @@ Running [...]/hurd/master/ld/testsuite/l +@@ -604,10 +604,10 @@ Running [...]/hurd/master/ld/testsuite/l PASS: ELF weak data last PASS: ELF weak data first common PASS: ELF weak data last common @@ -60,20 +60,20 @@ PASS: ELF DSO small bar (size) PASS: ELF DSO foo with small bar (size) PASS: ELF DSO big bar (size) -@@ -935,13 +935,13 @@ Running [...]/hurd/master/ld/testsuite/l +@@ -939,13 +939,13 @@ Running [...]/hurd/master/ld/testsuite/l === ld Summary === --# of expected passes 667 +-# of expected passes 671 -# of expected failures 8 -+# of expected passes 657 ++# of expected passes 661 +# of expected failures 18 # of untested testcases 6 - [...]/hurd/master.build/ld/ld-new 2.22.51.20111008 + [...]/hurd/master.build/ld/ld-new 2.22.51.20111011 --Test Run By thomas on Sat Oct 8 14:48:11 2011 +-Test Run By thomas on Tue Oct 11 14:13:02 2011 -Native configuration is i686-pc-linux-gnu -+Test Run By thomas on Sat Oct 8 12:49:38 2011 ++Test Run By thomas on Tue Oct 11 13:37:18 2011 +Native configuration is i686-unknown-gnu0.3 === gas tests === diff --git a/open_issues/binutils/sum_hurd b/open_issues/binutils/sum_hurd index dc6fc8e0..7d12b17f 100644 --- a/open_issues/binutils/sum_hurd +++ b/open_issues/binutils/sum_hurd @@ -1,4 +1,4 @@ -Test Run By thomas on Sat Oct 8 12:49:14 2011 +Test Run By thomas on Tue Oct 11 13:36:51 2011 Native configuration is i686-unknown-gnu0.3 === binutils tests === @@ -122,7 +122,7 @@ Running [...]/hurd/master/binutils/testsuite/binutils-all/x86-64/x86-64.exp ... # of expected passes 90 # of unsupported tests 3 -Test Run By thomas on Sat Oct 8 12:51:06 2011 +Test Run By thomas on Tue Oct 11 13:38:54 2011 Native configuration is i686-unknown-gnu0.3 === ld tests === @@ -395,6 +395,9 @@ PASS: Build libpr9676-4a.so PASS: Build libpr9679.so PASS: Build libpr11138-1.so PASS: Build libpr11138-2.o +PASS: Build pr13250-1.so +PASS: Build pr13250-2.so with libpr13250-1.so +PASS: Build libpr13250-3.o PASS: Run normal with libfoo.so PASS: Run protected with libfoo.so PASS: Run hidden with libfoo.so @@ -435,6 +438,7 @@ PASS: Run with libfunc1.so comm1.o PASS: Run with comm1.o libfunc1.so PASS: Run with pr11138-2.c libpr11138-1.so PASS: Run with libpr11138-1.so pr11138-2.c +PASS: Run with pr13250-3.c, libpr13250-1.so and libpr13250-2.so PASS: Build libdl3a.so with --dynamic-list=dl3.list PASS: Build libdl3b.so with -Bsymbolic PASS: Build libdl3a.so with --dynamic-list-cpp-typeinfo @@ -935,12 +939,12 @@ Running [...]/hurd/master/ld/testsuite/ld-xtensa/xtensa.exp ... === ld Summary === -# of expected passes 657 +# of expected passes 661 # of expected failures 18 # of untested testcases 6 -[...]/hurd/master.build/ld/ld-new 2.22.51.20111008 +[...]/hurd/master.build/ld/ld-new 2.22.51.20111011 -Test Run By thomas on Sat Oct 8 12:49:38 2011 +Test Run By thomas on Tue Oct 11 13:37:18 2011 Native configuration is i686-unknown-gnu0.3 === gas tests === @@ -1412,5 +1416,5 @@ Running [...]/hurd/master/gas/testsuite/gas/z8k/z8k.exp ... === gas Summary === # of expected passes 346 -../as-new 2.22.51.20111008 +../as-new 2.22.51.20111011 diff --git a/open_issues/binutils/sum_linux b/open_issues/binutils/sum_linux index 04664afb..f765b983 100644 --- a/open_issues/binutils/sum_linux +++ b/open_issues/binutils/sum_linux @@ -1,4 +1,4 @@ -Test Run By thomas on Sat Oct 8 14:48:06 2011 +Test Run By thomas on Tue Oct 11 14:12:56 2011 Native configuration is i686-pc-linux-gnu === binutils tests === @@ -122,7 +122,7 @@ Running [...]/hurd/master/binutils/testsuite/binutils-all/x86-64/x86-64.exp ... # of expected passes 90 # of unsupported tests 3 -Test Run By thomas on Sat Oct 8 14:48:25 2011 +Test Run By thomas on Tue Oct 11 14:13:19 2011 Native configuration is i686-pc-linux-gnu === ld tests === @@ -395,6 +395,9 @@ PASS: Build libpr9676-4a.so PASS: Build libpr9679.so PASS: Build libpr11138-1.so PASS: Build libpr11138-2.o +PASS: Build pr13250-1.so +PASS: Build pr13250-2.so with libpr13250-1.so +PASS: Build libpr13250-3.o PASS: Run normal with libfoo.so PASS: Run protected with libfoo.so PASS: Run hidden with libfoo.so @@ -435,6 +438,7 @@ PASS: Run with libfunc1.so comm1.o PASS: Run with comm1.o libfunc1.so PASS: Run with pr11138-2.c libpr11138-1.so PASS: Run with libpr11138-1.so pr11138-2.c +PASS: Run with pr13250-3.c, libpr13250-1.so and libpr13250-2.so PASS: Build libdl3a.so with --dynamic-list=dl3.list PASS: Build libdl3b.so with -Bsymbolic PASS: Build libdl3a.so with --dynamic-list-cpp-typeinfo @@ -935,12 +939,12 @@ Running [...]/hurd/master/ld/testsuite/ld-xtensa/xtensa.exp ... === ld Summary === -# of expected passes 667 +# of expected passes 671 # of expected failures 8 # of untested testcases 6 -[...]/hurd/master.build/ld/ld-new 2.22.51.20111008 +[...]/hurd/master.build/ld/ld-new 2.22.51.20111011 -Test Run By thomas on Sat Oct 8 14:48:11 2011 +Test Run By thomas on Tue Oct 11 14:13:02 2011 Native configuration is i686-pc-linux-gnu === gas tests === @@ -1412,5 +1416,5 @@ Running [...]/hurd/master/gas/testsuite/gas/z8k/z8k.exp ... === gas Summary === # of expected passes 346 -../as-new 2.22.51.20111008 +../as-new 2.22.51.20111011 -- cgit v1.3.1 From f3301b5b6d825c476d52c8c1b194e431c97e8dc0 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 11 Oct 2011 18:46:31 +0200 Subject: open_issues/glibc: Update. --- open_issues/glibc.mdwn | 82 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 65 insertions(+), 17 deletions(-) (limited to 'open_issues') diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index d8e16cdf..be262261 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -27,8 +27,8 @@ Here's what's to be done for maintaining glibc. # Configuration -Last reviewed up to the [[Git mirror's 16292eddd77f66002e2104848e75a0fb4d316692 -(2011-08-04) sources|source_repositories/glibc]]. +Last reviewed up to the [[Git mirror's 187da0aedcd9d0a2fb34477bef41549681ba1273 +(2011-10-08) sources|source_repositories/glibc]]. * t/dup3 @@ -45,6 +45,14 @@ Last reviewed up to the [[Git mirror's 16292eddd77f66002e2104848e75a0fb4d316692 Have to revert 53b56b1101fc9bb4f295f23f54e7e19f8da8da16 to keep it working with GCC 4.4. Figure out what's going on. Also see [[glibc_init_first]]. + There is a `RETURN_ADDRESS` macro in glibc. + + * `t/kernel-features.h_includes` + + Before running `tg update`, review for additional changes: + + $ git log --reverse --pretty=fuller --stat=$COLUMNS,$COLUMNS -p -C --cc -S__ASSUME_ top-bases/t/kernel-features.h_includes..baseline + * t/tls * Discuss d2431f633e6139a62e1575ec18830f7e81160cf0 with Samuel. @@ -163,10 +171,27 @@ Last reviewed up to the [[Git mirror's 16292eddd77f66002e2104848e75a0fb4d316692 Do we support `AT_FDCWD` et al.? - * `MAP_POPULATE` (`mmap`, `sys/mman.h`) + * `MAP_POPULATE` (`mmap`, `sys/mman.h`) -- *Populate (prefault) + pagetables.* + + Some Linux kernel version, `mm/mmap.c`: + + if (vm_flags & VM_LOCKED) { + if (!mlock_vma_pages_range(vma, addr, addr + len)) + mm->locked_vm += (len >> PAGE_SHIFT); + } else if ((flags & MAP_POPULATE) && !(flags & MAP_NONBLOCK)) + make_pages_present(addr, addr + len); + return addr; + + `t/mmap`. Is only advisory, so can worked around with `#define 0`. + * `t/opendirat`: `opendirat` (`scandirat`, `scandirat64`) + + Need changes equivalent to c55fbd1ea768f9fdef34a01377702c0d72cbc213 + + 14d96785125abee5e9a49a1c3037f35a581750bd. + * Building with GCC 4.5, 4.6, trunk will cause different kinds of faults. * Create `t/cleanup_kernel-features.h`. @@ -197,6 +222,8 @@ Last reviewed up to the [[Git mirror's 16292eddd77f66002e2104848e75a0fb4d316692 install`, prepending an additional slash to `install_root` (that is, `install_root=//[...]`) is enough to obfuscate the Makefile rules. + * `sysdeps/unix/sysv/linux/syslog.c` + * Verify baseline changes, if we need any follow-up changes: * a11ec63713ea3903c482dc907a108be404191a02 @@ -305,25 +332,50 @@ Last reviewed up to the [[Git mirror's 16292eddd77f66002e2104848e75a0fb4d316692 * d30cf5bb00bfb286ff14d931fb69f5b53724bcdc (`Find readelf with AC_CHECK_TOOL`). Aren't there more in other configure.in and Makefile files? - * 574920b446870648623a85e00dd8f3ca9f482c0e (`Rewrite -z relro configure - check`) + defe906180bad4e356bb55b60b10abd41b7ee3a1 + - 9fa2c03227e159050e9dc4ec1e315e5909901580. Watch what happens. Native - build: OK, `yes` (as before). - * 5c55070081c27168d27145afdf6a92cd56c9abb3 (`linker - --print-output-format`). Watch what happens. Native build: OK, - `elf32-i386`. * 7a03a9c8c4b37b88ac5e82b557d974f3161ddaf9 (`Add read barriers in cancellation initialization`). Is this needed in other places, too? + * [low] 5744c68d78f6ca6c6500e2c8d3d85b3a31f4ed2a (`Align x86 TCB to 64 + bytes`). Probably we have hidden somewhere such a constant, too (in + libpthread). + * d96de9634a334af16c0ac711074c15ac1762b23c + + ecb1482ffd85fd3279642b1dc045aa867ad4d415 (`Try shell in posix_spawn* + only in compat mode`). Change looks good, but what about + `SPAWN_XFLAGS_TRY_SHELL` for us? + * 3ce1f2959437e952b9db4eaeed2407424f11a4d1 (`Make several tool features + mandatory and simplify the code.`). Generally looks good. + * `locale/global-locale.c`: Apparently, no one is using + `_HURD_THREADVAR_LOCALE`. But it is exported via + `hurd/threadvar.h`. + * `mach/devstream.c`: reversed. Fixed in + `t/repair-mach_devstream.c`. + * `malloc/arena.c`: should be OK. + * `Remove support for !USE___THREAD`. + d063d164335938d557460bebaa7cfe388157b627 (generally looks good; + `csu/errno-loc.c` (should be OK); `include/errno.h` (fixed)) + + (de82006d43e198fd162807c9adc720c7ebd728a3 + + 037e9fe21c92216ef7032ea2796781ec27ca182a) + + 995a80dfbcb443ead5aa22682c884ec5c827a2ea (discussing) + + bc7e1c3667b577ad418f7520df2a7dbccea04ee9 (should be ok). + * [OK] 22a89187139a9083ca73989bfd11597e0f85cb61 (`malloc: Remove all + kinds of unused configuration options and dead code.`). `NO_STARTER` + changes (should be OK). + * [OK] 02d46fc4b969e25e4ba0c54aa95fa98d7279bd05 (`Simplify malloc + initialization`). + * [OK] 83cd14204559abbb52635006832eaf4d2f42514a (`Remove --wth-tls + option, TLS support is required`). + * a7c8e6a1478de9f990b11e5e853318ccbe4330f2 (`Fix invalid conversion in + __cmsg_nxthdr`). Probably just a C++ thing and not relevant for us; + see [[message-id "87r52nk1kx.fsf@kepler.schwinge.homeip.net"]]. # Build Here's a log of a glibc build run; this is from our [[Git repository's -443c5bb99e82ffd8e42e85b4f26992177ba868dc (2011-09-26; 2011-08-04) +8cb1875ef1e3211ec133d8eea328dbe59538c2a7 (2011-10-11) sources|source_repositories/glibc]], run on coulomb.SCHWINGE. $ export LC_ALL=C - $ ../Roger_Whittaker/configure AUTOCONF=: --without-cvs --prefix=/usr --disable-profile --disable-multi-arch --build=i486-gnu --host=i486-gnu CC=gcc-4.4 CXX=g++-4.4 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.4 CXX=g++-4.4 2>&1 | tee log_build [...] $ make install_root=/INVALID 2>&1 | tee log_build_ [...] @@ -376,7 +428,7 @@ TODO. $ make -k install_root=/INVALID check 2>&1 | tee log_check [...] -This needs roughly 50 min on coulomb.SCHWINGE. +This needs roughly 55 min on coulomb.SCHWINGE.