Re: [gnet-dev] a few patches and some bugs
- From: mcmahill mtl mit edu
- To: David Helder <dhelder umich edu>
- Cc: gnet-dev gnetlibrary org
- Subject: Re: [gnet-dev] a few patches and some bugs
- Date: Wed, 12 Feb 2003 19:37:07 -0500 (EST)
I haven't tried 1.1.8 yet, will do soon. If the alignment problems still
exist I'll see if I can figure out how to track it down with the debugger.
-Dan
On Wed, 12 Feb 2003, David Helder wrote:
>
> Dan,
>
> Did you try gnet-1.1.8? That should fix the bugs in pack_test.c.
>
> Using gsize is a good idea. I'll take a look at updating iochannel
> appropriately.
>
> Do you know where the alignment problems are occuring? Could be in the
> inetaddr/socket code...
>
> Thanks,
> David
>
>
> On Wed, 12 Feb 2003 mcmahill mtl mit edu wrote:
> > Here are a few patches I needed to get gnetlibrary to compile on my alpha.
> > There are still a few bugs as the test.log file shows. It seems like the
> > PACK2 macro isn't quite 64-bit clean although I haven't had a chance to
> > try and fully understand what its doing.
> >
> > Also, while the tests were running, I got a few unaligned access warnings.
> > This happens when you try and access, for example, a 32 bit value which is
> > not aligned on a 32 bit boundary. If you had a char * and cast to an
> > int * and try and dereference it, this can happen. In my case, the kernel
> > fixes it up, but it slows down the program and gives these annoying
> > messages.
> >
> > Hope this is useful information to someone.
>
>
> --
> David Helder - dhelder umich edu - <http://www.eecs.umich.edu/~dhelder>
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]