Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
Finally, I got to solve the problem, adding a few flags to Makefile.am http://dpaste.com/2NRGESV I attach the patch file 2018-06-25 18:13 GMT+02:00 Almudena Garcia : > HHi all: > > I'm trying to compile GNU Mach from GNU Hurd, using the sources from git > repository. > > I based on this guide:

Re: Problem with GNU Mach compilation

2018-06-27 Thread Samuel Thibault
Almudena Garcia, le mer. 27 juin 2018 18:12:53 +0200, a ecrit: > I attach the patch file Please use diff -u, not just diff. Samuel

Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
The last patch file was wrong to generate. I attach a better patch file 2018-06-27 18:12 GMT+02:00 Almudena Garcia : > Finally, I got to solve the problem, adding a few flags to Makefile.am > > http://dpaste.com/2NRGESV > > I attach the patch file > > 2018-06-25 18:13 GMT+02:00 Almudena Garcia :

Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
Yes, I just send a fixed patch file, with diff -u 2018-06-27 18:17 GMT+02:00 Samuel Thibault : > Almudena Garcia, le mer. 27 juin 2018 18:12:53 +0200, a ecrit: > > I attach the patch file > > Please use diff -u, not just diff. > > Samuel >

Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
Have you received my latest patch? 2018-06-27 18:18 GMT+02:00 Almudena Garcia : > Yes, I just send a fixed patch file, with diff -u > > 2018-06-27 18:17 GMT+02:00 Samuel Thibault : > >> Almudena Garcia, le mer. 27 juin 2018 18:12:53 +0200, a ecrit: >> > I attach the patch file >> >> Please use di

Re: Problem with GNU Mach compilation

2018-06-27 Thread Samuel Thibault
Almudena Garcia, le mer. 27 juin 2018 18:16:21 +0200, a ecrit: > - -fno-builtin-log > + -fno-builtin-log --no-pie --no-pic I'm surprised by the form of the option. I would have thought rather -no-pie -fno-pic which are documented, while the options above are not. Could you try them inst

Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
I don't be sure. I asked in #hurd Freenode channel, and one person suggested me to add this flags 2018-06-27 21:45 GMT+02:00 Samuel Thibault : > Almudena Garcia, le mer. 27 juin 2018 18:16:21 +0200, a ecrit: > > - -fno-builtin-log > > + -fno-builtin-log --no-pie --no-pic > > I'm surprised

Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
This is the conversation 2018-06-27 22:06 GMT+02:00 Almudena Garcia : > I don't be sure. I asked in #hurd Freenode channel, and one person > suggested me to add this flags > > 2018-06-27 21:45 GMT+02:00 Samuel Thibault : > >> Almudena Garcia, le mer. 27 juin 2018 18:16:21 +0200, a ecrit: >> > -

Re: Problem with GNU Mach compilation

2018-06-27 Thread Samuel Thibault
Almudena Garcia, le mer. 27 juin 2018 22:06:32 +0200, a ecrit: > I don't be sure. I asked in #hurd Freenode channel, and one person suggested > me > to add this flags Ok, but could you test these instead? -no-pie -fno-pic Samuel

Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
Ok, I'll try it 2018-06-27 22:14 GMT+02:00 Samuel Thibault : > Almudena Garcia, le mer. 27 juin 2018 22:06:32 +0200, a ecrit: > > I don't be sure. I asked in #hurd Freenode channel, and one person > suggested me > > to add this flags > > Ok, but could you test these instead? > > -no-pie -fno-

Re: Problem with GNU Mach compilation

2018-06-27 Thread Almudena Garcia
I've just to try the flags what you suggested, and this also runs correctly 2018-06-27 22:15 GMT+02:00 Almudena Garcia : > Ok, I'll try it > > 2018-06-27 22:14 GMT+02:00 Samuel Thibault : > >> Almudena Garcia, le mer. 27 juin 2018 22:06:32 +0200, a ecrit: >> > I don't be sure. I asked in #hurd Fr

Re: Enable SMP support

2018-06-27 Thread Almudena Garcia
After to solve the compilation problems, We continue with our SMP work. We have fixed many little errors and now have just found another big problem, this time with pmap.c This feels a problem about page tables and MMU, which feels aren't implemented for many CPUs I attach a patch will all chang

Re: Problem with GNU Mach compilation

2018-06-27 Thread Samuel Thibault
Almudena Garcia, le mer. 27 juin 2018 22:27:48 +0200, a ecrit: > I've just to try the flags what you suggested, and this also runs correctly Cool, thanks for the test! Samuel

Re: Enable SMP support

2018-06-27 Thread Samuel Thibault
Hello, Almudena Garcia, le mer. 27 juin 2018 22:37:55 +0200, a ecrit: > ../kern/sched_prim.h:188:1: warning: parameter names (without types) in > function declaration > extern void cause_ast_check(processor); /*new*/ Yes, the type for processor is needed, see the patch I have now commited. >

Re: Enable SMP support

2018-06-27 Thread Almudena Garcia
> > *Yes, the type for processor is needed, see the patch I have now commited.* > Ok. I've just to apply your patches and copy my cpu_number() function in kern/cpu_number.h. The latest compilation problems have disappeared, but there are any errors yet. > > > *> /* More-specific code must defin