Re: Calculating correct values of mem_top, mem_range, stack_address, stack_direction and page_width for gcl on Hurd

2015-11-05 Thread Samuel Thibault
Svante Signell, on Thu 05 Nov 2015 11:02:07 +0100, wrote: > Unfortunately some values are wrong for GNU/Hurd. In order to hardcode > them (to see if the application packages like maxima can run properly) > I need to know the correct/safe (maybe empirical) values. > > On Hurd: > page_width=12 > sta

Re: Confusing definitions and declarations of mig_dealloc_reply_port()

2015-11-05 Thread Svante Signell
On Thu, 2015-11-05 at 10:43 +0100, Pino Toscano wrote: > On Thursday 05 November 2015 10:30:27 Svante Signell wrote: > >  > > +  mach_port_t port = __hurd_local_reply_port; > > +  if (port == MACH_PORT_NULL || > > +  (&__hurd_local_reply_port != &__hurd_reply_port0 && > > +   port == __hurd

Calculating correct values of mem_top, mem_range, stack_address, stack_direction and page_width for gcl on Hurd

2015-11-05 Thread Svante Signell
Hi, gcl use the attached program, extracted from configure.in, to calculate mem_top, mem_range, stack_address, stack_direction and page_width for that package. (Unfortunately I don't understand parts of the code) Unfortunately some values are wrong for GNU/Hurd. In order to hardcode them (to see

Re: Confusing definitions and declarations of mig_dealloc_reply_port()

2015-11-05 Thread Pino Toscano
On Thursday 05 November 2015 10:30:27 Svante Signell wrote: > I agree, the #if 1 part was not OK. What about rewriting > __mig_get_reply_port() too to be more readable? > > Please tell me if this patch is faulty in some way, I'm still on the > learning curve. > > Index: glibc-2.19/sysdeps/mach/hu

Re: Confusing definitions and declarations of mig_dealloc_reply_port()

2015-11-05 Thread Svante Signell
On Wed, 2015-11-04 at 22:34 -0300, Diego Nieto Cid wrote: > > 2015-11-04 16:03 GMT-03:00 Svante Signell : > > On Wed, 2015-11-04 at 18:57 +0100, Samuel Thibault wrote: > > > Diego Nieto Cid, on Wed 04 Nov 2015 10:50:35 -0300, wrote: > > > >   assert (__hurd_local_reply_port == arg || arg == > MACH