[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] mkelf32 for 64-bit machines from powerpc
While attempting to get xen to crosscompile for the opteron from a powerpc machine, I discovered a small bug in mkelf32. mkelf32 assumes that u64 is an unsigned long on powerpc machines, causing it to fail when crosscompiling opteron binaries. Simple fix: on line 37, change #if defined(__i386__) to #if defined(__i386__) || defined(__ppc__)A better long-term fix that uses things like uint64_t might be preferable, but this was sufficient to get things to compile and xen to build. I haven't tried to boot xen on qemu yet; that's the next step once I fix some minor problems causing chk build to fail on curl and zlib. -Patrick Bridges Attachment:
PGP.sig _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |