Re: [9fans] P9P on Solaris

2008-05-28 Thread Brian L. Stuart
> > I know it's been a while, but that got me farther. The > > odd thing is that I had already played with the magic > > define, but it seems that __sun__ wasn't getting set. > > Bug in 9c. Fixed and pushed. Cool. > Please compare against the BSD sources if you get > a chance -- I hope I just

Re: [9fans] P9P on Solaris

2008-05-28 Thread Russ Cox
> I know it's been a while, but that got me farther. The > odd thing is that I had already played with the magic > define, but it seems that __sun__ wasn't getting set. Bug in 9c. Fixed and pushed. > - There's also a discrepancy between the V1 inode > defined in ffs.h and the one defined in the

Re: [9fans] P9P on Solaris

2008-05-28 Thread Brian L. Stuart
> That's probably because the stack pointer points at > the wrong end of the stack. There are some magic > #defines you can put in that change the meaning of > ... > Once you get the thread library working, > you will probably have to add support for > the Solaris FS to libdiskfs, unless it is the

Re: [9fans] P9P on Solaris

2008-05-15 Thread Russ Cox
> Thanks, that got me farther. I was able to coerce it > to build the libraries and some applications. But, > surprise surprise, the threading isn't working. In > playing the the tprimes thread test program, I've found > that it's aborting in needstack(). The first time > it gets called, t->stk

Re: [9fans] P9P on Solaris

2008-05-15 Thread Brian L. Stuart
> I'm sorry about that. There aren't supposed to be > anonymous unions and structs in the source code, > but they creep in. I've removed them from hfs.h. Thanks, that got me farther. I was able to coerce it to build the libraries and some applications. But, surprise surprise, the threading is

Re: [9fans] P9P on Solaris

2008-05-13 Thread Russ Cox
> What compiler has been successfully used to build > p9p on Solaris? I've got a Solaris 9 install and > have tried the gcc 2.95 from the extras cd and Sun > Studio 11 and both have heartburn on the anonymous > unions and structs used in hfs.h in libdiskfs. I'm sorry about that. There aren't sup

[9fans] P9P on Solaris

2008-05-13 Thread Brian L. Stuart
What compiler has been successfully used to build p9p on Solaris? I've got a Solaris 9 install and have tried the gcc 2.95 from the extras cd and Sun Studio 11 and both have heartburn on the anonymous unions and structs used in hfs.h in libdiskfs. Thanks, BLS