All of lore.kernel.org
 help / color / mirror / Atom feed
From: Doug Goldstein <cardoe@cardoe.com>
To: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Subject: Re: [PATCH v8 00/28] Kconfig conversion
Date: Wed, 16 Dec 2015 05:49:33 -0600	[thread overview]
Message-ID: <56714FCD.4010709@cardoe.com> (raw)
In-Reply-To: <1450262003.4053.7.camel@citrix.com>


[-- Attachment #1.1: Type: text/plain, Size: 3543 bytes --]

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
> 
> I tried this with:
> 
> $ git clean -fdqx xen
> $ make -C xen XEN_TARGET_ARCH=arm64 defconfig
> 
> Followed by running my usual build script which does:
> 
> + make -C xen XEN_TARGET_ARCH=arm64 DESTDIR=/tmp/tmpW3nFxB  /local/scratch/ianc/devel/arm/xen.git/xen/ debug=y CROSS_COMPILE=aarch64-linux-gnu- CONFIG_EARLY_PRINTK=fastmodel 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/scratch/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 
> aarch64-linux-gnu-ld: no input files
> /local/scratch/ianc/devel/arm/xen.git/xen/Rules.mk:143: recipe for target '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=arm64 DESTDIR=/tmp/tmpW3nFxB  /local/scratch/ianc/devel/arm/xen.git/xen/ debug=y CROSS_COMPILE=aarch64-linux-gnu- CONFIG_EARLY_PRINTK=fastmodel install
> + rm -rf /tmp/tmpW3nFxB
> 
> Adding -j12 also got another error which I suppose was blocked by the
> above:
> 
> aarch64-linux-gnu-gcc -O1 -fno-omit-frame-pointer -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -I/local/scratch/ianc/devel/arm/xen.git/xen/include -fno-stack-protector -fno-exceptions -Wnested-externs -mcpu=generic -mgeneral-regs-only -DGCC_HAS_VISIBILITY_ATTRIBUTE -nostdinc -fno-builtin -fno-common -Werror -Wredundant-decls -Wno-pointer-arith -pipe -g -D__XEN__ -include /local/scratch/ianc/devel/arm/xen.git/xen/include/xen/config.h '-D__OBJECT_FILE__="asm-offsets.s"' -fno-optimize-sibling-calls -DCONFIG_EARLY_PRINTK -DEARLY_PRINTK_INIT_UART -DEARLY_PRINTK_INC=\"debug-pl011.inc\" -DEARLY_PRINTK_BAUD=115200 -DEARLY_UART_BASE_ADDRESS=0x1c090000 -DEARLY_UART_REG_SHIFT= -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 <command-line>:0:0:
> /local/scratch/ianc/devel/arm/xen.git/xen/include/xen/config.h:10:32: fatal error: generated/autoconf.h: No such file or directory
>  #include <generated/autoconf.h>
>                                 ^
> 
> Running oldconfig didn't help.
> 
> I'm not sure what's wrong, x86_64 seems to behave the same.
> 
> Ian.
> 

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.

-- 
Doug Goldstein


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 959 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2015-12-16 11:49 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-15 13:12 [PATCH v8 00/28] Kconfig conversion Doug Goldstein
2015-12-15 13:12 ` [PATCH v8 01/28] build: import Kbuild/Kconfig from Linux 4.3 Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 02/28] MAINTAINERS: add myself for kconfig Doug Goldstein
2015-12-15 21:58   ` Doug Goldstein
2015-12-16  7:39     ` Jan Beulich
2015-12-15 22:39   ` [PATCH] " Doug Goldstein
2015-12-16  7:27     ` Jan Beulich
2015-12-16 10:49       ` Doug Goldstein
2015-12-16 14:41         ` Doug Goldstein
2016-01-05 12:07           ` Ian Campbell
2016-01-06 13:45             ` Jan Beulich
2016-01-06 14:26               ` Tim Deegan
2016-01-06 14:40                 ` Jan Beulich
2016-01-06 14:58                   ` Ian Jackson
2016-01-06 14:42                 ` Ian Campbell
2016-01-06 15:31                 ` Lars Kurth
2016-01-06 16:30                   ` Ian Jackson
2016-01-14 17:19                     ` Lars Kurth
2016-01-14 17:24                       ` Ian Campbell
2016-01-15 15:59                         ` Ian Campbell
2016-01-15 16:17                           ` Jan Beulich
2016-01-18 17:05           ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 03/28] build: build Kconfig and config rules Doug Goldstein
2015-12-16 10:27   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 04/28] build: use generated Kconfig options for Xen Doug Goldstein
2015-12-16 10:27   ` Ian Campbell
2015-12-16 10:33   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 05/28] build: convert HAS_PASSTHROUGH use to Kconfig Doug Goldstein
2015-12-15 21:25   ` Daniel De Graaf
2015-12-16 10:34   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 06/28] build: convert HAS_DEVICE_TREE " Doug Goldstein
2015-12-15 21:25   ` Daniel De Graaf
2015-12-16 10:34   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 07/28] build: convert HAS_PCI " Doug Goldstein
2015-12-15 21:26   ` Daniel De Graaf
2015-12-15 13:13 ` [PATCH v8 08/28] build: convert HAS_NS16550 " Doug Goldstein
2015-12-16 10:34   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 09/28] build: convert HAS_IOPORTS " Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 10/28] build: convert HAS_ACPI " Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 11/28] build: convert HAS_VIDEO " Doug Goldstein
2015-12-16 10:35   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 12/28] build: convert HAS_VGA " Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 13/28] build: convert HAS_CPUFREQ " Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 14/28] build: convert HAS_GDBSX " Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 15/28] build: convert HAS_PDX " Doug Goldstein
2015-12-16 10:35   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 16/28] build: convert HAS_KEXEC / KEXEC " Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 17/28] build: convert HAS_ARM_HDLCD " Doug Goldstein
2015-12-16 10:35   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 18/28] build: convert HAS_CADENCE_UART " Doug Goldstein
2015-12-16 10:36   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 19/28] build: convert HAS_PL011 " Doug Goldstein
2015-12-16 10:36   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 20/28] build: convert HAS_EXYNOS4210 " Doug Goldstein
2015-12-16 10:36   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 21/28] build: convert HAS_OMAP " Doug Goldstein
2015-12-16 10:38   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 22/28] build: convert HAS_SCIF " Doug Goldstein
2015-12-16 10:38   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 23/28] build: convert HAS_EHCI " Doug Goldstein
2015-12-15 13:13 ` [PATCH v8 24/28] build: convert HAS_MEM_ACCESS " Doug Goldstein
2015-12-15 21:26   ` Daniel De Graaf
2015-12-16 10:38   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 25/28] build: convert HAS_MEM_PAGING " Doug Goldstein
2015-12-15 21:27   ` Daniel De Graaf
2015-12-16 10:39   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 26/28] build: convert HAS_MEM_SHARING " Doug Goldstein
2015-12-15 21:27   ` Daniel De Graaf
2015-12-15 13:13 ` [PATCH v8 27/28] build: convert HAS_GICV3 " Doug Goldstein
2015-12-16 10:39   ` Ian Campbell
2015-12-15 13:13 ` [PATCH v8 28/28] build: convert CONFIG_COMPAT " Doug Goldstein
2015-12-15 15:23   ` Jan Beulich
2015-12-16 12:00     ` [PATCH] " Doug Goldstein
2015-12-16 12:52       ` Jan Beulich
2015-12-16 17:01       ` Jan Beulich
2015-12-17 16:00         ` Doug Goldstein
2015-12-16 12:02     ` [PATCH v8 28/28] " Doug Goldstein
2015-12-16  7:37 ` [PATCH v8 00/28] Kconfig conversion Jan Beulich
2015-12-16 10:41   ` Ian Campbell
2015-12-16 14:38   ` Doug Goldstein
2015-12-16 10:33 ` Ian Campbell
2015-12-16 10:43   ` Ian Campbell
2015-12-16 11:42   ` [PATCH] squash into 'build: use generated Kconfig options for Xen' Doug Goldstein
2015-12-16 11:55     ` Ian Campbell
2015-12-16 11:49   ` Doug Goldstein [this message]
2015-12-18 10:30 ` [PATCH v8 00/28] Kconfig conversion Ian Campbell
2015-12-18 14:20   ` Doug Goldstein
2015-12-18 14:55     ` Juergen Gross
2015-12-18 15:06       ` Andrew Cooper
2015-12-18 15:16         ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56714FCD.4010709@cardoe.com \
    --to=cardoe@cardoe.com \
    --cc=ian.campbell@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.