On wiki and patches (was Re: Building Hurd)

2023-01-24 Thread Sergey Bugaev
On Wed, Jan 25, 2023 at 4:10 AM Samuel Thibault wrote: > Hello, Hi! > It'd be useful that all these small cross-compilation howtos here and > there be merged into the corresponding wiki page where it belongs, > > ./toolchain/cross-gnu.mdwn > > https://darnassus.sceen.net/~hurd-web/toolchain/cros

Re: No rule to make target 'interruptServer.stamp', needed by 'interrupt_S.h'

2023-01-24 Thread Flávio Cruz
On Tue, Jan 24, 2023 at 7:59 PM Ryan Raymond wrote: > Does anyone know what this is? The file "interrupt_S.h" doesn't exist, but > many files refer to it. I checked the git log but there wasn't a record of > the file ever existing. > That file is generated by mig

[PATCH] Do not include seg.c when building for x86_64

2023-01-24 Thread Flavio Cruz
File was removed in a previous patch for i386. To avoid future problems, include some common files between i386 and x86_64 in i386/Makefrag_x86.am. It is also easier to see what is different and what lacks support for x86_64 (e.g., SMP). --- Makefrag.am | 7 i386/Makefrag.am |

Re: [PATCH 4/4] Add cpu_number and cpuboot

2023-01-24 Thread Flávio Cruz
On Wed, Jan 25, 2023 at 1:34 AM Jessica Clarke wrote: > On 25 Jan 2023, at 06:27, Flávio Cruz wrote: > >> On Tue, Jan 24, 2023 at 2:54 AM Samuel Thibault < > samuel.thiba...@gnu.org> wrote: > >> Flávio Cruz, le mar. 24 janv. 2023 01:15:15 -0500, a ecrit: > >> > + int kernel_id; > >> >

Re: [PATCH 4/4] Add cpu_number and cpuboot

2023-01-24 Thread Jessica Clarke
On 25 Jan 2023, at 06:27, Flávio Cruz wrote: >> On Tue, Jan 24, 2023 at 2:54 AM Samuel Thibault >> wrote: >> Flávio Cruz, le mar. 24 janv. 2023 01:15:15 -0500, a ecrit: >> > + int kernel_id; >> > + unsigned long flags; >> > + >> > + cpu_intr_save(&flags); >> >

Re: [PATCH 4/4] Add cpu_number and cpuboot

2023-01-24 Thread Flávio Cruz
On Tue, Jan 24, 2023 at 2:54 AM Samuel Thibault wrote: > Flávio Cruz, le mar. 24 janv. 2023 01:15:15 -0500, a ecrit: > > + int kernel_id; > > + unsigned long flags; > > + > > + cpu_intr_save(&flags); > > + > > + kernel_id = apic_get_cpu_kernel_id(ap

Re: Building Hurd

2023-01-24 Thread Samuel Thibault
Hello, It'd be useful that all these small cross-compilation howtos here and there be merged into the corresponding wiki page where it belongs, ./toolchain/cross-gnu.mdwn https://darnassus.sceen.net/~hurd-web/toolchain/cross-gnu/ Samuel Sergey Bugaev, le mar. 24 janv. 2023 22:29:15 +0300, a ec

Re: [PATCH] Fix several warnings for -Wmissing-prototypes (part 2)

2023-01-24 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mar. 24 janv. 2023 01:44:23 -0500, a ecrit: > * i386/i386/io_map.c: code is unused. > * i386/i386/io_perm.c: include mig prototypes. > * i386/i386/mp_desc.c: Deleted interrupt_stack_alloc since it is not > used. > * i386/i386/seg.h: Moved descriptor structs to >

Re: [PATCH] [ipc_kmsg.c] Set kr if copy cannot be copied to user space

2023-01-24 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le mar. 24 janv. 2023 00:10:45 -0500, a ecrit: > Compiler will complain otherwise that kr is not initialized. > --- > ipc/ipc_kmsg.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c > index 2c9d4988..dac4f5d

No rule to make target 'interruptServer.stamp', needed by 'interrupt_S.h'

2023-01-24 Thread Ryan Raymond
Does anyone know what this is? The file "interrupt_S.h" doesn't exist, but many files refer to it. I checked the git log but there wasn't a record of the file ever existing.

Re: [PATCH] [x86_64] dev_pager.c: use mach_msg_type_number_t

2023-01-24 Thread Samuel Thibault
Applied, thanks! Flavio Cruz, le lun. 23 janv. 2023 23:48:03 -0500, a ecrit: > Otherwise it will fail to compile due to conflicting types. > --- > device/dev_pager.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/device/dev_pager.c b/device/dev_pager.c > index 728be036.

Re: Hello

2023-01-24 Thread Dr. Arne Babenhauserheide
Ryan Raymond writes: > I have to do a senior thesis (undergrad) and I would like to document the > process of developing Hurd further. > After looking at the source code, I think there are some ways I could help. I > have lots of experience working with old software and fixing broken build > d

Re: Building Hurd

2023-01-24 Thread Sergey Bugaev
On Tue, Jan 24, 2023 at 8:23 PM Ryan Raymond wrote: > > Hello, > I was reading the install instructions and I saw that they were incomplete. > The system can't build right now I guess, but I wanted to fix that. I was > wondering if the last person who built could point me in the general > direc

Hello

2023-01-24 Thread Ryan Raymond
Hi, I have to do a senior thesis (undergrad) and I would like to document the process of developing Hurd further. After looking at the source code, I think there are some ways I could help. I have lots of experience working with old software and fixing broken build deps etc. For starters, I would l

Building Hurd

2023-01-24 Thread Ryan Raymond
Hello, I was reading the install instructions and I saw that they were incomplete. The system can't build right now I guess, but I wanted to fix that. I was wondering if the last person who built could point me in the general direction of how they think hurd is supposed to build?

Re: [PATCH 4/4] Add cpu_number and cpuboot

2023-01-24 Thread Almudena Garcia
Hi: I'm working together with Damien in this. The SMP support is 32-bit yet, based in xAPIC instead x2APIC. xAPIC is also compatible with 64-bit (although maybe can be necessary enable manually in this mode) , but it's designed for 32-bit El mar., 24 ene. 2023 8:54, Samuel Thibault escribió: >