Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#8621 closed defect (fixed)

r24853 breaks build for brcm47xx

Reported by: risa2000 Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description

When building trunk r24931 (using .config in attachment) target/linux fails to build with error

make[1]: Entering directory `/home/risa/openwrt/openwrt'
make[2]: Entering directory `/home/risa/openwrt/openwrt'
make[3]: Entering directory `/home/risa/openwrt/openwrt/target/linux'
make[4]: Entering directory `/home/risa/openwrt/openwrt/target/linux/brcm47xx'
/home/risa/openwrt/openwrt/scripts/kconfig.pl + /home/risa/openwrt/openwrt/target/linux/generic/config-2.6.36 /home/risa/openwrt/openwrt/target/linux/brcm47xx/config-2.6.36 > /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.target
awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /home/risa/openwrt/openwrt/.config >> /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.target
echo "# CONFIG_KPROBES is not set" >> /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.target
/home/risa/openwrt/openwrt/staging_dir/host/bin/sed -i -e 's,.*CONFIG_AEABI.*,# CONFIG_AEABI is not set,' /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.target
/home/risa/openwrt/openwrt/scripts/metadata.pl kconfig /home/risa/openwrt/openwrt/tmp/.packageinfo /home/risa/openwrt/openwrt/.config > /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.override
/home/risa/openwrt/openwrt/scripts/kconfig.pl 'm+' '+' /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.target /dev/null /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.override > /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config
mv /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.old
grep -v INITRAMFS /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config.old > /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config
echo 'CONFIG_INITRAMFS_SOURCE=""' >> /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.config
export MAKEFLAGS= ;make -C /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2 CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="mipsel-openwrt-linux-uclibc-gcc" oldconfig prepare scripts
make[5]: Entering directory `/home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2'
scripts/kconfig/conf --oldconfig arch/mips/Kconfig
.config:2005:warning: symbol value 'm' invalid for PCCARD_NONSTATIC
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig arch/mips/Kconfig
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
make[5]: Leaving directory `/home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2'
rm -rf /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/modules
touch /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.configured
rm -f /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/vmlinux /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/System.map
make -C /home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2 CROSS_COMPILE="mipsel-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" CC="mipsel-openwrt-linux-uclibc-gcc" modules
make[5]: Entering directory `/home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2'
  CHK     include/linux/version.h
  CHK     include/generated/utsrelease.h
  CALL    scripts/checksyscalls.sh
  CC [M]  drivers/input/keyboard/gpio_keys.o
drivers/input/keyboard/gpio_keys.c: In function 'gpio_keys_setup_key':
drivers/input/keyboard/gpio_keys.c:390: error: implicit declaration of function 'gpio_set_debounce'
make[8]: *** [drivers/input/keyboard/gpio_keys.o] Error 1
make[7]: *** [drivers/input/keyboard] Error 2
make[6]: *** [drivers/input] Error 2
make[5]: *** [drivers] Error 2
make[5]: Leaving directory `/home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2'
make[4]: *** [/home/risa/openwrt/openwrt/build_dir/linux-brcm47xx/linux-2.6.36.2/.modules] Error 2
make[4]: Leaving directory `/home/risa/openwrt/openwrt/target/linux/brcm47xx'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/risa/openwrt/openwrt/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/risa/openwrt/openwrt'
make[1]: *** [/home/risa/openwrt/openwrt/staging_dir/target-mipsel_uClibc-0.9.31/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/risa/openwrt/openwrt'
make: *** [world] Error 2

The last revision which builds fine is r24852, so it seems r24853 breaks the build.

Attachments (1)

.config (61.0 KB) - added by risa2000 7 years ago.
config file for brcm47xx target

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by risa2000

config file for brcm47xx target

comment:1 Changed 7 years ago by risa2000

I forgot to mention that I am building linux-2.6.36.2 kernel.

comment:2 Changed 7 years ago by acoul

  • Resolution set to fixed
  • Status changed from new to closed

should be fixed in r24968

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.