httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Stein <>
Subject Re: binary backwards compatability.
Date Thu, 30 Mar 2000 03:13:42 GMT
On Wed, 29 Mar 2000, Manoj Kasichainula wrote:
> On Wed, Mar 29, 2000 at 09:51:34PM -0500, Jim Jagielski wrote:
> > Hmmm. I don't think that ANSI can re_order_ structs. I think it
> > says stuff about not expecting anything non-portable about
> > alignment between struct entries. But it can't shuffle those
> > entries around.
> Well, lets say that I compile Apache with gcc -march=i386 on one box
> and gcc -march=pentiumpro on another. I'm guessing (but haven't
> checked) that alignment of the structures will change. Maybe different
> cc's on the same platform will produce different alignments as well.
> This is just as bad as field reordering.

It is assumed that modules are compiled with the same flags as Apache.
That is what the "apxs -q" stuff is for -- find out what flags were used
for the Apache compile.


Greg Stein,

View raw message