[PATCH,resend] hurd: Ad default-pie and static-pie support

2023-10-28 Thread Samuel Thibault
This fixes the Hurd spec in the default-pie case, and adds static-pie support. gcc/ChangeLog: * gcc/config/i386/gnu.h: Use PIE_SPEC, add static-pie case. * gcc/config/i386/gnu64.h: Use PIE_SPEC, add static-pie case. diff --git a/gcc/config/i386/gnu.h b/gcc/config/i386/gnu.h index

[PATCH,resend] hurd: Add multilib paths for gnu-x86_64

2023-10-28 Thread Samuel Thibault
We need the multilib paths in gcc to find e.g. glibc crt files on Debian. This is essentially based on t-linux64 version. gcc/ChangeLog: * gcc/config/i386/t-gnu64: New file. * gcc/config.gcc [x86_64-*-gnu*): Add i386/t-gnu64 to tmake_file. diff --git a/gcc/config.gcc b/g

Re: [RFC PATCH 1/2] add basic user-space tests with qemu

2023-10-28 Thread Samuel Thibault
Luca Dariz, le sam. 28 oct. 2023 18:48:19 +0200, a ecrit: > Il 22/10/23 17:19, Samuel Thibault ha scritto: > > Luca Dariz, le jeu. 19 oct. 2023 20:57:46 +0200, a ecrit: > > > * tests/configfrag.ac: add MIGUSER, required for user-space tests as > > >it might be different from the one used to ubi

Re: [RFC PATCH 1/2] add basic user-space tests with qemu

2023-10-28 Thread Luca Dariz
Hi, Il 22/10/23 17:19, Samuel Thibault ha scritto: Luca Dariz, le jeu. 19 oct. 2023 20:57:46 +0200, a ecrit: * tests/configfrag.ac: add MIGUSER, required for user-space tests as it might be different from the one used to ubild the kernel. Can't we just automatically select the proper mig?

Re: [PATCH gnumach] x86_64/locore.S: Fix int stack checks when NCPUS > 1

2023-10-28 Thread Samuel Thibault
Applied, thanks! Damien Zammit, le sam. 28 oct. 2023 00:13:54 +, a ecrit: > --- > x86_64/locore.S | 13 - > 1 file changed, 8 insertions(+), 5 deletions(-) > > diff --git a/x86_64/locore.S b/x86_64/locore.S > index f0d1298d..2db0d49b 100644 > --- a/x86_64/locore.S > +++ b/x86_64/