32-bit binary compatibility on 5.3-amd64
zombyfork at gmail.com
Fri Jan 28 08:59:15 PST 2005
I was able to run this in 6.0-CURRENT on amd64. Compiled both for
64-bit and 32-bit.
On Fri, 28 Jan 2005 11:08:39 -0500 (EST), Rob Watt
<rob at hudson-trading.com> wrote:
> On Fri, 28 Jan 2005, Joseph Koshy wrote:
> > > I've run the /usr/src/tools/lib32/build32.sh script, and applied some
> > > other changes that people have reccomended, but basically our 32-bit
> > > applications all segfault when run on the amd64 machines.
> > Exactly what is the segfault? Could you post the output of ktrace on an example
> > process?
> a ktrace is attached for this sample code:
> #include <stdio.h>
> int main(int argc, char *argv)
> printf("char* %d\n", sizeof(char*));
> printf("int* %d\n", sizeof(int*));
> printf("void* %d\n", sizeof(void*));
> printf("long %d\n", sizeof(long));
> printf("double %d\n", sizeof(double));
> printf("int %d\n", sizeof(int));
> return 0;
> this was compiled on a 5.3 i386 machine with: g++ -g
> Rob Watt
> freebsd-amd64 at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe at freebsd.org"
More information about the freebsd-amd64