Coda File System

Re: ulocoda on OS X


Date: Tue, 26 Mar 2013 10:02:35 -0400
26 mar 2013 kl. 13:57 skrev <u-codalist-9wcu_at_aetey.se>
:

> On Tue, Mar 26, 2013 at 11:09:51AM +0100, Piotr Isajew wrote:
>> To compile 64-bit tenaron I had to remove -DNONSTD_SOURCE flag
>> from Makefile, but then I had to deal with several errors within
>> interpose.c and implementation of various interposers. In 64-bit
>> version of system library some symbols do not exist or have
>> different names than in 32-bit one, so a lot of interposers table
>> entries needs to be rewritten. For the same reason I got plenty
>> of errors in interposers code. I managed to correct to some of
>> them, but I've gave up for now on getdirentries() & friends. This
>> part is something to be done thoroughly, as if something goes
>> wrong here it won't be even possible to do "ls /coda". 

I can guess. The getdirentries() stuff was quite a hassle to get through in 10.5. 
For some reason, Apple did not put any hooks into that part which led to that I had to
reimplement getdirentries(). That wasn't fun. If for some reason, the hooks are there now,
it might be better to utilize Apple's code instead.

>> 
>> As the rest of stuff consumed most of the time I then had for
>> playing with this, I didn't get any further. Maybe I'll be able
>> to make another approach during Easter.
> 
> You did a great job Piotr. I hope you will be able to finish it.
> 
>> Oh, yes... there is also some python stuff to deal
>> with. terra-start crashes with: 
>> 
>> AssertionError: Thread.__init__() not called
>> 
>> which I fixed by adding call to parent constructor in terra.py:591
>> threading.Thread.__init__(self)
> 
> Oh nice if this was all that was missing for python.


> 
>> After that fix terra starts. What's needed to be done is to fix
>> interposers code to match system library from 10.6, and with a
>> lot of luck we will see something working then. 
> 
> At least the fact that you could compile it for 32-bit gives a hope that
> Apple will not radically change the 64-bit interfaces with every version
> later on.
> 
> Keep us informed!

Btw. Thanks for accepting the challenge of digging into my old code.
Unfortunately I don't have the time or energy to get much into it anymore. 
I'm on the list though and will be watching with interested eyes, so feel free to ask things.

-- Christer
Received on 2013-03-26 12:19:36
Binary file ./codalist-2013/9258.html matches