I'm trying to build a CLFS for a PPC 8270 processor. All is fine until I use the make ARCH=powerpc CROSS_COMPILE=${CLFS_TARGET}- command.
CC arch/powerpc/kernel/align.o
arch/powerpc/kernel/align.c: In function 'fix_alignment':
arch/powerpc/kernel/align.c:704:33: error: variable 'instruction' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[1]: *** [arch/powerpc/kernel/align.o] Error 1
make: *** [arch/powerpc/kernel] Error 2
In menuconfig, I used the default configuration except I choose compatibily with PPC 82XX processor family.

-Werrorin your CFLAGS? (If so, you probably shouldn't except for compiling your own code.) – Mat Apr 3 '12 at 11:17if (cpu_has_feature(CPU_FTR_NODSISRALIGN)) {after line 704 – Eli Rosencruft Apr 3 '12 at 12:38