Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105786 - sys-apps/busybox-1.01 lacks alpha support ?
Summary: sys-apps/busybox-1.01 lacks alpha support ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 04:58 UTC by Jose Luis Rivero (yoswink) (RETIRED)
Modified: 2005-09-14 12:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Luis Rivero (yoswink) (RETIRED) gentoo-dev 2005-09-13 04:58:47 UTC
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.
Comment 1 Fernando J. Pereda (RETIRED) gentoo-dev 2005-09-13 05:02:38 UTC
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
Comment 2 Fernando J. Pereda (RETIRED) gentoo-dev 2005-09-13 05:31:26 UTC
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
Comment 3 SpanKY gentoo-dev 2005-09-13 05:56:46 UTC
it should work, i thought i back ported it
Comment 4 SpanKY gentoo-dev 2005-09-13 17:08:52 UTC
fixed in cvs, 1.01 should build on alpha now
Comment 5 Fernando J. Pereda (RETIRED) gentoo-dev 2005-09-14 12:15:18 UTC
Works perfectly. Thanks :)