Bruce, Steve,

On Thu, Apr 1, 2021 at 2:00 AM Denys Dmytriyenko <de...@denix.org> wrote:

> Fixes:
> |   CALL
> /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh
> |   CALL
> /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/check-atomics.sh
> |   LDS     arch/arm64/kernel/vdso/vdso.lds
> |   CC      arch/arm64/kernel/vdso/vgettimeofday.o
> |   AS      arch/arm64/kernel/vdso/note.o
> |   AS      arch/arm64/kernel/vdso/sigreturn.o
> |   LD      arch/arm64/kernel/vdso/vdso.so.dbg
> |   VDSOSYM include/generated/vdso-offsets.h
> |   OBJCOPY arch/arm64/kernel/vdso/vdso.so
> | objcopy: Unable to recognise the format of the input file
> `arch/arm64/kernel/vdso/vdso.so.dbg'
> |
> /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/arch/arm64/kernel/vdso/Makefile:61:
> recipe for target 'arch/arm64/kernel/vdso/vdso.so' failed
>

One of our meta-qcom users hit this issue with dunfell
https://github.com/ndechesne/meta-qcom/issues/394

Backporting this patch to dunfell seems the right thing to do. The patch
applies cleanly and it fixes the problem for me.

e.g.
ddad8183490c (make-mod-scripts: pass CROSS_COMPILE to configure and build)

Feel free to add
Reported-by: Daniel Thompson <daniel.thomp...@linaro.org>
Signed-off-by: Nicolas Dechesne <nicolas.deche...@linaro.org>


> Cc: Bruce Ashfield <bruce.ashfi...@gmail.com>
> Cc: Nishanth Menon <n...@ti.com>
> Signed-off-by: Denys Dmytriyenko <de...@denix.org>
> ---
>  meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
> b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
> index 92ffa47..b2b50b9 100644
> --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
> +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
> @@ -19,7 +19,7 @@ DEPENDS += "bc-native bison-native"
>  DEPENDS += "gmp-native"
>
>  EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}"
> HOSTCPP="${BUILD_CPP}""
> -EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS}
> ${BUILD_LDFLAGS}""
> +EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS}
> ${BUILD_LDFLAGS}" CROSS_COMPILE=${TARGET_PREFIX}"
>
>  # Build some host tools under work-shared.  CC, LD, and AR are probably
>  # not used, but this is the historical way of invoking "make scripts".
> --
> 2.7.4
>
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#158780): 
https://lists.openembedded.org/g/openembedded-core/message/158780
Mute This Topic: https://lists.openembedded.org/mt/81764668/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to