I am having issues compiling the master branch for my WDR4900v1.
make[2] package/install
make[2] target/install
make[3] -C target/linux install
ERROR: target/linux failed to build.
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
net/sched/Kconfig:45: warning: menuconfig statement without prompt
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/head_fsl_booke.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/memcmp_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/strlen_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/copy_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/checksum_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/head_fsl_booke.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/memcmp_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/strlen_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/copy_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/checksum_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/head_fsl_booke.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/memcmp_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/strlen_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/copy_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/checksum_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string_32.o' being placed in section `__ksymtab_strings'
.config:5:warning: symbol value 'm' invalid for ATH_REG_DYNAMIC_USER_REG_HINTS
net/sched/Kconfig:45: warning: menuconfig statement without prompt
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/head_fsl_booke.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/memcmp_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/strlen_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/copy_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/checksum_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/head_fsl_booke.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/memcmp_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/strlen_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/copy_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/checksum_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/head_fsl_booke.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/kernel/misc_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/memcmp_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/strlen_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/copy_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/checksum_32.o' being placed in section `__ksymtab_strings'
powerpc-openwrt-linux-musl-ld: warning: orphan section `__ksymtab_strings' from `arch/powerpc/lib/string_32.o' being placed in section `__ksymtab_strings'
Pseudo file "/dev" exists in source filesystem "/home/alvarok/OpenWRT/openwrt/build_dir/target-powerpc_8540_musl/root-mpc85xx/dev".
Ignoring, exclude it (-e/-ef) to override.
[mktplinkfw] rootfs offset aligned to 0x2548272
[mktplinkfw] firmware file "/home/alvarok/OpenWRT/openwrt/build_dir/target-powerpc_8540_musl/linux-mpc85xx_p1010/tmp/openwrt-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-factory.bin.new" completed
[mktplinkfw] rootfs offset aligned to 0x2548272
[mktplinkfw] firmware file "/home/alvarok/OpenWRT/openwrt/build_dir/target-powerpc_8540_musl/linux-mpc85xx_p1010/tmp/openwrt-mpc85xx-p1010-tplink_tl-wdr4900-v1-squashfs-sysupgrade.bin.new" completed
cp: cannot stat '/home/alvarok/OpenWRT/openwrt/build_dir/target-powerpc_8540_musl/linux-mpc85xx_p1010/tmp/openwrt-mpc85xx-p1010-tplink_tl-wdr4900-v1-initramfs-kernel.bin': No such file or directory
make[5]: *** [Makefile:21: /home/alvarok/OpenWRT/openwrt/bin/targets/mpc85xx/p1010/openwrt-mpc85xx-p1010-tplink_tl-wdr4900-v1-initramfs-kernel.bin] Error 1
make[4]: *** [Makefile:25: install] Error 2
make[3]: *** [Makefile:11: install] Error 2
make[2]: *** [target/Makefile:25: target/linux/install] Error 1
make[1]: *** [target/Makefile:19: /home/alvarok/OpenWRT/openwrt/staging_dir/target-powerpc_8540_musl/stamp/.target_install] Error 2
make: *** [/home/alvarok/OpenWRT/openwrt/include/toplevel.mk:230: world] Error 2
these 2 commits give a background idea of the issue, where it's running out of space due to how the bootloader was designed
maybe this target needs a "tiny" subtarget like ath79?
It may be possible to use the lzma kernel loader, but it has never been used on this platform before so it would probably be difficult to redesign it for this target (mpc85xxx)