public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Samuel Thibault <samuel.thibault@gnu.org>
To: Joseph Myers <joseph@codesourcery.com>
Cc: Florian Weimer <fweimer@redhat.com>,
	Thomas Schwinge <thomas@codesourcery.com>,
	GNU C Library <libc-alpha@sourceware.org>,
	bug-hurd@gnu.org, David Michael <fedora.dm0@gmail.com>
Subject: Re: Upstreaming the glibc Hurd port
Date: Mon, 02 Apr 2018 15:50:00 -0000	[thread overview]
Message-ID: <20180402155017.iermidp5siqgcixv@var.youpi.perso.aquilenet.fr> (raw)
In-Reply-To: <alpine.DEB.2.20.1804021407480.16203@digraph.polyomino.org.uk>

Joseph Myers, on lun. 02 avril 2018 14:17:38 +0000, wrote:
> On Mon, 2 Apr 2018, Samuel Thibault wrote:
> 
> > - header standard conformity issues: These will be hard to fix.
> 
> What are the issues here?

Some of these are small, like ./bits/types/sigevent_t.h's
sigev_notify_attributes not being pthread_attr_t*

Others need some work, like the missing SA_SIGINFO, for which we have
patches which need polishing and committing.

Others need implementing, like SA_NOCLDWAIT.

Others just need defining, like IUCLC, IXANY, etc.

There are a few remaining namespace issues due to missing __ marking or
spurious #includes.

So those, we can fix them.


Others really pose problem, like ./sysdeps/mach/hurd/bits/fcntl.h's
l_type/l_whence being int instead of short.

There is also sys/un.h which defines a sun_len field, which IIRC is to
be expected on BSD systems, but not defined in Posix?

Also, ioctl takes (int, unsigned long int, ...) but
./conform/XPG42/stropts.h/conform.out wants (int, int, ...)?

> > - elf/check-localplt: There will always be PLTs to libhurd/machuser.so
> >   anyway.
> 
> If a library has *local* PLT entries -

Ah.  I got confused by the presence of __vm_allocate which is an RPC,
but we actually have a non-RPC version inside libc.so itself.  There are
a hundred of them mostly in libc.so, ld.so, libpthread.so

> PLT entries for within-library calls to other functions in that shared
> library - that are hard to fix to use hidden aliases, it's expected
> that the localplt.data files will list those as expected

Ok.

> > - elf/check-execstack: We have nested functions which make the stack
> >   executable indeed.
> 
> That's pointers to nested functions involving creation of trampolines?  

Yes.

> Do those nested functions actually improve the code

Yes.  There are notably callbacks whose parameters don't permit to get
the context parameters etc.

>  Do all libraries have these or only some?

Only libc.so, ld.so and libpthread.so have them.

> > - check-abi-libmachuser, check-abi-libhurduser: These actually depend on
> >   .defs files in gnumach and hurd, so we can't really define ABI files.
> 
> Depend in what way?  Are you saying they export different symbols 
> depending on the versions of gnumach and hurd glibc is built with?

That is it, yes.

> How are symbol versions for such extra symbols determined - based on
> gnumach and hurd versions instead of glibc versions?

That was not actually settled, but I guess it should be gnumach and hurd
versions.

> maybe those packages need to install ABI baselines for the glibc tests
> (or something like that).

Indeed.

Samuel

  reply	other threads:[~2018-04-02 15:50 UTC|newest]

