And error ocurred when tried to compile busybox-1.01 on alpha (2.4 profile): alpha-unknown-linux-gnu-gcc -I/var/tmp/portage/busybox-1.01/work/busybox-1.01/include -I/var/tmp/portage/busybox-1.01/work/busybox-1.01/include -I/var/tmp/portage/busybox-1.01/work/busybox-1.01/e2fsprogs -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wstrict-prototypes -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE -DNDEBUG -I/var/tmp/portage/busybox-1.01/work/busybox-1.01/e2fsprogs/ -c -o /var/tmp/portage/busybox-1.01/work/busybox-1.01/modutils/insmod.o /var/tmp/portage/busybox-1.01/work/busybox-1.01/modutils/insmod.c /var/tmp/portage/busybox-1.01/work/busybox-1.01/modutils/insmod.c:278:2: #error Sorry, but insmod.c does not yet support this architecture... After read the busybox faq, we find the follow: "Kernel module loading for 2.2 and 2.4 Linux kernels is currently limited to ARM, CRIS, H8/300, x86, ia64, x86_64, m68k, MIPS, PowerPC, S390, SH3/4/5, Sparc, v850e, and x86_64 for 2.4.x kernels." So seems like alpha isn't supported (for 2.4.x kernels). So seems like the modutils applets aren't supported on alpha with 2.4.X kernels. sys-apps/busybox-1.01 is currently masked in alpha/2005.0/2.4/ profiles for that reason. sys-apps/busybox-1.01 should check the kernel version and arch to disable building modprobe, insmod, rmmod, and so on. If the architecture is not supported. We can provide patches if wanted. Regards.
From #gentoo-embedded: ---8<--- 13:56 <@dragonheart> ferdy: busybox-1.1_pre20050802 seems to have alpha support 13:56 < ferdy> mmm 13:57 < ferdy> let me check that one then 13:57 <@dragonheart> looked to have the definations for alpha in that file 13:58 < ferdy> ops... I think yoswink filed a bug about it... don't mind it then ---8<--- That said, I'm testing busybox-1.1_pre20050802 right now. Thanks and sorry for the spam. Cheers, Ferdy
Ok, busybox-1.1_pre failed to build on alpha (not surprised anyway). But since it seems that it *will* be supported I'll just mask 1.01 on 2.4 profiles and you don't have to bother on this bug. Sorry for the spam again Cheers, Ferdy
it should work, i thought i back ported it
fixed in cvs, 1.01 should build on alpha now
Works perfectly. Thanks :)