Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#2265 - Compile blocker on trunk with Kernel 4.14.144 for brcm2708 #7145

Closed
openwrt-bot opened this issue May 3, 2019 · 0 comments
Closed
Labels

Comments

@openwrt-bot
Copy link

nmaas87:

Compiling the current trunk version with kernel 4.14.144 for brcm2708 / Raspberry Pi family results in error:

make[5]: Entering directory '/home/USER/OpenWRT/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-brcm2708_bcm2709/linux-4.14.114'
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
CHK scripts/mod/devicetable-offsets.h
CHK include/generated/compile.h
CHK kernel/config_data.h
CC drivers/mmc/host/bcm2835-mmc.o
In file included from ./include/linux/kernel.h:14:0,
from ./include/linux/delay.h:22,
from drivers/mmc/host/bcm2835-mmc.c:25:
drivers/mmc/host/bcm2835-mmc.c: In function 'bcm2835_mmc_dumpregs':
drivers/mmc/host/bcm2835-mmc.c:254:27: error: 'SDHCI_ACMD12_ERR' undeclared (first use in this function); did you mean 'SDHCI_CMD_CRC'?
bcm2835_mmc_readw(host, SDHCI_ACMD12_ERR),
^
./include/linux/printk.h:137:18: note: in definition of macro 'no_printk'
printk(fmt, ##VA_ARGS);
^~~~~~~~~~~
drivers/mmc/host/bcm2835-mmc.c:253:2: note: in expansion of macro 'pr_debug'
pr_debug(DRIVER_NAME ": AC12 err: 0x%08x | Slot int: 0x%08x\n",
^~~~~~~~
drivers/mmc/host/bcm2835-mmc.c:254:27: note: each undeclared identifier is reported only once for each function it appears in
bcm2835_mmc_readw(host, SDHCI_ACMD12_ERR),
^
./include/linux/printk.h:137:18: note: in definition of macro 'no_printk'
printk(fmt, ##VA_ARGS);
^~~~~~~~~~~
drivers/mmc/host/bcm2835-mmc.c:253:2: note: in expansion of macro 'pr_debug'
pr_debug(DRIVER_NAME ": AC12 err: 0x%08x | Slot int: 0x%08x\n",
^~~~~~~~
scripts/Makefile.build:326: recipe for target 'drivers/mmc/host/bcm2835-mmc.o' failed
make[8]: *** [drivers/mmc/host/bcm2835-mmc.o] Error 1
scripts/Makefile.build:585: recipe for target 'drivers/mmc/host' failed
make[7]: *** [drivers/mmc/host] Error 2
scripts/Makefile.build:585: recipe for target 'drivers/mmc' failed
make[6]: *** [drivers/mmc] Error 2
Makefile:1038: recipe for target 'drivers' failed
make[5]: *** [drivers] Error 2
make[5]: Leaving directory '/home/USER/OpenWRT/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-brcm2708_bcm2709/linux-4.14.114'
Makefile:34: recipe for target '/home/USER/OpenWRT/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-brcm2708_bcm2709/linux-4.14.114/.image' failed
make[4]: *** [/home/USER/OpenWRT/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-brcm2708_bcm2709/linux-4.14.114/.image] Error 2
make[4]: Leaving directory '/home/USER/OpenWRT/openwrt/target/linux/brcm2708'
Makefile:13: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/USER/OpenWRT/openwrt/target/linux'
time: target/linux/install#6.15#2.37#11.71
target/Makefile:23: recipe for target 'target/linux/install' failed
make[2]: *** [target/linux/install] Error 2
make[2]: Leaving directory '/home/USER/OpenWRT/openwrt'
target/Makefile:19: recipe for target '/home/USER/OpenWRT/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.target_install' failed
make[1]: *** [/home/USER/OpenWRT/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.target_install] Error 2
make[1]: Leaving directory '/home/USER/OpenWRT/openwrt'
/home/USER/OpenWRT/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

To reproduce that error on a current Debian Stretch machine:

cd /home/USER/OpenWRT/
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
echo "TRUNK UPDATE"
git pull
./scripts/feeds update -a
./scripts/feeds install -a
echo "TRUNK BUILD RPI01"
echo CONFIG_TARGET_brcm2708=y > .config
echo CONFIG_TARGET_brcm2708_bcm2708=y >> .config
make defconfig
echo CONFIG_TARGET_ROOTFS_TARGZ=y >> .config
make -j1 V=s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant