[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[4.17 nice-to-have] Remaining Xen build output


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Anthony Perard <anthony.perard@xxxxxxxxxx>, Henry Wang <Henry.Wang@xxxxxxx>
  • From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
  • Date: Thu, 13 Oct 2022 14:58:18 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ahQ3Rfen9RhIqcV1rxlddnZ1tP4GYDAn6VnCDOLTQMc=; b=oNsQQq/XuWgj1s7ZnIeaqorSFQvMT40rm1Z8pprG8X0SU2j3tDfWz5FmYXkbmNcVbIWBYBusCXXr0TfKALc7qjz8guk1OepxDexYUKDiQEv/7GiFfo3EAQGstb7+mciktJnAR92q0CT7dLGrwuH0eNMagAPR5qz0nUIZAg7JQRAfFgOEDStTShC3d6JuXiGCg0wOg986pe34Gf7c+lCfxwtsa+hAsta1/3PDAk2ePcRK9pQ3repfARinbf3QpQ5tHF4q8Tx5rpJOknwxRjAdrxcsps0mUKNMH3WEPPOj7EBccgryyOvQ5h/VUeG3GQpHloQajt+RIa+oARDB8SEtmg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=W9OCLpNExtOAvpo483m4eEuZ46oRO2ixO5sJKpI4TUxWdPPmkKZ14ErnsPEq4mBIFmCyrC5faBUbf1trKySkIlu55S1hMBXOi+2MDvqMklyJ5SOIFnUHh7SdfK493MPVOObbWDYfxwYxetrTgeTMHM4gNnuSsaY8S8TooRcZIUIpULSpv8cSgdD6BcbzoCR2wdbQ0Ux4igScfaoI/KAZCx3EwdGkCxJ9c5JREClWuVng7yIPPeY+JP/zEOx+SvYOWPsgr/GShn6JW8r6Rp5LVIi8x4HPxete+cVfS2nkT64wdneo/S9YCdIgxoWv43W6cWHDXBSXM7FTrtgtOvSCxw==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Delivery-date: Thu, 13 Oct 2022 14:58:44 +0000
  • Ironport-data: A9a23:QU29aqlQRAlBRuC10lbChzbo5gycJ0RdPkR7XQ2eYbSJt1+Wr1Gzt xJMCmiHM/mNYzehfI0na97k9U4FsJSGmIUyHVBupCw3RCMWpZLJC+rCIxarNUt+DCFhoGFPt JxCN4aafKjYaleG+39B55C49SEUOZmgH+a6UqicUsxIbVcMYD87jh5+kPIOjIdtgNyoayuAo tq3qMDEULOf82cc3lk8tuTS9XuDgNyo4GlC5wRnPqgS1LPjvyJ94Kw3dPnZw0TQGuG4LsbiL 87fwbew+H/u/htFIrtJRZ6iLyXm6paLVeS/oiI+t5qK23CulQRrukoPD9IOaF8/ttm8t4sZJ OOhF3CHYVxB0qXkwIzxWvTDes10FfUuFLTveRBTvSEPpqFvnrSFL/hGVSkL0YMkFulfH2Vtr tAGEW43cxndpfPv0u3rT9Vur5F2RCXrFNt3VnBI6xj8VaxjeraaBqLA6JlfwSs6gd1IEbDGf c0FZDFzbRPGJRpSJlMQD5F4l+Ct7pX9W2QA9BTJ+uxqvC6PlWSd05C0WDbRUvWMSd9YgQCzo WXe8n6iKhobKMae2XyO9XfEaurnzXmlBdpJTefQGvhC22S62VcRUyAsehilp/zo0GmdHOhdJ BlBksYphe1onKCxdfHtUhv9rHOasxo0X9tLD/Z8+AyL0rDT4QuSGi4DVDEpQPwrstUnAwMj0 FChlsnsQzdotdWopWm1876VqXapP3EcK2YHPXUAVVFdv4Clp5wvhBXSSNolCLSyktD+BTD3x XaNsTQ6gLIQy8UM0s1X4Gz6vt5lnbCRJiZd2+kddjvNAt9RDGJ9W7GV1A==
  • Ironport-hdrordr: A9a23:evMPhqhmPWIZnaWfJD0Lcv+9s3BQX2p13DAbv31ZSRFFG/FwyP rCoB1L73XJYWgqM03IwerwXpVp2RvnhNZICPoqTM6ftW7dySCVxeBZnMLfKljbdxEWmdQtsZ uIH5IeNDSSNykxsS+Z2njeLz9I+rDun86VbIzlvhRQpHRRGsRdBnBCe2Sm+yNNJDVuNN4cLt 6x98BHrz2vdTA8dcKgHEQIWODFupniiI/mSQRuPW9q1CC+yReTrJLqGRmR2RkTFxlVx605zG TDmwvloo2+rvCAzAPG3WO71eUYpDKh8KoMOCW/sLlUFtzesHfqWG2nYczBgNkBmpDv1L/tqq iIn/5vBbU215qbRBDMnfKk4Xia7N9p0Q6u9bbQuwqfnSSyLghKcfZplMZXdADU5FEnu8w52K VX33iBv54SFh/Ymj/hjuK4Iy2Cu3DE00bKq9Rj+kB3QM8bcvtcvIYf9ERaHNMJGz/78pkuFK 1rANvH7PhbfFuGZzSB11MftuCETzA2BFOLU0ICssua33xfm2141VIRwIgakm0b/JwwRpFY76 DPM7hulrtJUsgKBJgNc9spUI+yECjAUBjMOGWdLRDuE7wGIWvEr9rt7LA89IiRCe81JVsJ6e T8uX9jxBAPkhjVeLGzNbVwg2/waXT4WyjxwcdD4JU8sqHgRdPQQFy+dGw=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Thread-index: AQHY3xQ6C+YspYbxIkKvIHBrdOccOg==
  • Thread-topic: [4.17 nice-to-have] Remaining Xen build output

Hi,

Having got Kbuild almost integrated, there are a few artefacts remaining
which it would be nice to address seeing as out-of-tree builds is a big
feature for 4.17.  Picking at parts of a build, we've got:

  CHK     include/headers++.chk
/usr/bin/make -C include/xen/lib/x86 -f
/builddir/build/BUILD/xen-4.17.0/xen/include/xen/lib/x86/Makefile all
  CPP     include/compat/arch-x86_32.i
  CPP     include/compat/features.i
/usr/bin/python
/builddir/build/BUILD/xen-4.17.0/xen/../xen/tools/gen-cpuid.py -i
/builddir/build/BUILD/xen-4.17.0/xen/../xen/include/public/arch-x86/cpufeatureset.h
-o cpuid-autogen.h.new
  CPP     include/compat/nmi.i
if ! cmp -s cpuid-autogen.h.new cpuid-autogen.h; then mv -f
cpuid-autogen.h.new cpuid-autogen.h; else rm -f cpuid-autogen.h.new; fi
  CPP     include/compat/physdev.i
  CPP     arch/x86/asm-macros.i
  CC      arch/x86/boot/cmdline.o
  BINFILE common/config_data.S
gzip -n -c .config >common/config.gz
  CC      common/core_parking.o
  UPD     arch/x86/include/asm/asm-macros.h
gcc -MMD -MP -MF ./.asm-offsets.s.d -m64 -DBUILD_ID -fno-strict-aliasing
-std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement
-Wno-unused-but-set-variable -Wno-unused-local-typedefs -O1
-fno-omit-frame-pointer -nostdinc -fno-builtin -fno-common -Werror
-Wredundant-decls -Wno-pointer-arith -Wvla -pipe -D__XEN__ -include
../include/xen/config.h -g -mindirect-branch=thunk-extern
-mindirect-branch-register -fno-jump-tables -I./include
-I./arch/x86/include -I../include -I../arch/x86/include
-I../arch/x86/include/asm/mach-generic
-I../arch/x86/include/asm/mach-default -DXEN_IMG_OFFSET=0x200000
-msoft-float -fno-pie -fno-stack-protector -fno-exceptions
-fno-asynchronous-unwind-tables -Wnested-externs -DHAVE_AS_VMX
-DHAVE_AS_SSE4_2 -DHAVE_AS_EPT -DHAVE_AS_RDRAND -DHAVE_AS_FSGSBASE
-DHAVE_AS_XSAVEOPT -DHAVE_AS_RDSEED -DHAVE_AS_CLAC_STAC -DHAVE_AS_CLWB
-DHAVE_AS_QUOTED_SYM -DHAVE_AS_INVPCID -DHAVE_AS_MOVDIR -DHAVE_AS_ENQCMD
-DHAVE_AS_NEGATIVE_TRUE -DHAVE_AS_NOPS_DIRECTIVE -mno-red-zone -fpic
-mno-mmx -mno-sse -mskip-rax-setup -fcf-protection=none
'-D__OBJECT_LABEL__=asm-offsets.s' -mpreferred-stack-boundary=3 -S -g0
-o asm-offsets.s.new -MQ asm-offsets.s ../arch/x86/x86_64/asm-offsets.c
if ! cmp -s asm-offsets.s.new asm-offsets.s; then mv -f
asm-offsets.s.new asm-offsets.s; else rm -f asm-offsets.s.new; fi
  CC      common/symbols-dummy.o
  CC      lib/x86/cpuid.o
ld -melf_i386  -N -T ../arch/x86/boot/build32.lds -o
arch/x86/boot/cmdline.lnk arch/x86/boot/cmdline.o
ld -melf_i386  -N -T ../arch/x86/boot/build32.lds -o
arch/x86/boot/reloc.lnk arch/x86/boot/reloc.o
objcopy -j .text -O binary arch/x86/boot/cmdline.lnk
arch/x86/boot/cmdline.bin
objcopy -j .text -O binary arch/x86/boot/reloc.lnk arch/x86/boot/reloc.bin
  CC      arch/x86/boot/head.o
  CC      drivers/acpi/tables/tbfadt.o
rm arch/x86/boot/cmdline.lnk arch/x86/boot/reloc.lnk
  CC      common/memory.o
  LD      prelink.o
ld    -melf_x86_64  -T arch/x86/xen.lds -N prelink.o --build-id=sha1 \
    ./common/symbols-dummy.o -o ./.xen-syms.0
  HOSTCC  arch/x86/boot/mkelf32
nm -pa --format=sysv ./.xen-syms.0 \
    | ./tools/symbols  --sysv --sort \
    >./.xen-syms.0.S
/usr/bin/make -f ../Rules.mk obj=. ./.xen-syms.0.o
  CC      .xen-syms.0.o
ld    -melf_x86_64  -T arch/x86/xen.lds -N prelink.o --build-id=sha1 \
    ./.xen-syms.0.o -o ./.xen-syms.1
nm -pa --format=sysv ./.xen-syms.1 \
    | ./tools/symbols  --sysv --sort --warn-dup \
    >./.xen-syms.1.S
/usr/bin/make -f ../Rules.mk obj=. ./.xen-syms.1.o
  CC      .xen-syms.1.o
ld    -melf_x86_64  -T arch/x86/xen.lds -N prelink.o --build-id=sha1 \
    --orphan-handling=warn ./.xen-syms.1.o -o xen-syms
nm -pa --format=sysv ./xen-syms \
    | ./tools/symbols --all-symbols --xensyms --sysv --sort \
    >./xen-syms.map
rm -f ./.xen-syms.[0-9]* ./..xen-syms.[0-9]*
arch/x86/boot/mkelf32 --notes xen-syms ./.xen.elf32 0x200000 \
               `nm xen-syms | sed -ne 's/^\([^ ]*\) .
__2M_rwdata_end$/0x\1/p'`
od -t x4 -N 8192 ./.xen.elf32  | grep 1badb002 > /dev/null || \
    { echo "No Multiboot1 header found" >&2; false; }
od -t x4 -N 32768 ./.xen.elf32 | grep e85250d6 > /dev/null || \
    { echo "No Multiboot2 header found" >&2; false; }
mv ./.xen.elf32 xen
gzip -n -f -9 < xen > xen.gz.new
{ nm -n xen-syms | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw]
\)\|\(\.\.ng$\)\|\(LASH[RL]DI\)'; \
awk < arch/x86/include/asm/asm-offsets.h \
'/^#define __ASM_OFFSETS_H__/ { next } ; /^#define / { printf "%016x -
+%s\n", $3, $2 }'; } > System.map
mv xen.gz.new xen.gz


Presumably all of these examples want switching from their current
ad-hoc logic to a cmd_* based version?  Are there some simple
instructions for how to convert?

~Andrew

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.