[Bug 1671246] [NEW] kexec-tools does not build for armhf

Launchpad Bug Tracker 1671246 at bugs.launchpad.net
Thu Mar 9 00:35:36 UTC 2017


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

[Impact]
On armhf system kexec build fails as follows:
gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-aliasing -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -I./include -I./util_lib/include -Iinclude/ -I./kexec/libfdt -I./kexec/arch/arm/include  -c -MD -o kexec/arch/arm/phys_to_virt.o kexec/arch/arm/phys_to_virt.c
make[1]: *** No rule to make target 'kexec/arch/arm/iomem.o', needed by 'build/sbin/kexec'.  Stop.

The fix for this issue is already upstream:

>From c901bae8683c59a7bc002bd6a1e3e4b6b7d9c5f1 Mon Sep 17 00:00:00 2001
From: Simon Horman <horms at verge.net.au>
Date: Fri, 9 Dec 2016 10:10:49 +0100
Subject: [PATCH] arm: do not build iomem.o target with no soruce

Header files should be added to the distribution but not
used to derive targets for compilation. In this an attempt was
made to build iomem.o, but iomem.c does not exist so this fails.

Fixes: 1574ff1aae4f ("arm: include phys_to_virt.h and iomem.h in distribution")
Signed-off-by: Simon Horman <horms at verge.net.au>
Reviewed-by: Pratyush Anand <panand at redhat.com>

[Test Case]
Build kexec-tools package from Xenial/Yakkety source in armhf system.

[Regression Potential]
Since patch is confined to arm there is a low overall risk of regression

** Affects: kexec-tools (Ubuntu)
     Importance: High
     Assignee: Manoj Iyer (manjo)
         Status: Incomplete


** Tags: patch
-- 
kexec-tools does not build for armhf
https://bugs.launchpad.net/bugs/1671246
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list