From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Goldstein Subject: Re: [PATCH v8 00/28] Kconfig conversion Date: Wed, 16 Dec 2015 05:49:33 -0600 Message-ID: <56714FCD.4010709@cardoe.com> References: <1450185206-14259-1-git-send-email-cardoe@cardoe.com> <1450262003.4053.7.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1431462797955572692==" Return-path: In-Reply-To: <1450262003.4053.7.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============1431462797955572692== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R8nPhK1OtXettaURnLpOLIuQxElFQGdtk" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --R8nPhK1OtXettaURnLpOLIuQxElFQGdtk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/16/15 4:33 AM, Ian Campbell wrote: > On Tue, 2015-12-15 at 07:12 -0600, Doug Goldstein wrote: >> The patch series can be grabbed at: >> https://github.com/cardoe/xen/tree/kconfig_v8 >=20 > I tried this with: >=20 > $ git clean -fdqx xen > $ make -C xen XEN_TARGET_ARCH=3Darm64 defconfig >=20 > Followed by running my usual build script which does: >=20 > + make -C xen XEN_TARGET_ARCH=3Darm64 DESTDIR=3D/tmp/tmpW3nFxB /local/= scratch/ianc/devel/arm/xen.git/xen/ debug=3Dy CROSS_COMPILE=3Daarch64-lin= ux-gnu- CONFIG_EARLY_PRINTK=3Dfastmodel install > make: Entering directory '/local/scratch/ianc/devel/arm/xen.git/xen' > make -f /local/scratch/ianc/devel/arm/xen.git/xen/Rules.mk -C /local/sc= ratch/ianc/devel/arm/xen.git/xen built_in.o built_in_bin.o > make[1]: Entering directory '/local/scratch/ianc/devel/arm/xen.git/xen'= > aarch64-linux-gnu-ld -EL -EL -r -o built_in.o=20 > aarch64-linux-gnu-ld: no input files > /local/scratch/ianc/devel/arm/xen.git/xen/Rules.mk:143: recipe for targ= et 'built_in.o' failed > make[1]: *** [built_in.o] Error 1 > make[1]: Leaving directory '/local/scratch/ianc/devel/arm/xen.git/xen' > Makefile:232: recipe for target '/local/scratch/ianc/devel/arm/xen.git/= xen/' failed > make: *** [/local/scratch/ianc/devel/arm/xen.git/xen/] Error 2 > make: Leaving directory '/local/scratch/ianc/devel/arm/xen.git/xen' > E: failed: make -C xen XEN_TARGET_ARCH=3Darm64 DESTDIR=3D/tmp/tmpW3nFxB= /local/scratch/ianc/devel/arm/xen.git/xen/ debug=3Dy CROSS_COMPILE=3Daa= rch64-linux-gnu- CONFIG_EARLY_PRINTK=3Dfastmodel install > + rm -rf /tmp/tmpW3nFxB >=20 > Adding -j12 also got another error which I suppose was blocked by the > above: >=20 > aarch64-linux-gnu-gcc -O1 -fno-omit-frame-pointer -g -fno-strict-aliasi= ng -std=3Dgnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -= Wno-unused-but-set-variable -Wno-unused-local-typedefs -I/local/scratch/i= anc/devel/arm/xen.git/xen/include -fno-stack-protector -fno-exceptions -W= nested-externs -mcpu=3Dgeneric -mgeneral-regs-only -DGCC_HAS_VISIBILITY_A= TTRIBUTE -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wn= o-pointer-arith -pipe -g -D__XEN__ -include /local/scratch/ianc/devel/arm= /xen.git/xen/include/xen/config.h '-D__OBJECT_FILE__=3D"asm-offsets.s"' -= fno-optimize-sibling-calls -DCONFIG_EARLY_PRINTK -DEARLY_PRINTK_INIT_UART= -DEARLY_PRINTK_INC=3D\"debug-pl011.inc\" -DEARLY_PRINTK_BAUD=3D115200 -D= EARLY_UART_BASE_ADDRESS=3D0x1c090000 -DEARLY_UART_REG_SHIFT=3D -DVERBOSE = -fno-omit-frame-pointer -DCONFIG_FRAME_POINTER -MMD -MF ./.asm-offsets.s.= d -S -o asm-offsets.s arm64/asm-offsets.c > In file included from :0:0: > /local/scratch/ianc/devel/arm/xen.git/xen/include/xen/config.h:10:32: f= atal error: generated/autoconf.h: No such file or directory > #include > ^ >=20 > Running oldconfig didn't help. >=20 > I'm not sure what's wrong, x86_64 seems to behave the same. >=20 > Ian. >=20 So in an effort to retain the discussion. The first issue appears to be related to the extra path on the command because for this failure to happen objs-y would have been empty. Ian had made some changes to his script and is not unable to reproduce it. The second issue is because the install target does not depend on the build target but instead depends on the same output as the build target. So the rule to generate these files needs to cover the install target. I've submitted a patch that should resolve the issue and will be squashed in on my next repost. --=20 Doug Goldstein --R8nPhK1OtXettaURnLpOLIuQxElFQGdtk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJWcU/QXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvUBNMP/3QDkz+tW0R6HABlBHctcbZR ZFp9V2bauDifNzHaqie0AmBHFoYNRe8VY74V6ePYWgdrJBM77X3t3znLsb6xT+kZ KxInuXQj46lmypDG0wVlV9c3pJRITbWCfK9ZWvU5+V6ZCGURNR6tiQMwa0OZwsVy WTbc543NAskmKr9FS9ut6IlisOA2ituTHLMEDWzp8zttOF9E8Xsvr/U0qbD31rha icS85VaLE+CZK1geDuhGD6V4J5ZAEOJgDKpBhNdSAnUL7jDosPi7+G7t0/y0NVia SL4xXOx7D5rRVvi/gKb1ulrAI2XDU3zltSMRy/6iTYmJMWynmsv9g0Ccc9kZUhBu b4YLRcp2wAjI7oM0+vnzSH2BtROHkwdxJ9RnLIN76A7f0sFx/+KY2mJc1uSscu5C j7F58BApBujdrm4F1VvK8U4Ph7aOdbA1g7pwbLU553ujaOdNEeutJPwl261IW+0T VfXfMofbt2nrPjEP0R5p49NYYw3ROemUd4p0EfEE0OBxvrCtFNX6yGCPmCuHzzg1 SA57vq1fEmcELplyU9D6a7/UjbObZE0uLfNhWDvQBYlXjKbT/SSA3KBGyXD8XrMQ WrcQ0SXJ4NI2oKBTftUZ11mskahGoyGTVs7D1Qw9kWm8aUED86/kCNOhBxI1q+pS oUI/Yns4YUc01UWAlZvZ =cSH6 -----END PGP SIGNATURE----- --R8nPhK1OtXettaURnLpOLIuQxElFQGdtk-- --===============1431462797955572692== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1431462797955572692==--