Beta 16 funnies....

From: Stewart Forster <slf@dont-contact.us>
Date: Thu, 05 Mar 1998 17:49:24 +1100

Hiya,

        Squid 1.2 beta 16 on a Solaris 2.5.1 OS compiled with SparcWorks C
Compiler V4.2

        When I have siblings or parents, squid will die in icpHandleIcpV2()
This occurs if squid is compiled with optimisation, or without. If squid
is then subsequently compiled with -g (debug), it all works fine.

        Conclusions:

        Someone has possibly changed the structure definitions for the internal
        ICP structures cause the BUS misalignment errors I'm seeing.

        Sun's Sparcworks C compiler is not smart enough to avoid this.

        In debug mode, the C compiler is maintaining enough structure padding
        to avoid the misalignment problems.

        Action:

        Could whoever changed the structure def's or modded the code recently
        please take a little look since they would be faster at it 'cos they
        know what they've done. In particular, look for potential sources of
        word misalignment through basic levels of optimisation.

        Cheers,

                Stew.
Received on Tue Jul 29 2003 - 13:15:47 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:44 MST