Hi,

On Thu, 2012-07-12 at 09:47 +0000, Mark Morgan Lloyd wrote:
> Ludo Brands wrote:
>
> Builds OK on SPARC Solaris 10 using 2.6.0, but on running get a 
> consistent error
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to LWP 4]
> 0x004b08b8 in TPQCONNECTION__LOADFIELD (CURSOR=0xfad601a0, 
> FIELDDEF=0xfad30f20, BUFFER=0xfa5f00bc, CREATEBLOB=fa
> 803               if FIntegerDatetimes then dbl^ := pint64(buffer)^/1000000;

Not sure if it applies to your case, but afaik SPARC requires natural
alignment for memory accesses. "buffer" is not aligned to 8 bytes
here... (0xfa5f00bc <---)

Thomas

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to