Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too

2023-02-16 Thread Joseph Myers
This commit broke the glibc build for i686-gnu. There are errors of the form: In file included from ../hurd/hurd/threadvar.h:23, from ../sysdeps/mach/hurd/mig-reply.c:20: ../sysdeps/mach/hurd/i386/tls.h:104:11: fatal error: mach/i386/mach_i386.h: No such file or directory 104

Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too

2023-02-12 Thread Sergey Bugaev
On Sun, Feb 12, 2023 at 6:46 PM Samuel Thibault wrote: > > Sergey Bugaev, le dim. 12 févr. 2023 18:38:03 +0300, a ecrit: > > Since mach/machine/syscall_sw.h is the i386 version on x86_64 (or -- > > is it not supposed to be?) > > Nobody yet decided that the system call interface would be the same o

Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too

2023-02-12 Thread Samuel Thibault
Sergey Bugaev, le dim. 12 févr. 2023 18:38:03 +0300, a ecrit: > Since mach/machine/syscall_sw.h is the i386 version on x86_64 (or -- > is it not supposed to be?) Nobody yet decided that the system call interface would be the same on i386 and on x86_64 :) Most probably we'll need a different heade

Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too

2023-02-12 Thread Sergey Bugaev
> > # Translate GNU names for CPUs into the names used in Mach header files. > > -mach-machine = $(patsubst powerpc,ppc,$(base-machine)) > > +mach-machine := $(patsubst powerpc,ppc,$(base-machine)) > > +mach-machine := $(patsubst x86_64,i386,$(mach-machine)) > > Mmm, no, it's not actually a transl

Re: [RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too

2023-02-12 Thread Samuel Thibault
Sergey Bugaev, le dim. 12 févr. 2023 14:10:40 +0300, a ecrit: > Signed-off-by: Sergey Bugaev > --- > mach/Makefile | 3 ++- > sysdeps/mach/configure| 6 +++--- > sysdeps/mach/configure.ac | 6 +++--- > 3 files changed, 8 insertions(+), 7 deletions(-) > > diff --git a/mach/Makefil

[RFC PATCH glibc 9/12] mach: Look for mach_i386.defs on x86_64 too

2023-02-12 Thread Sergey Bugaev
Signed-off-by: Sergey Bugaev --- mach/Makefile | 3 ++- sysdeps/mach/configure| 6 +++--- sysdeps/mach/configure.ac | 6 +++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/mach/Makefile b/mach/Makefile index 39358fdb..f2fdd7da 100644 --- a/mach/Makefile +++ b/ma