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
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.
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.
I'd wait to see the release and then decide, we should anyway put some documentation about dtc
how is ps3 support coming along with 2.6.2{4,5}? Do we still need to patch the kernel?
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.
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.