From a65f14df8e3d93f71acf276fb0773d6557b9fbab Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Tue, 20 Mar 2012 22:44:34 +0100 Subject: IRC bits. --- open_issues/boehm_gc.mdwn | 11 +++++++++++ open_issues/glibc.mdwn | 2 ++ open_issues/wayland.mdwn | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 open_issues/wayland.mdwn (limited to 'open_issues') diff --git a/open_issues/boehm_gc.mdwn b/open_issues/boehm_gc.mdwn index e7f849f2..ca2063a5 100644 --- a/open_issues/boehm_gc.mdwn +++ b/open_issues/boehm_gc.mdwn @@ -321,3 +321,14 @@ It has last been run and compared on 2010-11-10, based on CVS HEAD sources from hmm... apparently enabling MMAP_ANON in mono's libgc copy was a good step, let's see + + +### IRC, OFTC, #debian-hurd, 2012-03-18 + + youpi: mono is afflicted by the SIGUSR1/2 conflict with libgc + pinotree: didn't we have a solution for that? + well, it works just for one signal + the ideal solution would be having a range for RT signals, and + make libgc use RTMIN+5/6, like done on most of other OSes + but we don't have RT signals, do we? + right :( diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index 3160c86f..943f44bb 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -210,6 +210,8 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 * `sys/epoll.h` + Used by [[wayland]], for example. + * `sys/eventfd.h` * `sys/inotify.h` diff --git a/open_issues/wayland.mdwn b/open_issues/wayland.mdwn new file mode 100644 index 00000000..67f78b1d --- /dev/null +++ b/open_issues/wayland.mdwn @@ -0,0 +1,33 @@ +[[!meta copyright="Copyright © 2012 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 +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!tag open_issue_porting]] + +IRC, freenode, #hurd, 2012-03-18: + + Wayland should be very portable. all the system dependencies are + in the infrastructure, such as DRI + we have had a DRI task (for X.Org) for years + (in fact I would be the right person to implement this, + considering my background -- by quite frankly, I doubt I'll ever do it) + http://xorg.freedesktop.org/wiki/Hurd_Porting + +IRC, freenode, #hurd, 2012-03-20: + + Is wayland something that will be semi-easy to port to the + hurd? I saw GNOME is heading in this direction. + wayland at the moment is linux only + youlysses: A DRI implementation will be needed. + that, and libdrm compiling + So it will take some work ... but theres no *HUGE* design + decison that would inhibit it? + i know it uses epoll, for instance + youlysses: I cannot judge how complex a DRI system is, and how + much needs to be designed vs. implemented. -- cgit v1.2.3 From f76a460375e906ad20de197c506ff47b42dc6b94 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 21 Mar 2012 16:22:59 +0100 Subject: glibc/mmap: New. --- glibc.mdwn | 6 ++- glibc/mmap.mdwn | 82 ++++++++++++++++++++++++++++++++++++++++ open_issues/git_nfs_mmap.mdwn | 9 ++++- open_issues/libnetfs_io_map.mdwn | 15 +++++++- 4 files changed, 107 insertions(+), 5 deletions(-) create mode 100644 glibc/mmap.mdwn (limited to 'open_issues') diff --git a/glibc.mdwn b/glibc.mdwn index dad3c427..701b7bfc 100644 --- a/glibc.mdwn +++ b/glibc.mdwn @@ -1,5 +1,5 @@ -[[!meta copyright="Copyright © 2007, 2008, 2010, 2011 Free Software Foundation, -Inc."]] +[[!meta copyright="Copyright © 2007, 2008, 2010, 2011, 2012 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 @@ -78,6 +78,8 @@ Some of these are well-known as [[UNIX]] [[system call]]s. * [[fork]] + * [[mmap]] + * [[poll]] diff --git a/glibc/mmap.mdwn b/glibc/mmap.mdwn new file mode 100644 index 00000000..d0c492e9 --- /dev/null +++ b/glibc/mmap.mdwn @@ -0,0 +1,82 @@ +[[!meta copyright="Copyright © 2012 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 +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +There are two implementations of `mmap` for GNU Hurd: +`sysdeps/mach/hurd/mmap.c` (main implementation) and +`sysdeps/mach/hurd/dl-sysdep.c` (*Minimal mmap implementation sufficient for +initial loading of shared libraries.*). + + * `MAP_COPY` + + What exactly is that? `elf/dl-load.c` has some explanation. + + + It is only handled in `dl-sysdep.c`, when `flags & (MAP_COPY|MAP_PRIVATE)` + is used for `vm_map`'s `copy` parameter, and `mmap.c` uses `! (flags & + MAP_SHARED)` instead. + + +# `io_map` Failure + +[[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. + +[[!tag open_issue_glibc]] + +Review of `mmap` usage in generic bits of glibc, based on +a1bcbd4035ac2483dc10da150d4db46f3e1744f8 (2012-03-11), listing these cases +where failure (due to `io_map` failing; that is, invocations where a `fd` is +passed) is not properly handled. + +`catgets/open_catalog.c`, `iconv/gconv_cache.c`, `intl/loadmsgcat.c`, +`locale/loadlocale.c` have fallback code for the `MAP_FAILED` case. + +[[tschwinge]]'s current plan is to make the following cases do the same (if +that is possible); probably by introducing a generic `mmap_or_read` function, +that first tries `mmap` (and that will succeed on Linux-based systems and also +on Hurd-based, if it's backed by [[hurd/libdiskfs]]), and if that fails tries +`mmap` on anonymous memory and then fills it by `read`ing the required data -- +but this would probably means all :-/ `PT_LOAD` segments for the ELF case? In +parallel, it should be researched how Linux (or any other kernel) implements +`mmap` on NFS and similar file systems, and then implement the same in +[[hurd/libnetfs]]/[[hurd/translator/nfs]]. + + * `elf/cache.c` + + * `elf/dl-load.c` + + * `elf/dl-misc.c` + + * `elf/dl-profile.c` + + * `elf/readlib.c` + + * `elf/sprof.c` + + * `locale/loadarchive.c` + + * `locale/programs/locale.c` + + * `locale/programs/locarchive.c` + + * `nscd/connections.c` + + * `nscd/nscd_helper.c` + + * `nss/makedb.c` + + * `nss/nss_db/db-open.c` + + * Omitted: + + * `nptl/` + + * `sysdeps/unix/sparc/` + + * `sysdepts/unix/sysv/linux/` diff --git a/open_issues/git_nfs_mmap.mdwn b/open_issues/git_nfs_mmap.mdwn index b7e86491..21067022 100644 --- a/open_issues/git_nfs_mmap.mdwn +++ b/open_issues/git_nfs_mmap.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2011, 2012 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 @@ -8,7 +8,7 @@ Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU Free Documentation License|/fdl]]."]]"""]] -[[!tag open_issue_hurd open_issue_porting]] +[[!tag open_issue_porting]] $ git-new-workdir /media/kepler-data/home/thomas/tmp/source/binutils/git master master fatal: Out of memory? mmap failed: No such device @@ -46,3 +46,8 @@ fails, and it isn't prepared to cope with that: 64->proc_mark_exit_request (32768 0) = 0 task3741-> 2008 () = 0 Child 3741 exited with 128 + +This is the [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. + +There is a `NO_MMAP` conditional in Git's source code, but it is a compile-time +conditional. diff --git a/open_issues/libnetfs_io_map.mdwn b/open_issues/libnetfs_io_map.mdwn index b340de90..9a6d8167 100644 --- a/open_issues/libnetfs_io_map.mdwn +++ b/open_issues/libnetfs_io_map.mdwn @@ -12,7 +12,16 @@ License|/fdl]]."]]"""]] [[!tag open_issue_hurd]] -This hampers [[hurd/translator/nfs]] usability, for example. +This hampers [[hurd/translator/nfs]] usability, for example: + + $ fsysopts ./ + /hurd/nfs [...] + $ cp -a /bin/true ./ + cp: failed to preserve authorship for `./true': Operation not supported + $ ./true + $ /lib/ld.so /bin/true + $ /lib/ld.so $PWD/true + [...]/true: error while loading shared libraries: [...]/true: failed to map segment from shared object: Error 1073741869 IRC, freenode, #hurd, 2012-03-14: @@ -28,3 +37,7 @@ IRC, freenode, #hurd, 2012-03-14: for network file systems which is why it doesn't have it the GCS says "thou shall not require mmap" ;-) + + * [[glibc/mmap]] + + * -- cgit v1.2.3 From cb6ca5492c68fcdb3a5535272c43f1759736f1c3 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Wed, 21 Mar 2012 16:55:14 +0100 Subject: hurd/running/nixos -> hurd/running/nix. As per id:"87haxiaty9.fsf@gnu.org". --- contributing/web_pages/news/moth_next.mdwn | 6 +++--- hurd/running/distrib.mdwn | 1 + hurd/running/nix.mdwn | 19 +++++++++++++++++++ hurd/running/nixos.mdwn | 19 ------------------- hurd/running/qemu.mdwn | 2 +- hurd/status.mdwn | 6 +++--- open_issues/nightly_builds.mdwn | 2 +- 7 files changed, 28 insertions(+), 27 deletions(-) create mode 100644 hurd/running/nix.mdwn delete mode 100644 hurd/running/nixos.mdwn (limited to 'open_issues') diff --git a/contributing/web_pages/news/moth_next.mdwn b/contributing/web_pages/news/moth_next.mdwn index 7f3eeae0..e6f7147a 100644 --- a/contributing/web_pages/news/moth_next.mdwn +++ b/contributing/web_pages/news/moth_next.mdwn @@ -25,9 +25,9 @@ This quarter, Ludovic Courtès contributed a [continuously-built Nix-based QEMU image](http://lists.gnu.org/archive/html/bug-hurd/2011-11/msg00042.html), raising the count of GNU/Hurd distributions to three: [[Debian GNU/Hurd|hurd/running/debian]], [[hurd/running/Arch_Hurd]], and now -[[hurd/running/NixOS]]. His build is still pretty basic, but a step into the -right direction: [[!wikipedia "continuous integration"]] is a great feature for -automated testing. +[[hurd/running/Nix]]. His build is still pretty basic, but a step into the +right direction: [[!wikipedia "continuous integration"]] is a great facility +for automated testing. Samuel Thibault followed suit with a [new Debian GNU/Hurd disk set](http://lists.debian.org/debian-hurd/2011/12/msg00095.html) as a christmas diff --git a/hurd/running/distrib.mdwn b/hurd/running/distrib.mdwn index 90211e34..befb015d 100644 --- a/hurd/running/distrib.mdwn +++ b/hurd/running/distrib.mdwn @@ -5,6 +5,7 @@ Working distributions of GNU/Hurd: GNU/Hurd distributions in early stages of development: * [[Arch|arch_hurd]] (features a LiveCD) +* [[Nix]] * [[Gentoo]] * [[GNU]] diff --git a/hurd/running/nix.mdwn b/hurd/running/nix.mdwn new file mode 100644 index 00000000..92e5459a --- /dev/null +++ b/hurd/running/nix.mdwn @@ -0,0 +1,19 @@ +[[!meta copyright="Copyright © 2012 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 +document under the terms of the GNU Free Documentation License, Version 1.2 or +any later version published by the Free Software Foundation; with no Invariant +Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license +is included in the section entitled [[GNU Free Documentation +License|/fdl]]."]]"""]] + +[[!meta title="Nix-based GNU/Hurd System"]] + + + + * + + * + + * diff --git a/hurd/running/nixos.mdwn b/hurd/running/nixos.mdwn deleted file mode 100644 index 2fa44ede..00000000 --- a/hurd/running/nixos.mdwn +++ /dev/null @@ -1,19 +0,0 @@ -[[!meta copyright="Copyright © 2012 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 -document under the terms of the GNU Free Documentation License, Version 1.2 or -any later version published by the Free Software Foundation; with no Invariant -Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license -is included in the section entitled [[GNU Free Documentation -License|/fdl]]."]]"""]] - -[[!meta title="NixOS"]] - - - - * - - * - - * diff --git a/hurd/running/qemu.mdwn b/hurd/running/qemu.mdwn index ee1574b7..fcf58d8a 100644 --- a/hurd/running/qemu.mdwn +++ b/hurd/running/qemu.mdwn @@ -20,7 +20,7 @@ You can use the following images to give the GNU/Hurd a try. [[!inline pages=hurd/running/debian/qemu_image raw=yes feeds=no]] -## [[NixOS]] +## [[Nix]] ## Unofficial Images diff --git a/hurd/status.mdwn b/hurd/status.mdwn index 87de1349..f8977343 100644 --- a/hurd/status.mdwn +++ b/hurd/status.mdwn @@ -1,5 +1,5 @@ -[[!meta copyright="Copyright © 2001, 2002, 2007, 2008, 2009, 2010, 2011 Free -Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2001, 2002, 2007, 2008, 2009, 2010, 2011, 2012 +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 @@ -65,7 +65,7 @@ was published on 2012 February 21st. [[Arch_Hurd|hurd/running/arch_hurd]] offers *LiveCDs* for testing and install. -[[Nix|hurd/running/qemu]] provides qemu images. +[[hurd/running/Nix]] provides QEMU images. That said, the last official release of the Hurd without the Debian parts was 0.2 done in 1997. diff --git a/open_issues/nightly_builds.mdwn b/open_issues/nightly_builds.mdwn index b1097dc1..167e7375 100644 --- a/open_issues/nightly_builds.mdwn +++ b/open_issues/nightly_builds.mdwn @@ -14,7 +14,7 @@ automatic [[unit_testing]] on them. Resources: - * [[hurd/running/NixOS]] + * [[hurd/running/Nix]] * [[toolchain/cross-gnu]] -- cgit v1.2.3 From 856828a41e77f84fc23180791cbfb0ec85d943e2 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 24 Mar 2012 21:43:25 +0100 Subject: glibc/mmap: Expand. --- glibc/mmap.mdwn | 30 +++++++++++++++++++++++------- open_issues/libnetfs_io_map.mdwn | 5 ++--- 2 files changed, 25 insertions(+), 10 deletions(-) (limited to 'open_issues') diff --git a/glibc/mmap.mdwn b/glibc/mmap.mdwn index d0c492e9..09b0b65d 100644 --- a/glibc/mmap.mdwn +++ b/glibc/mmap.mdwn @@ -20,12 +20,12 @@ initial loading of shared libraries.*). It is only handled in `dl-sysdep.c`, when `flags & (MAP_COPY|MAP_PRIVATE)` is used for `vm_map`'s `copy` parameter, and `mmap.c` uses `! (flags & - MAP_SHARED)` instead. + MAP_SHARED)` instead, which seems inconsistent? # `io_map` Failure -[[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. +This is the [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] issue. [[!tag open_issue_glibc]] @@ -41,11 +41,27 @@ passed) is not properly handled. that is possible); probably by introducing a generic `mmap_or_read` function, that first tries `mmap` (and that will succeed on Linux-based systems and also on Hurd-based, if it's backed by [[hurd/libdiskfs]]), and if that fails tries -`mmap` on anonymous memory and then fills it by `read`ing the required data -- -but this would probably means all :-/ `PT_LOAD` segments for the ELF case? In -parallel, it should be researched how Linux (or any other kernel) implements -`mmap` on NFS and similar file systems, and then implement the same in -[[hurd/libnetfs]]/[[hurd/translator/nfs]]. +`mmap` on anonymous memory and then fills it by `read`ing the required data. +This is also what the [[hurd/exec]] server is doing (and is the reason that the +`./true` invocation on [[libnetfs: `io_map`|open_issues/libnetfs_io_map]] +works, to my understanding): see `exec.c:prepare`, if `io_map` fails, +`e->filemap == MACH_PORT_NULL`; then `exec.c:map` (as invoked from +`exec.c:load_section`, `exec.c:check_elf`, `exec.c:do_exec`, or +`hashexec.c:check_hashbang`) will use `io_read` instead. + +Doing so potentially means reading in a lot of unused data -- but we probably +can't do any better? + +In parallel (or even alternatively?), it should be researched how Linux (or any +other kernel) implements `mmap` on NFS and similar file systems, and then +implement the same in [[hurd/libnetfs]] and/or [[hurd/translator/nfs]], etc. + +Here, also probably the whole mapping region [has to be +read](http://lists.gnu.org/archive/html/bug-hurd/2001-10/msg00306.html) at +`mmap` time. + +List of files without fallback code for the *`MAP_FAILED` due to `io_map` +failed* case: * `elf/cache.c` diff --git a/open_issues/libnetfs_io_map.mdwn b/open_issues/libnetfs_io_map.mdwn index 9a6d8167..dc6da202 100644 --- a/open_issues/libnetfs_io_map.mdwn +++ b/open_issues/libnetfs_io_map.mdwn @@ -38,6 +38,5 @@ IRC, freenode, #hurd, 2012-03-14: which is why it doesn't have it the GCS says "thou shall not require mmap" ;-) - * [[glibc/mmap]] - - * +. Analysis +to be found on [[glibc/mmap]] page. -- cgit v1.2.3 From ddbd4f782e6cc61d64df6d2049502ecc0eea2073 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Mon, 26 Mar 2012 22:18:23 +0200 Subject: open_issues/performance/degradation: Fix link. --- open_issues/performance/degradation.mdwn | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'open_issues') diff --git a/open_issues/performance/degradation.mdwn b/open_issues/performance/degradation.mdwn index e520ed6a..1aaae4d2 100644 --- a/open_issues/performance/degradation.mdwn +++ b/open_issues/performance/degradation.mdwn @@ -45,7 +45,8 @@ IRC, freenode, #hurd, 2011-09-02: # IRC, freenode, #hurd, 2011-09-22 -See [[/open_issues/pagers]], IRC, freenode, #hurd, 2011-09-22. +See [[/open_issues/resource_management_problems/pagers]], IRC, freenode, #hurd, +2011-09-22. # [[ext2fs_page_cache_swapping_leak]] -- cgit v1.2.3 From da5d3bb6aee5efc2050677125a2ae8c4188434c4 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 30 Mar 2012 21:14:51 +0200 Subject: open_issues/glibc: Samuel's Savannah glibc commits. --- open_issues/glibc.mdwn | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) (limited to 'open_issues') diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index 943f44bb..43d08db1 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -424,6 +424,51 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 d94a4670800de6e8f088b8630ad5142866127980 -- what does it do for us? +# Samuel's Savannah glibc commits + +Just for tracking until [[I|tschwinge]] have added/tested them all. + + * [new branch] t/IPV6_PKTINFO -> savannah/t/IPV6_PKTINFO + * [new branch] t/SOL_IP -> savannah/t/SOL_IP + * [new branch] t/bigmem -> savannah/t/bigmem + * [new branch] t/catch-signal -> savannah/t/catch-signal + * [new branch] t/critical-sections -> savannah/t/critical-sections + * [new branch] t/hurdsig-SA_SIGINFO -> savannah/t/hurdsig-SA_SIGINFO + * [new branch] t/hurdsig-fixes -> savannah/t/hurdsig-fixes + * [new branch] t/hurdsig-fixes-2 -> savannah/t/hurdsig-fixes-2 + * [new branch] t/hurdsig-global-dispositions -> savannah/t/hurdsig-global-dispositions + * [new branch] t/hurdsig-global-dispositions-versions -> savannah/t/hurdsig-global-dispositions-versions + * [new branch] t/ioctl-base-types -> savannah/t/ioctl-base-types + * [new branch] t/ioctl_decode_argument -> savannah/t/ioctl_decode_argument + * [new branch] t/itimer-lock -> savannah/t/itimer-lock + * [new branch] t/libc_stack_end -> savannah/t/libc_stack_end + * [new branch] t/locarchive -> savannah/t/locarchive + * [new branch] t/mach-nanosleep -> savannah/t/mach-nanosleep + * [new branch] t/mkdir_root -> savannah/t/mkdir_root + * [new branch] t/mlock -> savannah/t/mlock + * [new branch] t/no-hp-timing -> savannah/t/no-hp-timing + * [new branch] t/null-pathname -> savannah/t/null-pathname + * [new branch] t/posix2008 -> savannah/t/posix2008 + * [new branch] t/posix_opt.h -> savannah/t/posix_opt.h + * [new branch] t/pthread_types -> savannah/t/pthread_types + * [new branch] t/readlinkat -> savannah/t/readlinkat + * [new branch] t/recvfrom -> savannah/t/recvfrom + * [new branch] t/sbrk -> savannah/t/sbrk + * [new branch] t/select-inputcheck -> savannah/t/select-inputcheck + * [new branch] t/sendmsg-SCM_RIGHTS -> savannah/t/sendmsg-SCM_RIGHTS + * [new branch] t/setresid -> savannah/t/setresid + * [new branch] t/socket_server_indexcheck -> savannah/t/socket_server_indexcheck + * [new branch] t/symlink_dealloc -> savannah/t/symlink_dealloc + * [new branch] t/sysvshm -> savannah/t/sysvshm + * [new branch] t/thread-cancel -> savannah/t/thread-cancel + * [new branch] t/ttyname_ERANGE -> savannah/t/ttyname_ERANGE + * [new branch] t/unlockpt-chroot -> savannah/t/unlockpt-chroot + * [new branch] t/unwind-resume -> savannah/t/unwind-resume + * [new branch] tg/dup3-lock -> savannah/tg/dup3-lock + d740cf9..5514f50 tschwinge/Roger_Whittaker -> savannah/tschwinge/Roger_Whittaker + 54aa30b..bc62289 refs/top-bases/tschwinge/Roger_Whittaker -> savannah/top-bases/tschwinge/Roger_Whittaker + + # Build Here's a log of a glibc build run; this is from our [[Git repository's -- cgit v1.2.3 From 8d57e8069c8be2366932cdcde2c9489a3fcd8ee5 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 31 Mar 2012 09:20:54 +0200 Subject: open_issues/glibc: Update. --- open_issues/glibc.mdwn | 73 +++++++++++--------------------------------------- 1 file changed, 16 insertions(+), 57 deletions(-) (limited to 'open_issues') diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index 43d08db1..bfe371d4 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -62,10 +62,25 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 $ git log --reverse --pretty=fuller --stat=$COLUMNS,$COLUMNS -p -C --cc -S__ASSUME_ top-bases/t/kernel-features.h_includes..baseline + * `t/sysvshm` + + ../sysdeps/mach/hurd/shmat.c: In function '__shmat': + ../sysdeps/mach/hurd/shmat.c:57:7: warning: implicit declaration of function '__close' [-Wimplicit-function-declaration] + ../sysdeps/mach/hurd/shmget.c: In function 'get_exclusive': + ../sysdeps/mach/hurd/shmget.c:85:8: warning: variable 'is_private' set but not used [-Wunused-but-set-variable] + ../sysdeps/mach/hurd/shmget.c:102:8: warning: 'dir' may be used uninitialized in this function [-Wmaybe-uninitialized] + ../sysdeps/mach/hurd/shmget.c:102:8: warning: 'file' may be used uninitialized in this function [-Wmaybe-uninitialized] + * [[`t/tls`|t/tls]] * [[`t/tls-threadvar`|t/tls-threadvar]] + * `t/unwind-resume` + + There already was a `t/unwind-resume.c`, and I fixed this upstream in + f571a994cec6be2f6edff2f0cd43cbdadcd94f5f long ago. Are there any + differences? + * t/verify.h People didn't like this too much. @@ -424,55 +439,10 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 d94a4670800de6e8f088b8630ad5142866127980 -- what does it do for us? -# Samuel's Savannah glibc commits - -Just for tracking until [[I|tschwinge]] have added/tested them all. - - * [new branch] t/IPV6_PKTINFO -> savannah/t/IPV6_PKTINFO - * [new branch] t/SOL_IP -> savannah/t/SOL_IP - * [new branch] t/bigmem -> savannah/t/bigmem - * [new branch] t/catch-signal -> savannah/t/catch-signal - * [new branch] t/critical-sections -> savannah/t/critical-sections - * [new branch] t/hurdsig-SA_SIGINFO -> savannah/t/hurdsig-SA_SIGINFO - * [new branch] t/hurdsig-fixes -> savannah/t/hurdsig-fixes - * [new branch] t/hurdsig-fixes-2 -> savannah/t/hurdsig-fixes-2 - * [new branch] t/hurdsig-global-dispositions -> savannah/t/hurdsig-global-dispositions - * [new branch] t/hurdsig-global-dispositions-versions -> savannah/t/hurdsig-global-dispositions-versions - * [new branch] t/ioctl-base-types -> savannah/t/ioctl-base-types - * [new branch] t/ioctl_decode_argument -> savannah/t/ioctl_decode_argument - * [new branch] t/itimer-lock -> savannah/t/itimer-lock - * [new branch] t/libc_stack_end -> savannah/t/libc_stack_end - * [new branch] t/locarchive -> savannah/t/locarchive - * [new branch] t/mach-nanosleep -> savannah/t/mach-nanosleep - * [new branch] t/mkdir_root -> savannah/t/mkdir_root - * [new branch] t/mlock -> savannah/t/mlock - * [new branch] t/no-hp-timing -> savannah/t/no-hp-timing - * [new branch] t/null-pathname -> savannah/t/null-pathname - * [new branch] t/posix2008 -> savannah/t/posix2008 - * [new branch] t/posix_opt.h -> savannah/t/posix_opt.h - * [new branch] t/pthread_types -> savannah/t/pthread_types - * [new branch] t/readlinkat -> savannah/t/readlinkat - * [new branch] t/recvfrom -> savannah/t/recvfrom - * [new branch] t/sbrk -> savannah/t/sbrk - * [new branch] t/select-inputcheck -> savannah/t/select-inputcheck - * [new branch] t/sendmsg-SCM_RIGHTS -> savannah/t/sendmsg-SCM_RIGHTS - * [new branch] t/setresid -> savannah/t/setresid - * [new branch] t/socket_server_indexcheck -> savannah/t/socket_server_indexcheck - * [new branch] t/symlink_dealloc -> savannah/t/symlink_dealloc - * [new branch] t/sysvshm -> savannah/t/sysvshm - * [new branch] t/thread-cancel -> savannah/t/thread-cancel - * [new branch] t/ttyname_ERANGE -> savannah/t/ttyname_ERANGE - * [new branch] t/unlockpt-chroot -> savannah/t/unlockpt-chroot - * [new branch] t/unwind-resume -> savannah/t/unwind-resume - * [new branch] tg/dup3-lock -> savannah/tg/dup3-lock - d740cf9..5514f50 tschwinge/Roger_Whittaker -> savannah/tschwinge/Roger_Whittaker - 54aa30b..bc62289 refs/top-bases/tschwinge/Roger_Whittaker -> savannah/top-bases/tschwinge/Roger_Whittaker - - # Build Here's a log of a glibc build run; this is from our [[Git repository's -d740cf9d201dc9ecb0335b0a585828dea9cce793 (2011-10-25) +22bcba37dd3b782b1a1ec7bf51da468e48f4d2eb (2012-02-20) sources|source_repositories/glibc]], run on coulomb.SCHWINGE. $ export LC_ALL=C @@ -668,21 +638,10 @@ There is quite a baseline of failures. tst-mktime2.c:132: error: 'INT_MAX' undeclared (first use in this function) - * `io/tst-readlinkat` - - /media/erich/home/thomas/tmp/glibc/tschwinge/Roger_Whittaker/io/tst-readlinkat.c:109: warning: warning: readlinkat is not implemented and will always fail - * `gmon/tst-sprofil` Floating point exception - * `posix/tst-sysconf` - - tst-sysconf.c:32: error: '_POSIX_PRIORITIZED_IO' undeclared here (not in a function) - tst-sysconf.c:33: error: '_POSIX_PRIORITY_SCHEDULING' undeclared here (not in a function) - tst-sysconf.c:43: error: '_POSIX_SPIN_LOCKS' undeclared here (not in a function) - tst-sysconf.c:45: error: '_POSIX_SYNCHRONIZED_IO' undeclared here (not in a function) - * `posix/bug-regex31-mem`, `posix/tst-fnmatch-mem` *output* files: some memory not freed. -- cgit v1.2.3 From 23c80cf9295e13a7e269134e539408da7574e3fc Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 31 Mar 2012 14:16:29 +0200 Subject: open_issues/glibc: Update. --- open_issues/glibc.mdwn | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) (limited to 'open_issues') diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index bfe371d4..78d76f10 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -49,6 +49,12 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 `t/dup3`: hidden def. ed690b2f24bbc4d9c541fc81a7c67e6dc5678a96 -- why not for dup3, too? Because it is a syscall (that is always inlined)? + * `t/hurdsig-fixes` + + hurdsig.c: In function '_hurd_internal_post_signal': + hurdsig.c:1188:26: warning: 'pending' may be used uninitialized in this function [-Wmaybe-uninitialized] + hurdsig.c:1168:12: note: 'pending' was declared here + * `t/init-first.c` Follow up here: [[!message-id "20070722171859.GN25744@fencepost.gnu.org"]] @@ -75,12 +81,6 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 * [[`t/tls-threadvar`|t/tls-threadvar]] - * `t/unwind-resume` - - There already was a `t/unwind-resume.c`, and I fixed this upstream in - f571a994cec6be2f6edff2f0cd43cbdadcd94f5f long ago. Are there any - differences? - * t/verify.h People didn't like this too much. @@ -442,7 +442,7 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 # Build Here's a log of a glibc build run; this is from our [[Git repository's -22bcba37dd3b782b1a1ec7bf51da468e48f4d2eb (2012-02-20) +005b7594ffe209639dd1ef2b9ed9a4c22307dec1 (2012-03-31; 2011-10-08) sources|source_repositories/glibc]], run on coulomb.SCHWINGE. $ export LC_ALL=C @@ -666,6 +666,19 @@ There is quite a baseline of failures. /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' + * `math/test-fenv.out` + + Used to fail (is listed in Debian eglibc-2.13-21's + `expected-results-i486-gnu-libc`), but something between + 22bcba37dd3b782b1a1ec7bf51da468e48f4d2eb and + 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`). + ## OLD -- cgit v1.2.3 From ee1c0bf9ffa3bebc4d0607b86cb8ac2e0b3794ff Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 31 Mar 2012 21:16:17 +0200 Subject: open_issues/hurdextras: Giuseppe Scrivano good to go. As per id:"rt-3.4.5-17558-1295036554-41.626683-6-0@rt.gnu.org" (2011-01-14). --- open_issues/hurdextras.mdwn | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'open_issues') diff --git a/open_issues/hurdextras.mdwn b/open_issues/hurdextras.mdwn index 1cdb210b..cd171be5 100644 --- a/open_issues/hurdextras.mdwn +++ b/open_issues/hurdextras.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2010 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2010, 2012 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 @@ -47,6 +47,10 @@ Tarball-import. * Marcus Brinkmann -- OK * Manuel Menal -- OK +## smbfs + + * rocky\_10\_balboa, gscrivano -- OK + # Not Interesting @@ -91,11 +95,6 @@ tarball(s). * Jon Arney -- OK * Alfredo Beaumont Sainz -- NOK (but trivial) -- OK -## smbfs - - * rocky\_10\_balboa, gscrivano -- NOK (but has assignments various other GNU - projects); 2010-10-19: started assignment process. - ## xmlfs Tarball-import. -- cgit v1.2.3 From d8fe674b9fafc35df2f317a866c60faf28dd1396 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 31 Mar 2012 22:04:20 +0200 Subject: open_issues/hurdextras: cvsfs, libfuse, smbfs moved to incubator. --- open_issues/hurdextras.mdwn | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'open_issues') diff --git a/open_issues/hurdextras.mdwn b/open_issues/hurdextras.mdwn index cd171be5..f31802da 100644 --- a/open_issues/hurdextras.mdwn +++ b/open_issues/hurdextras.mdwn @@ -15,18 +15,6 @@ This is about merging some hurdextras stuff into Hurd proper repostitories. # OK -## cvsfs - -/!\ Waiting for . - - * stesie -- OK - -## libfuse - -/!\ Waiting for . - - * stesie -- OK - ## mboxfs Tarball-import, plus trivial changes. @@ -47,10 +35,6 @@ Tarball-import. * Marcus Brinkmann -- OK * Manuel Menal -- OK -## smbfs - - * rocky\_10\_balboa, gscrivano -- OK - # Not Interesting -- cgit v1.2.3 From 1463fbc73ec78981596176b54da5cf7d5cc56f74 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Sat, 31 Mar 2012 23:41:07 +0200 Subject: open_issues/glibc: Update. --- open_issues/glibc.mdwn | 34 ++++++++++++++++++++++++++++++++-- open_issues/glibc/t/tls-threadvar.mdwn | 9 ++++++++- 2 files changed, 40 insertions(+), 3 deletions(-) (limited to 'open_issues') diff --git a/open_issues/glibc.mdwn b/open_issues/glibc.mdwn index 78d76f10..8c43b89e 100644 --- a/open_issues/glibc.mdwn +++ b/open_issues/glibc.mdwn @@ -142,6 +142,8 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 * `elf/stackguard-macros.h` + See [[t/tls|t/tls]]. + * Verify 77c84aeb81808c3109665949448dba59965c391e against `~/shared/glibc/make_TAGS.patch`. @@ -150,7 +152,32 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 * Unify `CPUCLOCK_WHICH` stuff in `clock_*` files. * Not all tests are re-run in a `make -k tests; make tests-clean; make -k - tests` cycle. + tests` cycle. For example, after `make tests-clean`: + + $ find ./ -name \*.out + ./localedata/tst-locale.out + ./localedata/sort-test.out + ./localedata/de_DE.out + ./localedata/en_US.out + ./localedata/da_DK.out + ./localedata/hr_HR.out + ./localedata/sv_SE.out + ./localedata/tr_TR.out + ./localedata/fr_FR.out + ./localedata/si_LK.out + ./localedata/tst-mbswcs.out + ./iconvdata/iconv-test.out + ./iconvdata/tst-tables.out + ./stdlib/isomac.out + ./posix/wordexp-tst.out + ./posix/annexc.out + ./posix/tst-getconf.out + ./elf/check-textrel.out + ./elf/check-execstack.out + ./elf/check-localplt.out + ./c++-types-check.out + ./check-local-headers.out + ./begin-end-check.out * `CPUCLOCK_WHICH`, `t/cpuclock` @@ -409,8 +436,11 @@ Last reviewed up to the [[Git mirror's d40c5d54cb551acba4ef1617464760c5b3d41a14 * 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"]]. + * [low] `mmap`, 110946e473b38fc3896212e416d9d7064fecd5b7. Kosher with + respect to our [[glibc/mmap]] peculiarities? * [high] `__ctype_init`, fd5bdc0924e0cfd1688b632068c1b26f3b0c88da. - Probably need to mirror `init-first.c` change. + [[!message-id "878vigbgup.fsf@schwinge.name"]]. + * *baseline* * [high] `__attribute__ ((__leaf__))`, `BZ #13344`, aa78043a4aafe5db1a1a76d544a833b63b4c5f5c + 49a43d80ec5c97cf6136b1ee2687414773b2d5aa + diff --git a/open_issues/glibc/t/tls-threadvar.mdwn b/open_issues/glibc/t/tls-threadvar.mdwn index f6a81590..e72732ab 100644 --- a/open_issues/glibc/t/tls-threadvar.mdwn +++ b/open_issues/glibc/t/tls-threadvar.mdwn @@ -1,4 +1,4 @@ -[[!meta copyright="Copyright © 2011 Free Software Foundation, Inc."]] +[[!meta copyright="Copyright © 2011, 2012 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,6 +10,10 @@ License|/fdl]]."]]"""]] [[!tag open_issue_glibc open_issue_libpthread]] +This basically means to get rid of `sysdeps/mach/hurd/bits/libc-tsd.h` (and +thus the `_HURD_THREADVAR_*`/`_hurd_threadvar_location` interface), and +directly use `__thread` instead. + IRC, freenode, #hurd, 2011-10-23: youpi: If we want to replace threadvars with TLS, there is one @@ -22,3 +26,6 @@ IRC, freenode, #hurd, 2011-10-23: (people should use TLS anyway) [[libpthread_set_stack_size]]. + +After this has been done, probably the whole `__libc_tsd_*` stuff can be +dropped altogether, and `__thread` directly be used in glibc. -- cgit v1.2.3