Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201907 - ps3 sources might need sys-apps/dtc in 'system'
Summary: ps3 sources might need sys-apps/dtc in 'system'
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC64 Linux
: High enhancement (vote)
Assignee: Brent Baude (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-10 22:02 UTC by Markus Rothe (RETIRED)
Modified: 2008-04-27 13:01 UTC (History)
4 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 Markus Rothe (RETIRED) gentoo-dev 2007-12-10 22:02:27 UTC
Hello,

I just read about this and wanted to hear the opinion of the others from the ppc64 team.

A user in the forums ([1]) reported this error while compiling ps3-sources:

HOSTCC arch/powerpc/boot/mktree 
strip -s -R .comment vmlinux -o vmlinux.strip 
WRAP arch/powerpc/boot/zImage.ps3 
/usr/src/linux-2.6.23/arch/powerpc/boot/wrapper: line 113: dtc: command not found 
make[1]: *** [arch/powerpc/boot/zImage.ps3] Error 1 
make: *** [zImage] Error 2

after he installed sys-apps/dtc the kernel build just fine. I'm not sure if this is required for vanilla-sources, too, or if this is some 'new' foo in ps3-sources. As 2.6.24 seems to have full PS3 support we might want to have dtc installed by default on ps3 installs, do we?

[ The statement that 2.6.24 seems to have full PS3 support is based on the removed "(Incomplete)" note you see while running "make menuconfig" in vanilla-sources. I neither have tested this any further nor am I able to, as I not yet own a PS3. ]

[1] http://forums.gentoo.org/viewtopic-t-627581.html
Comment 1 Philippe Chaintreuil 2007-12-11 13:35:20 UTC
NOTE: dtc is currently masked since no one has marked it stable on any arch.

Judging from it's single changelog entry, it's PS3/Cell specific:

  07 Dec 2007; Luca Barbato <lu_zero@gentoo.org> +metadata.xml,
  +dtc-1.0.0.ebuild:
  First commit (imported from cell overlay)

So it appears it is some "'new' foo".

dtc should at least probably be an RDEPEND of the ps3-source ebuild.
Comment 2 Brent Baude (RETIRED) gentoo-dev 2007-12-11 19:51:53 UTC
Thanks for the input.  My thoughts are as follows.  The ps3-sources is an overlay ebuild.  You don't actually need dtc unless you build defconfig.  You can use genkernel or make vmlinx without dtc.  

I'm not against putting the depend in there, but I will be hesitant to do so until dtc is arch stable.  Also, if/when ps3 is supported via mainline, ps3-sources will be deleted.  

So what would be more appropriate in my mind is when dtc is arch stable AND we have gcc-4.3 to we can make a ps3 profile (yes, I suppose we can do this earlier too), we just make sure dtc is part of the system packages and not related to kernel builds.

I'll check with geoff and the status of 2.6.24.  Last I heard, it did not contain all the goodness.

Adding lu for his imput too.
Comment 3 Luca Barbato gentoo-dev 2007-12-11 21:04:21 UTC
I'd wait to see the release and then decide, we should anyway put some documentation about dtc
Comment 4 Markus Rothe (RETIRED) gentoo-dev 2008-04-27 12:46:51 UTC
how is ps3 support coming along with 2.6.2{4,5}? Do we still need to patch the kernel?
Comment 5 Luca Barbato gentoo-dev 2008-04-27 12:51:26 UTC
dtc will be needed nonetheless.

the support is getting improved more and more on the separate branches even if the .25 and .24 has most you'd need (well depends on the needs). I won't phase out the cell-source yet.
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2008-04-27 13:01:43 UTC
OK. I'm not sure why this "still patching needed" question is of any interest for this bug anyways...

In 2008.0 profiles we dropped CPU/machine related profiles. There are
just 64ul and 32ul distinctions left. As we don't install yaboot or any other
CPU/machine related stuff. We should add an instruction like "Install
sys-apps/dtc, if you are running PS3" to the handbook, when we add PS3 specific
instructions. This won't happen before PS3 gets supported "officially". Heck,
the livecds are experimental, too.

Please reopen if you disagree.