This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

data alignment issue?


Hi,

	I'm trying to set up gcc-3.2.2 for a fairly large code base for a mortgage analytics system.  For unfortunate historical reasons, developers and users running SPARC/Solaris 2.8 are compiling with 2.95.3, and those running SPARC/Solaris 5.5.x compile with 2.7-97r2.  I'm almost done: the entire code base compiles, the applications run, and I'm testing now.  One of the applications has functionality that includes writing out structures (all of which derive from a base class with data) in binary format and reading them back in.  It depends on the layout to do this.  I've found that the application compiled with 3.2.2 does okay most of the time, but there are certain (reproducible) situations where either memory is getting hammered or the layout is different, so the structs are not being properly re-loaded.
	Is there a difference between how data in structs is laid out since 2.95x that it would help me to know about, or has anyone heard about a similar problem and possible workaround or solution?  Thanks in advance for any consideration of the issue.

Best regards,
Josh Loeb


Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]