[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Upstreaming the glibc Hurd port
From: |
Joseph Myers |
Subject: |
Re: Upstreaming the glibc Hurd port |
Date: |
Thu, 18 Jan 2018 23:15:59 +0000 |
User-agent: |
Alpine 2.20 (DEB 67 2015-01-07) |
On Thu, 18 Jan 2018, Samuel Thibault wrote:
> That's why I meant work is needed to sort out what we want to show
> people. Which takes triaging time, back to square 0. I sent to the
> bug-hurd list the list of patches which was enough at some point to get
> glibc buildable, that's what should be worked on and what I plan to
> commit to a single branch on the upstream repo.
Thanks for the changes pushed to sthibaul/hurd-builds so far (I realise
there will be more to get it into a buildable state, e.g. the actual
libpthread implementation).
General observations on mainly coding style issues that should be cleaned
up for actual submission (there are also obvious issues with changes to
non-Hurd-specific files needing cleaning up / justifying, which I didn't
list individually):
* Avoid __GNU__ conditionals in generic files (as per Roland's comments on
the TLS patch).
* Use <year>-2018 in copyright notices.
* There should be a descriptive comment on the first line of each file
before the copyright notice. Where you have such comments, make sure they
don't say something is a generic version when actually it's a
Hurd-specific version.
* Avoid FSF postal addresses in license notices; use a URL instead, as in
existing files in glibc (using an https URL will avoid needing to be
included in an http -> https fix for such URLs in future).
* No "Contributed by" notices in new files.
* verify.h should be LGPLv2.1+ for glibc use, but actually I think you
should just use _Static_assert instead of verify.h, since the minimum
compiler version for building glibc supports _Static_assert.
* sysdeps/mach/hurd/gai_misc.h needs a copyright / license notice (and is
missing spaces before '(' in some places).
* In a few places, missing preprocessor indentation inside #if (as per
<https://sourceware.org/glibc/wiki/Style_and_Conventions#Nested_C_Preprocessor_Directives>,
should be used except for a multiple include guard round a whole file).
* Why are some symbols added in sysdeps/mach/hurd/bits/posix_opt.h with
value 200112L, when 200809L corresponds to the POSIX version generally
supported by glibc?
--
Joseph S. Myers
joseph@codesourcery.com
- Re: Upstreaming the glibc Hurd port, (continued)
- Re: Upstreaming the glibc Hurd port, Samuel Thibault, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Thomas Schwinge, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Samuel Thibault, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Samuel Thibault, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Joseph Myers, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Samuel Thibault, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Joseph Myers, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Samuel Thibault, 2018/01/18
- Re: Upstreaming the glibc Hurd port,
Joseph Myers <=
- Re: Upstreaming the glibc Hurd port, Samuel Thibault, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Joseph Myers, 2018/01/18
- Re: Upstreaming the glibc Hurd port, Thomas Schwinge, 2018/01/19
- Re: Upstreaming the glibc Hurd port, Manolis Ragkousis, 2018/01/19
- Re: Upstreaming the glibc Hurd port, Joseph Myers, 2018/01/19
- Re: Upstreaming the glibc Hurd port, Thomas Schwinge, 2018/01/19
- Re: Upstreaming the glibc Hurd port, Joseph Myers, 2018/01/19
- Re: Upstreaming the glibc Hurd port, Zack Weinberg, 2018/01/19
- Re: Upstreaming the glibc Hurd port, Joseph Myers, 2018/01/19
- Re: Upstreaming the glibc Hurd port, Joseph Myers, 2018/01/19