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

Re: [Xen-devel] [XEN PATCH v3 00/23] xen: Build system improvements

On Thu, Feb 27, 2020 at 09:17:51PM +0000, Stewart Hildebrand wrote:
> Thanks for your efforts with this. With your br.build-system-xen-v3
> branch, I'm having trouble doing an aarch64 build with early printk
> enabled. I suspect the following unmerged patch that Julien authored
> last September may have some helpful information:
> https://lists.xenproject.org/archives/html/xen-devel/2019-09/msg01207.html

Thank you Stewart for testing! And thanks for pointing out Julien's
patch, that looks like the best way to fix the problem. I'll fix the

The issue is in patch
    [XEN PATCH v3 15/23] xen/build: have the root Makefile generates the CFLAGS
where EARLY_PRINTK isn't set when needed anymore.

> I tried the following...
> echo "CONFIG_DEBUG=y" > xen/arch/arm/configs/arm64_defconfig
> make -C xen XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 
> CONFIG_EARLY_PRINTK=zynqmp defconfig
> make XEN_TARGET_ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- 
> CONFIG_EARLY_PRINTK=zynqmp dist-xen
> ... but I was met with:
> prelink.o:(.data+0x578): undefined reference to `early_puts'
> aarch64-linux-gnu-ld: /home/stew/rpi/xen/xen/.xen-syms.0: hidden symbol 
> `early_puts' isn't defined


Anthony PERARD

Xen-devel mailing list



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