X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Mon, 15 Nov 2004 00:47:37 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp-workers AT delorie DOT com Message-ID: <01c4ca9c$Blat.v2.2.2$15f80060@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <01c4c9cb$Blat.v2.2.2$29550bc0@zahav.net.il> (eliz@gnu.org) Subject: Re: Alignment problem on Windows XP References: <10411131756 DOT AA83688 AT clio DOT rice DOT edu> <01c4c9cb$Blat.v2.2.2$29550bc0 AT zahav DOT net DOT il> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Sat, 13 Nov 2004 23:52:05 +0200 > From: "Eli Zaretskii" > > > From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) > > Date: Sat, 13 Nov 2004 11:56:17 -0600 (CST) > > > > I would first want to check the binary image used by the user with the > > problem - it could be some installation problem that generates bad > > executables? > > I asked the user for the binary, being unable to reproduce the problem > on 2 XP boxes I have access to. Got the binary from him, and sure enough, it prints 4 on Windows 98 as well. After doing some experimentation, I found that if I link the program with libc.a from djdev203.zip that is on ftp.delorie.com, I get unaligned addresses as well. My usual libc.a is the one from the original djdev203.zip, the one built on Jan 4 2000, with a few patches applied manually over the years, but none of the W2K-related ones. Can someone see if they can reproduce this problem with the latest libc.a we have on ftp.delorie.com? (Note that I only used libc.a from there, but not the headers or the stub or the linker script.) TIA