* 'make ARCH=ppc defconfig' failing for cross-compile @ 2006-09-09 0:05 Judith Lebzelter 2006-09-10 6:15 ` Christian 0 siblings, 1 reply; 5+ messages in thread From: Judith Lebzelter @ 2006-09-09 0:05 UTC (permalink / raw) To: linuxppc-dev; +Cc: paulus Hello, I have been doing cross-compiles for ppc and powerpc on my i686 system. In order to do this I generate the .config file like this: make ARCH=ppc defconfig (or make ARCH=powerpc defconfig) This is the error for ppc: *** *** Can't find default configuration "arch/ppc/configs/common_defconfig"! *** make[1]: *** [defconfig] Error 1 make: *** [defconfig] Error 2 If I replace this file 'arch/ppc/configs/common_defconfig' with an old one, it does create my .config. The allmodconfig, allyesconfig and allnoconfig work as I expect. This is also happening for powerpc with a slightly different error where it seems to get the architecture from my system rather than the specified target architecture: drivers/pcmcia/Kconfig:187:warning: leading whitespace ignored *** *** Can't find default configuration "arch/powerpc/configs/i686_defconfig"! *** make[1]: *** [defconfig] Error 1 make: *** [defconfig] Error 2 Could you suggest something that would make these cross compile builds work again? Thanks, Judith ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 'make ARCH=ppc defconfig' failing for cross-compile 2006-09-09 0:05 'make ARCH=ppc defconfig' failing for cross-compile Judith Lebzelter @ 2006-09-10 6:15 ` Christian 2006-09-12 17:48 ` Judith Lebzelter 0 siblings, 1 reply; 5+ messages in thread From: Christian @ 2006-09-10 6:15 UTC (permalink / raw) To: Judith Lebzelter; +Cc: linuxppc-dev On Fri, 8 Sep 2006, Judith Lebzelter wrote: > I have been doing cross-compiles for ppc and powerpc on my i686 system. > In order to do this I generate the .config file like this: > > make ARCH=ppc defconfig > (or make ARCH=powerpc defconfig) Seems like defconfig has been removed, because there are so many sub-platforms for ppc: $ ls arch/ppc/configs/*defconfig | wc -l 56 Just pick the defonfig for your platform, for my PReP that'd be: $ make ARCH=ppc CROSS_COMPILE=powerpc-604-linux-gnu- prep_defconfig HTH, Christian. -- BOFH excuse #383: Your processor has taken a ride to Heaven's Gate on the UFO behind Hale-Bopp's comet. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 'make ARCH=ppc defconfig' failing for cross-compile 2006-09-10 6:15 ` Christian @ 2006-09-12 17:48 ` Judith Lebzelter 2006-09-14 3:12 ` Michael Ellerman 0 siblings, 1 reply; 5+ messages in thread From: Judith Lebzelter @ 2006-09-12 17:48 UTC (permalink / raw) To: Christian; +Cc: linuxppc-dev, Judith Lebzelter On Tue, Sep 12, 2006 at 10:21:46AM -0700, Christian wrote: > On Fri, 8 Sep 2006, Judith Lebzelter wrote: > > I have been doing cross-compiles for ppc and powerpc on my i686 system. > > In order to do this I generate the .config file like this: > > > > make ARCH=ppc defconfig > > (or make ARCH=powerpc defconfig) > > Seems like defconfig has been removed, because there are so many > sub-platforms for ppc: I build these in OSDL's cross compile build farm (PLM) as a code check. Our scripts are generalized to work for various architectures, so it is disappointing that 'defconfig' no longer works for ppc the way it does in other achitectures. Are there plans to make plain 'defconfig' work again, at least in the new 'powerpc' directory? (The 'ppc64_defconfig' target looks good to me.:) > > $ ls arch/ppc/configs/*defconfig | wc -l > 56 > > Just pick the defonfig for your platform, for my PReP that'd be: I will do this as a work-around. TFYR, Judith > > $ make ARCH=ppc CROSS_COMPILE=powerpc-604-linux-gnu- prep_defconfig > > > HTH, > Christian. > -- > BOFH excuse #383: > > Your processor has taken a ride to Heaven's Gate on the UFO behind Hale-Bopp's comet. > _______________________________________________ > Linuxppc-dev mailing list > Linuxppc-dev@ozlabs.org > https://ozlabs.org/mailman/listinfo/linuxppc-dev ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 'make ARCH=ppc defconfig' failing for cross-compile 2006-09-12 17:48 ` Judith Lebzelter @ 2006-09-14 3:12 ` Michael Ellerman 2006-09-15 19:22 ` Judith Lebzelter 0 siblings, 1 reply; 5+ messages in thread From: Michael Ellerman @ 2006-09-14 3:12 UTC (permalink / raw) To: Judith Lebzelter; +Cc: linuxppc-dev [-- Attachment #1: Type: text/plain, Size: 1462 bytes --] On Tue, 2006-09-12 at 10:48 -0700, Judith Lebzelter wrote: > On Tue, Sep 12, 2006 at 10:21:46AM -0700, Christian wrote: > > On Fri, 8 Sep 2006, Judith Lebzelter wrote: > > > I have been doing cross-compiles for ppc and powerpc on my i686 system. > > > In order to do this I generate the .config file like this: > > > > > > make ARCH=ppc defconfig > > > (or make ARCH=powerpc defconfig) > > > > Seems like defconfig has been removed, because there are so many > > sub-platforms for ppc: > > I build these in OSDL's cross compile build farm (PLM) as a code check. > Our scripts are generalized to work for various architectures, so it is > disappointing that 'defconfig' no longer works for ppc the way it does > in other achitectures. Are there plans to make plain 'defconfig' work > again, at least in the new 'powerpc' directory? (The 'ppc64_defconfig' > target looks good to me.:) Perhaps you need to rework the scripts to cope for the fact that there are different platforms under the architecture? There will never be a defconfig for powerpc that builds all the code for all platforms, so to get full test coverage you'll need to build more than one config anyway. cheers -- Michael Ellerman OzLabs, IBM Australia Development Lab wwweb: http://michael.ellerman.id.au phone: +61 2 6212 1183 (tie line 70 21183) We do not inherit the earth from our ancestors, we borrow it from our children. - S.M.A.R.T Person [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 'make ARCH=ppc defconfig' failing for cross-compile 2006-09-14 3:12 ` Michael Ellerman @ 2006-09-15 19:22 ` Judith Lebzelter 0 siblings, 0 replies; 5+ messages in thread From: Judith Lebzelter @ 2006-09-15 19:22 UTC (permalink / raw) To: Michael Ellerman; +Cc: linuxppc-dev, Judith Lebzelter On Thu, Sep 14, 2006 at 01:12:01PM +1000, Michael Ellerman wrote: > On Tue, 2006-09-12 at 10:48 -0700, Judith Lebzelter wrote: > > On Tue, Sep 12, 2006 at 10:21:46AM -0700, Christian wrote: > > > On Fri, 8 Sep 2006, Judith Lebzelter wrote: > > > > I have been doing cross-compiles for ppc and powerpc on my i686 system. > > > > In order to do this I generate the .config file like this: > > > > > > > > make ARCH=ppc defconfig > > > > (or make ARCH=powerpc defconfig) > > > > > > Seems like defconfig has been removed, because there are so many > > > sub-platforms for ppc: > > > > I build these in OSDL's cross compile build farm (PLM) as a code check. > > Our scripts are generalized to work for various architectures, so it is > > disappointing that 'defconfig' no longer works for ppc the way it does > > in other achitectures. Are there plans to make plain 'defconfig' work > > again, at least in the new 'powerpc' directory? (The 'ppc64_defconfig' > > target looks good to me.:) > > Perhaps you need to rework the scripts to cope for the fact that there > are different platforms under the architecture? There will never be a > defconfig for powerpc that builds all the code for all platforms, so to > get full test coverage you'll need to build more than one config anyway. > Yes, I do not get full code coverage, which would be the ideal. However, I do run defconfig, allmodconfig, allyesconfig and allnoconfig and have found issues doing this. There is value in running for a few representative ppc architectures, which I do. That is why 'defconfig' is (was) handy for me. I additionally compile other architectures such as i386, ia64, x86_64, arm, sparc64. People can submit their kernel patches to see how their code compiles, and usually this is more platforms than they would do at home.:) Thanks, Judith > cheers > > -- > Michael Ellerman > OzLabs, IBM Australia Development Lab > > wwweb: http://michael.ellerman.id.au > phone: +61 2 6212 1183 (tie line 70 21183) > > We do not inherit the earth from our ancestors, > we borrow it from our children. - S.M.A.R.T Person ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-09-15 19:23 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-09-09 0:05 'make ARCH=ppc defconfig' failing for cross-compile Judith Lebzelter 2006-09-10 6:15 ` Christian 2006-09-12 17:48 ` Judith Lebzelter 2006-09-14 3:12 ` Michael Ellerman 2006-09-15 19:22 ` Judith Lebzelter
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).