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

Re: [Xen-devel] [PATCH v8 00/28] Kconfig conversion



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: signature.asc
Description: OpenPGP digital signature

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

 


Rackspace

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