Hi,
Just out of curiosity, which version of gcc/egcs are you using to build with this patch? I
get the following with stock RH6.0 egcs/1.1.2:
......
make -C arch/alpha/kernel
make[1]: Entering directory `/usr/src/linux/arch/alpha/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-aliasing -D__SMP__ -pipe -mno-fp-regs -ffixed-8 -c -o smp.o smp.c
smp.c:48: section attribute not allowed for `bits'
make[1]: *** [smp.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2
My only guess so far is that it's complaining about the __cacheline_aligned statement. As
always, building for a rawhide, SMP, etc. Thoughts?
- Pete
Richard Henderson wrote:
> I'd like to take this opportunity to move __cacheline_aligned
> where it belongs -- <asm/cache.h>. I don't like not having
> the __aligned__(N) tag on there. It hides information from
> the compiler that might (one day) be of use. And it's Right.
>
> Matti reported problems with __kernel_thread missing at link.
> Dunno what was up with that, but I moved kernel_thread into
> <asm/processor.h> like everyone else.
>
> r~
<snip>
--------------6D5E7D760BAF8A89B9560791
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Hi,
Just out of curiosity, which version of gcc/egcs are you using to build with this patch? I get the following with stock RH6.0 egcs/1.1.2:
......
make -C arch/alpha/kernel
make[1]: Entering directory `/usr/src/linux/arch/alpha/kernel'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -D__SMP__ -pipe -mno-fp-regs
-ffixed-8 -c -o smp.o smp.c
smp.c:48: section attribute not allowed for `bits'
make[1]: *** [smp.o] Error 1
make[1]: Leaving directory `/usr/src/linux/arch/alpha/kernel'
make: *** [_dir_arch/alpha/kernel] Error 2
My only guess so far is that it's complaining about the __cacheline_aligned statement. As always, building for a rawhide, SMP, etc. Thoughts?
- Pete
Richard Henderson wrote:
I'd like to take this opportunity to move __cacheline_aligned<snip> --------------6D5E7D760BAF8A89B9560791-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
where it belongs -- <asm/cache.h>. I don't like not having
the __aligned__(N) tag on there. It hides information from
the compiler that might (one day) be of use. And it's Right.Matti reported problems with __kernel_thread missing at link.
Dunno what was up with that, but I moved kernel_thread into
<asm/processor.h> like everyone else.r~