On 2015-05-31, at 11:30 PM, Martin Husemann wrote:
> On Sun, May 31, 2015 at 04:20:53PM -0700, Greg A. Woods wrote:
>> Here's the first interesting part of a diff of the "objdump --disassemble"
>> between two i386 kernels built from the same source within a few minutes
>> of each other, but the one on the left was built on a native i386
>> machine and the one on the right was built on an amd64 machine (in a Xen
>> domU), running netbsd-4 and netbsd-5 respectively:
>
> Just to make sure: you did build those kerenels with
>
> build.sh kernel=CONFIG
>
> or the (mostly equivalent) $TOOLDIR/bin/nbmake-i386 (and not
> just "make && make depend")?
Yes, with build.sh, i.e. the $TOOLDIR compiler (not the host compiler)
(except I seem to have exaggerated about the "few minutes of each other"
as it appears more like "a few hours of each other")
===> Summary of results:
build.sh command: ./build.sh -j 8 -N 1 -m i386 -V MAKECONF=${NETBSDSRCDIR}/etc/mk.conf -u -U -D /build/woods/building/netbsd-5-i386-ppro-destdir -R /build/woods/building/netbsd-5-i386-ppro-release -T /build/woods/building/netbsd-5-amd64-i386-tools -M /build/woods/building/netbsd-5-amd64-i386-ppro-obj kernel=XEN3PAE_DOMU_X
build.sh started: Sun May 31 15:43:32 PDT 2015
NetBSD version: 5.2_STABLE
MACHINE: i386
MACHINE_ARCH: i386
Build platform: NetBSD 5.2_STABLE amd64
HOST_SH: /bin/sh
TOOLDIR path: /build/woods/building/netbsd-5-amd64-i386-tools
DESTDIR path: /build/woods/building/netbsd-5-i386-ppro-destdir
RELEASEDIR path: /build/woods/building/netbsd-5-i386-ppro-release
makewrapper: /build/woods/building/netbsd-5-amd64-i386-tools/bin/nbmake-i386
Updated /build/woods/building/netbsd-5-amd64-i386-tools/bin/nbmake-i386
Building kernel without building new tools
Building kernel: XEN3PAE_DOMU_X
Build directory: /build/woods/building/netbsd-5-amd64-i386-ppro-obj/work/woods/m-NetBSD-5/sys/arch/i386/compile/XEN3PAE_DOMU_X
Kernels built from XEN3PAE_DOMU_X:
/build/woods/building/netbsd-5-amd64-i386-ppro-obj/work/woods/m-NetBSD-5/sys/arch/i386/compile/XEN3PAE_DOMU_X/netbsd
build.sh ended: Sun May 31 15:46:24 PDT 2015
===> Summary of results:
build.sh command: ./build.sh -j 8 -N 1 -m i386 -V MAKECONF=${NETBSDSRCDIR}/etc/mk.conf -u -U -D /build/woods/once/netbsd-5-i386-ppro-destdir -R /build/woods/once/netbsd-5-i386-ppro-release -T /build/woods/once/netbsd-5-i386-i386-tools -M /build/woods/once/netbsd-5-i386-i386-ppro-obj kernel=XEN3PAE_DOMU_X
build.sh started: Sun May 31 13:54:50 PDT 2015
NetBSD version: 5.2_STABLE
MACHINE: i386
MACHINE_ARCH: i386
Build platform: NetBSD 4.0_STABLE i386
HOST_SH: /bin/sh
TOOLDIR path: /build/woods/once/netbsd-5-i386-i386-tools
DESTDIR path: /build/woods/once/netbsd-5-i386-ppro-destdir
RELEASEDIR path: /build/woods/once/netbsd-5-i386-ppro-release
makewrapper: /build/woods/once/netbsd-5-i386-i386-tools/bin/nbmake-i386
Updated /build/woods/once/netbsd-5-i386-i386-tools/bin/nbmake-i386
Building kernel without building new tools
Building kernel: XEN3PAE_DOMU_X
Build directory: /build/woods/once/netbsd-5-i386-i386-ppro-obj/building/work/woods/m-NetBSD-5/sys/arch/i386/compile/XEN3PAE_DOMU_X
Kernels built from XEN3PAE_DOMU_X:
/build/woods/once/netbsd-5-i386-i386-ppro-obj/building/work/woods/m-NetBSD-5/sys/arch/i386/compile/XEN3PAE_DOMU_X/netbsd
build.sh ended: Sun May 31 14:02:29 PDT 2015
--
Greg A. Woods
+1 250 762-7675 RoboHack <woods%robohack.ca@localhost>
Planix, Inc. <woods%planix.com@localhost> Secrets of the Weird <woods%weird.com@localhost>
Attachment:
PGP.sig
Description: This is a digitally signed message part