freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Dale P. Smith" <smithd AT bellhow.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: convert_int4 on Solaris(Sparc)
- Date: Fri, 29 Jan 1999 16:41:45 -0500
Gregg Jensen wrote:
>
> I have whittled one particular problem on Solaris(sparc) down to the
> convert_int4. It seems to
> be choking (core dump) on :
>
> *(TDS_INT*)src
>
> I have the same test compiled on Linux (with the same version from CVS) and
> it works just fine.
> If you have any ideas why Solaris (using gcc-2.7.2) might choke on this?
> When I run through the
> debugger and stop before this line, and execute 'print *(TDS_INT*)src' it
> works just fine (the
> correct value gets printed). I used the old conversion code (from an older
> version of dblib with
> the proper modifications), and the correct values get printed and no core
> dumps. Any ideas?
Sparcs need to be word aligned when accessing words. What is the value
of src? Is on a 4 byte
address? What I mean is (src % 4) needs to be 0.
Dale
-
Re: convert_int4 on Solaris(Sparc),
Gregg Jensen, 01/29/1999
- <Possible follow-up(s)>
- Re: convert_int4 on Solaris(Sparc), Dale P. Smith, 01/29/1999
- Re: convert_int4 on Solaris(Sparc), Kevin, 01/29/1999
- Re: convert_int4 on Solaris(Sparc), Brian Bruns, 01/29/1999
- Re: convert_int4 on Solaris(Sparc), Brian Bruns, 01/29/1999
Archive powered by MHonArc 2.6.24.