Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123526 - consolidate {linux,mips,ppc,sparc}32 packages into just setarch
Summary: consolidate {linux,mips,ppc,sparc}32 packages into just setarch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
: 124094 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-02-20 12:37 UTC by SpanKY
Modified: 2006-04-10 16:14 UTC (History)
5 users (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 SpanKY gentoo-dev 2006-02-20 12:37:02 UTC
idea is to kill off the three packages and just have everyone use linux32

i believe Kumba has been using linux32 w/out any issues on mips and ive started using it on ppc/ppc64
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2006-02-20 15:04:53 UTC
As long as we "dosym linux32 /bin/sparc32" for compatibility purposes (catalyst at least) and block it against sparc32 i'm all for it.
Comment 2 SpanKY gentoo-dev 2006-02-20 15:12:37 UTC
that'll require some touchups in the source code which i'm looking into now ... and i think it'd be good if we installed appropriate symlinks on each arch ...
Comment 3 Gustavo Zacarias (RETIRED) gentoo-dev 2006-02-20 15:17:02 UTC
Installing as linux32 and symlinking just works(tm) - i've got nothing against it.
Comment 4 SpanKY gentoo-dev 2006-02-20 18:30:29 UTC
it only works because the code assumes by default to change emulation to 32bit mode ... if you were to name the binary "sparc64", it'd still function as "linux32" instead of "linux64"
Comment 5 Gustavo Zacarias (RETIRED) gentoo-dev 2006-02-20 18:37:00 UTC
For consistency purposes it should be fixed then, though i kinda doubt it's usefulness on sparc other than switching back to 64 from 32 (double chroot).
Comment 6 SpanKY gentoo-dev 2006-02-20 19:25:55 UTC
ok, change of plan :)

after some research and chatting with Kumba, it'd be better if we move to the "setarch" package by redhat

ive added mips support to it, and it already comes with ppc/amd64/x86/sparc/s390/ia64 support

this sucker installs as "setarch" and generates symlinks for all the other fun names like "linux32", "linux64", "ppc32", "ppc64", "sparc32", "sparc64", etc... depending on the host architecture of course
Comment 7 SpanKY gentoo-dev 2006-02-25 19:19:50 UTC
*** Bug 124094 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2006-04-07 16:00:10 UTC
unless i get some negative response this weekend, i'll go ahead and do this for all arches early next week

the only feedback ive had is from mips/ppc/ppc64, and they were positive ... and ive been using this on my amd64/ppc/ppc64 machines w/out any problems
Comment 9 Simon Stelling (RETIRED) gentoo-dev 2006-04-07 16:07:19 UTC
go for it. we just have to remember to update http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=2 once the package is in the tree
Comment 10 SpanKY gentoo-dev 2006-04-07 20:07:07 UTC
setarch is in the tree and has been for a while
Comment 11 Gustavo Zacarias (RETIRED) gentoo-dev 2006-04-10 08:24:27 UTC
sparc is fine too, just remember to switch it in our profiles before ditching sparc32.
Comment 12 SpanKY gentoo-dev 2006-04-10 16:14:59 UTC
setarch-1.8 moved to stable and all references to it replaced