Thread overview: 87+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-18 12:39 Florian Weimer
2018-01-18 12:45 ` Samuel Thibault
2018-01-18 12:58   ` Florian Weimer
2018-01-18 13:47   ` Joseph Myers
2018-01-18 13:52     ` Joseph Myers
2018-01-18 13:59       ` Samuel Thibault
2018-01-18 13:58     ` Samuel Thibault
2018-01-18 14:03       ` Joseph Myers
2018-01-28 18:40         ` Samuel Thibault
2018-01-18 14:22       ` Thomas Schwinge
2018-01-18 14:27         ` Samuel Thibault
2018-01-18 15:14         ` Samuel Thibault
2018-01-18 15:35           ` Joseph Myers
2018-01-18 15:42             ` Samuel Thibault
2018-01-18 16:48               ` Joseph Myers
2018-01-18 16:59                 ` Samuel Thibault
2018-01-18 23:16                   ` Joseph Myers
2018-01-18 23:59                     ` Samuel Thibault
2018-01-19  0:34                       ` Joseph Myers
2018-01-19 10:10                         ` Thomas Schwinge
2018-01-19 12:35                           ` Manolis Ragkousis
2018-01-19 13:08                           ` Joseph Myers
2018-01-19 14:11                             ` Thomas Schwinge
2018-01-19 15:12                               ` Joseph Myers
2018-01-19 18:24                                 ` Zack Weinberg
2018-01-19 18:30                                   ` Joseph Myers
2018-01-19 17:23                           ` Joseph Myers
2018-01-19 17:32                             ` Samuel Thibault
2018-01-19 17:50                               ` Joseph Myers
2018-01-19 17:59                                 ` Samuel Thibault
2018-01-24  1:10                             ` Samuel Thibault
2018-01-24  1:26                               ` Joseph Myers
2018-01-24  1:27                               ` Samuel Thibault
2018-01-25  1:41                                 ` Samuel Thibault
2018-01-25 15:43                                   ` Joseph Myers
2018-01-25 16:12                                   ` Joseph Myers
2018-01-25 16:20                                     ` Samuel Thibault
2018-03-19  1:51                                     ` Samuel Thibault
2018-03-19 15:36                                       ` Zack Weinberg
2018-03-19 15:47                                         ` Samuel Thibault
2018-03-19 15:54                                           ` Zack Weinberg
2018-03-19 16:05                                             ` Samuel Thibault
2018-03-26 23:13                                       ` Rafal Luzynski
2018-03-27  7:45                                         ` Samuel Thibault
2018-03-27  9:01                                         ` Samuel Thibault
2018-03-27 10:40                                           ` Rafal Luzynski
2018-03-27 10:43                                             ` Samuel Thibault
2018-03-27 10:53                                               ` Rafal Luzynski
2018-03-27 14:46                                           ` Tulio Magno Quites Machado Filho
2018-03-27 14:53                                             ` Carlos O'Donell
2018-03-27 16:31                                             ` Samuel Thibault
2018-04-02  0:10                                       ` Samuel Thibault
2018-04-02  7:51                                         ` Florian Weimer
2018-04-02  8:24                                           ` Samuel Thibault
2018-04-02 14:17                                         ` Joseph Myers
2018-04-02 15:50                                           ` Samuel Thibault [this message]
2018-04-02 16:13                                             ` Samuel Thibault
2018-04-03  0:13                                               ` Joseph Myers
2018-04-17 22:50                                                 ` Samuel Thibault
2018-04-17 23:02                                                   ` Joseph Myers
2018-04-17 23:08                                                     ` Samuel Thibault
2018-04-18 11:13                                                       ` Joseph Myers
2018-04-18 13:54                                                         ` Zack Weinberg
2018-04-18 14:03                                                           ` Samuel Thibault
2018-04-18 18:40                                                             ` Zack Weinberg
2018-04-18 18:53                                                               ` Samuel Thibault
2018-04-03  0:10                                             ` Joseph Myers
2018-04-18 23:57                                               ` Samuel Thibault
2018-04-21  8:54                                                 ` Samuel Thibault
2018-04-02 14:22                                         ` Joseph Myers
2018-04-02 14:47                                           ` Samuel Thibault
2018-04-02 16:01                                             ` H.J. Lu
2018-04-02 16:16                                               ` Samuel Thibault
2018-04-02 17:06                                                 ` H.J. Lu
2018-04-02 17:16                                                   ` Samuel Thibault
2018-04-02 17:22                                                     ` H.J. Lu
2018-04-02 17:35                                                       ` Samuel Thibault
2018-04-02 17:37                                                         ` Samuel Thibault
2018-04-03 15:45                                         ` Joseph Myers
2018-04-03 16:08                                           ` Samuel Thibault
2018-04-03 21:48                                           ` Joseph Myers
2018-04-03 21:58                                             ` Samuel Thibault
2018-04-03 22:07                                               ` Zack Weinberg
2018-04-03 22:48                                                 ` Joseph Myers
2018-04-05 11:07                                               ` Florian Weimer
2018-01-18 14:33     ` Samuel Thibault
2018-01-18 15:24       ` Joseph Myers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180402155017.iermidp5siqgcixv@var.youpi.perso.aquilenet.fr \
    --to=samuel.thibault@gnu.org \
    --cc=bug-hurd@gnu.org \
    --cc=fedora.dm0@gmail.com \
    --cc=fweimer@redhat.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-alpha@sourceware.org \
    --cc=thomas@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).