Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 2021 19:36:12 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 256756] ARMv7 fails to build sdhci_fdt module (for ARMADAXP)
Message-ID:  <bug-256756-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256756

            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@FreeBSD.org
          Reporter: me@igalic.co

note that ARMADAXP is just the first of many (all) KERNCONFs i build, so ma=
ybe
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/mo=
dules/poudriere/jails/14-current-armv7/usr/src/sys/modules/sdhci_fdt/sdhci_=
fdt_gpio.o.meta
CMD cc -target armv7-gnueabihf-freebsd14.0
--sysroot=3D/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/op=
t_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-com=
mon
-g -funwind-tables
-fdebug-prefix-map=3D./machine=3D/poudriere/jails/14-current-armv7/usr/src/=
sys/arm/include
-I/usr/obj/poudriere/jails/14-current-armv7/usr/src/arm.armv7/sys/ARMADAXP=
=20=20=20
-march=3Darmv7a -ffreestanding -fwrapv -Wall -Wredundant-decls -Wnested-ext=
erns
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef
-Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs
-fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co=
mpare
-Wno-error=3Dempty-body -Wno-error=3Dparentheses-equality
-Wno-error=3Dunused-function -Wno-error=3Dpointer-sign
-Wno-error=3Dshift-negative-value -Wno-address-of-packed-member
-Wno-format-zero-length   -mno-movt -mfpu=3Dnone  -std=3Diso9899: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/mo=
dules/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/op=
t_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@ 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=E2=80=A6

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-256756-7>