[Bug 262417] armv7 build fails for ARMADAXP

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Mar 2022 11:13:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262417

            Bug ID: 262417
           Summary: armv7 build fails for ARMADAXP
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: me@igalic.co

# Meta data file
/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP/ofw_cpu.o.meta
CMD cc -target armv7-gnueabihf-freebsd14.0
--sysroot=/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/tmp
-B/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/tmp/usr/bin -c
-O2 -pipe  -fno-strict-aliasing  -g -nostdinc  -I.
-I/poudriere/jails/14-current-armv7/usr/src/sys
-I/poudriere/jails/14-current-armv7/usr/src/sys/contrib/ck/include
-I/poudriere/jails/14-current-armv7/usr/src/sys/contrib/libfdt
-I/poudriere/jails/14-current-armv7/usr/src/sys/contrib/device-tree/include
-I$/dts/include -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h
-fno-common   -march=armv7a -DLINUX_DTS_VERSION=\""5.13"\" -funwind-tables
-fdebug-prefix-map=./machine=/poudriere/jails/14-current-armv7/usr/src/sys/arm/include
-ffreestanding -fwrapv -fstack-protector -Wall -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare
-Wno-error=empty-body -Wno-error=parentheses-equality
-Wno-error=unused-function -Wno-error=pointer-sign
-Wno-error=shift-negative-value -Wno-address-of-packed-member
-Wno-error=unused-but-set-variable -Wno-format-zero-length   -mfpu=none 
-std=iso9899:1999 -Werror
/poudriere/jails/14-current-armv7/usr/src/sys/dev/ofw/ofw_cpu.c
CMD ctfconvert -L VERSION -g ofw_cpu.o
CWD /usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP
TARGET ofw_cpu.o
OODATE /poudriere/jails/14-current-armv7/usr/src/sys/dev/ofw/ofw_cpu.c
offset.inc assym.inc vnode_if.h fdt_static_dtb.h miidevs.h usbdevs.h
usbdevs_data.h rpctlscd.h rpctlssd.h card_if.h power_if.h fb_if.h iicbus_if.h
ofw_iicbus_if.h mdio_if.h miibus_if.h mmcbr_if.h mmcbus_if.h mvs_if.h
ofw_bus_if.h ofw_if.h pci_if.h pci_iov_if.h pcib_if.h uart_if.h usb_if.h
g_part_if.h isa_if.h bus_if.h clock_if.h cpufreq_if.h device_if.h linker_if.h
serdev_if.h cryptodev_if.h platform_if.h msi_if.h pic_if.h opt_global.h machine
-- command output --
In file included from
/poudriere/jails/14-current-armv7/usr/src/sys/dev/ofw/ofw_cpu.c:49:
/poudriere/jails/14-current-armv7/usr/src/sys/dev/extres/clk/clk.h:37:10: fatal
error: 'clknode_if.h' file not found
#include "clknode_if.h"
         ^~~~~~~~~~~~~~
1 error generated.

*** Error code 1

it appears that other armv7 KERNCONFs also need this commit:
f34560385c730c8b1db4f46a9c711a60511864bf

-- 
You are receiving this mail because:
You are the assignee for the bug.