Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53658 - sys-apps/busybox-0.60.5-r1 is marked stable but doesn't work with amd64
Summary: sys-apps/busybox-0.60.5-r1 is marked stable but doesn't work with amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 All
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-11 10:11 UTC by Jeremy Huddleston (RETIRED)
Modified: 2006-03-20 01:40 UTC (History)
0 users

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 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-11 10:11:50 UTC
gcc -O2 -pipe -fomit-frame-pointer -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.5"' -DBB_BT='"2004.06.11-17:03+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c klogd.c -o klogd.o
gcc -O2 -pipe -fomit-frame-pointer -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.5"' -DBB_BT='"2004.06.11-17:03+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c ln.c -o ln.o
insmod.c:185:2: #error Sorry, but insmod.c does not yet support this architecture...
insmod.c:606: error: parse error before "Elf64_RelM"
insmod.c:775: error: parse error before "Elf64_RelM"
insmod.c: In function `arch_apply_relocation':
insmod.c:777: error: `f' undeclared (first use in this function)
insmod.c:777: error: (Each undeclared identifier is reported only once
insmod.c:777: error: for each function it appears in.)
insmod.c:779: error: `targsec' undeclared (first use in this function)
insmod.c:779: error: `rel' undeclared (first use in this function)
insmod.c:777: warning: unused variable `ifile'
insmod.c:779: warning: unused variable `loc'
insmod.c:780: warning: unused variable `dot'
insmod.c: In function `obj_relocate':
insmod.c:2933: error: `Elf64_RelM' undeclared (first use in this function)
insmod.c:2933: error: `rel' undeclared (first use in this function)
insmod.c:2933: error: `relend' undeclared (first use in this function)
insmod.c:2933: warning: left-hand operand of comma expression has no effect
insmod.c:2938: error: `SHT_RELM' undeclared (first use in this function)
insmod.c:2945: error: parse error before ')' token
insmod.c: In function `obj_load':
insmod.c:3099: error: `ELFCLASSM' undeclared (first use in this function)
insmod.c:3101: warning: implicit declaration of function `MATCH_MACHINE'
insmod.c:3157: error: `SHT_RELM' undeclared (first use in this function)
insmod.c:3253: error: `Elf64_RelM' undeclared (first use in this function)
make: *** [insmod.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: sys-apps/busybox-0.60.5-r1 failed.
!!! Function src_compile, Line 34, Exitcode 2
!!! (no error message)
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-06-11 13:18:24 UTC
busybox-0.6* marked -amd64, added patch for busybox-1.00_pre8 to make it work on amd64.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-12 01:59:55 UTC
actually, you don't need to mark it -amd64... you just need to edit the config file to not compile ths insmod support...  I did that and got it to work fine...

does 1.0's insmod work on amd64?
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2004-06-12 03:12:29 UTC
yepp, it does... i used a lil' patch from mandrake's tree. Tried to insmod and rmmod some modules, no problems so far.
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-12 03:54:01 UTC
oh cool... then that's a better solution anyways =)