[Added David Howells.] On Mon, 2015-02-02 at 09:29 +1100, Tony Breeds wrote: > Sorry to get to the party late but I just grabbed: > https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.8.0/x86_64-gcc-4.8.0-nolibc_powerpc64-linux.tar.xz > > and built adma.o without issue. > > I used 44x/katmai_defconfig with the following additions. > +CONFIG_DMADEVICES=y > +CONFIG_AMCC_PPC440SPE_ADMA=y So I downgraded to cross-gcc-common-4.8.2-2.fc20 and gcc-powerpc64-linux-gnu-4.8.2-2.fc20 (not sure if that version was ever released but I downloaded it from Koji anyhow). Result is comparable to the result I got with the current version of those packages: make CROSS_COMPILE=powerpc64-linux-gnu- ARCH=powerpc drivers/dma/ppc4xx/adma.o [...] {standard input}: Assembler messages: {standard input}:2122: Error: junk at end of line: `128' {standard input}:2367: Error: junk at end of line: `128' {standard input}:5136: Error: junk at end of line: `1' {standard input}:5165: Error: junk at end of line: `1' {standard input}:5174: Error: junk at end of line: `1' make[1]: *** [drivers/dma/ppc4xx/adma.o] Error 1 make: *** [drivers/dma/ppc4xx/adma.o] Error 2 make CROSS_COMPILE=powerpc64-linux-gnu- ARCH=powerpc CFLAGS_adma.o="-S" drivers/dma/ppc4xx/adma.o CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CC drivers/dma/ppc4xx/adma.o sed -n -e "2122p; 2367p; 5136p; 5165p; 5174p" drivers/dma/ppc4xx/adma.o mfcr 9,128 mfcr 9,128 mfcr 9,1 mfcr 9,1 mfcr 9,1 So this is apparently not some gcc regression. Now Fedora doesn't care anymore about PPC32. On the other hand it does provide _kernel_ cross builders for almost all current kernel architectures. So apparently Fedora hopes to cover as many kernel builds as is possible. Did I get that right? So would it be worth David's (mostly) and my (a little) time to try to get at least 32 bit PPC code to build? Paul Bolle _______________________________________________ kernel mailing list kernel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/kernel