On Fri, 25 Sep 2009 23:26:50 +0200 Sam Ravnborg <sam@xxxxxxxxxxxx> wrote: > On Fri, Sep 25, 2009 at 02:18:25PM -0700, David Miller wrote: > > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > > Date: Fri, 25 Sep 2009 14:15:38 -0700 > > > > > hm, I tried to fix this but my sparc32 cross-compiler broke. > > > > > > ARCH=sparc: > > > > > > scripts/mod/empty.c:1: error: -m64 is not supported by this configuration > > > scripts/mod/empty.c:1: error: -mlong-double-64 not allowed with -m64 > > > scripts/mod/empty.c:1: error: -mcmodel= is not supported on 32 bit systems > > ... > > > How'd that -m64 get in there? > > > > That's really odd. > > > > Sam, any idea? > > It happens if you try to build sparc with a sparc64 config. > setenv ARCH sparc make mrproper make allmodconfig make init/main.o scripts/mod/empty.c:1: error: -m64 is not supported by this configuration scripts/mod/empty.c:1: error: -mlong-double-64 not allowed with -m64 scripts/mod/empty.c:1: error: -mcmodel= is not supported on 32 bit systems akpm:/usr/src/25> grep SPARC .config CONFIG_SPARC=y # CONFIG_SPARC32 is not set CONFIG_SPARC64=y CONFIG_SPARC64_SMP=y CONFIG_SPARC64_PAGE_SIZE_8KB=y # CONFIG_SPARC64_PAGE_SIZE_64KB is not set CONFIG_SPARC64_PCI=y CONFIG_INPUT_SPARCSPKR=m CONFIG_SND_SPARC=y # Misc Linux/SPARC drivers wtf? How'd sparc64 get set? Maybe I'm supposed to use ARCH=sparc32 now? ARCH=sparc used to work. akpm:/usr/src/25> setenv ARCH sparc32 akpm:/usr/src/25> make mrproper Makefile:213: *** ARCH changed from "sparc" to "sparc32". Use "make mrproper" to fix it up. Stop. lol. akpm:/usr/src/25> setenv ARCH i386 akpm:/usr/src/25> make mrproper Makefile:213: *** ARCH changed from "sparc" to "i386". Use "make mrproper" to fix it up. Stop. help. -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html