<br><font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">I just downloaded spread-4.0.0 and compiled
it for sun sparc solaris.</font>
<br>
<br><font size=2 face="sans-serif">Unfortunately, I got a bus error when
starting spread daemon, caused by the following</font>
<br><font size=2 face="sans-serif">macro in stdutil.c:</font>
<br>
<br><font size=2 face="sans-serif"># &nbsp;define stdhcode_sfh_get16bits(d)
( ((stduint32) *((const stduint8 *)(d) + 1) &lt;&lt; 8) | *(const stduint32
*)(d) )</font>
<br>
<br><font size=2 face="sans-serif">It is the &nbsp;' &nbsp;*(const stduint32
*)(d) &nbsp;' that sparc doesn't like when d doesn't point to an aligned
integer. &nbsp;</font>
<br>
<br><font size=2 face="sans-serif">For me it looks as if one tries to flip
the bytes in a short (big endian to little endian), in which case the following</font>
<br><font size=2 face="sans-serif">should do the same thing but without
the bus error:</font>
<br>
<br><font size=2 face="sans-serif"># &nbsp;define stdhcode_sfh_get16bits(d)
( ((stduint32) *((const stduint8 *)(d) + 1) &lt;&lt; 8) | &nbsp;(stduint32)*(const
stduint8 *)(d) &nbsp;)</font>
<br>
<br><font size=2 face="sans-serif">Has anybody else done a similar change?
</font>
<br>
<br><font size=2 face="sans-serif">/Drago<br>
<br>
_______________________________________________________________________________________________________________
<br>
This e-mail communication (and any attachment/s) may contain confidential
or privileged information and is intended only for the individual(s) or
entity named above and to others who have been specifically authorized
to receive it. If you are not the intended recipient, please do not read,
copy, use or disclose the contents of this communication to others. Please
notify the sender that you have received this e-mail in error by reply
e-mail, and delete the e-mail subsequently. Please note that in order to
protect the security of our information systems an AntiSPAM solution is
in use and will browse through incoming emails. <br>
Thank you. <br>
_________________________________________________________________________________________________________________
<br>
<br>
Ce message (ainsi que le(s) fichier/s), transmis par courriel, peut contenir
des renseignements confidentiels ou protégés et est destiné à l&#8217;usage
exclusif du destinataire ci-dessus. Toute autre personne est par les présentes
avisée qu&#8217;il est strictement interdit de le diffuser, le distribuer ou
le reproduire. Si vous l&#8217;avez reçu par inadvertance, veuillez nous en
aviser et détruire ce message. Veuillez prendre note qu'une solution antipollupostage
(AntiSPAM) est utilisée afin d'assurer la sécurité de nos systems d'information
et qu'elle furètera les courriels entrant.<br>
Merci. <br>
_________________________________________________________________________________________________________________
<br>
<br>
</font>