[Bug 256756] ARMv7 fails to build sdhci_fdt module (for ARMADAXP)

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Jun 2021 19:36:12 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256756

            Bug ID: 256756
           Summary: ARMv7 fails to build sdhci_fdt module (for ARMADAXP)
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: arm
          Assignee: freebsd-arm_at_FreeBSD.org
          Reporter: me_at_igalic.co

note that ARMADAXP is just the first of many (all) KERNCONFs i build, so maybe
other boards fail as well.

here's the output from the meta file:

```
# Meta data file
/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP/modules/poudriere/jails/14-current-armv7/usr/src/sys/modules/sdhci_fdt/sdhci_fdt_gpio.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  -O2
-pipe -fno-common  -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-DKLD_TIED -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP/opt_global.h
-I. -I/poudriere/jails/14-current-armv7/usr/src/sys
-I/poudriere/jails/14-current-armv7/usr/src/sys/contrib/ck/include -fno-common
-g -funwind-tables
-fdebug-prefix-map=./machine=/poudriere/jails/14-current-armv7/usr/src/sys/arm/include
-I/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP   
-march=armv7a -ffreestanding -fwrapv -Wall -Wredundant-decls -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-format-zero-length   -mno-movt -mfpu=none  -std=iso9899:1999 -c
/poudriere/jails/14-current-armv7/usr/src/sys/dev/sdhci/sdhci_fdt_gpio.c -o
sdhci_fdt_gpio.o
CMD ctfconvert -L VERSION -g sdhci_fdt_gpio.o
CWD
/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP/modules/poudriere/jails/14-current-armv7/usr/src/sys/modules/sdhci_fdt
TARGET sdhci_fdt_gpio.o
OODATE sdhci_if.h device_if.h bus_if.h mmcbr_if.h opt_mmccam.h opt_cam.h
/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP/opt_global.h
/poudriere/jails/14-current-armv7/usr/src/sys/dev/sdhci/sdhci_fdt_gpio.c
-- command output --
In file included from
/poudriere/jails/14-current-armv7/usr/src/sys/dev/sdhci/sdhci_fdt_gpio.c:41:
/poudriere/jails/14-current-armv7/usr/src/sys/dev/gpio/gpiobusvar.h:49:10:
fatal error: 'gpio_if.h' file not found
#include "gpio_if.h"
         ^~~~~~~~~~~
1 error generated.

*** Error code 1

```

manu_at_ suggested to add gpio as dependency for that module, but i haven't had
time.
This has been failing for about a month now, and this is the first time on a
computer to actually submit the report, so…

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Mon Jun 21 2021 - 19:36:12 UTC

Original text of this message