If you select an 32but ul on a ppc64 machine.. and doing emerge -e system .. when emerge comes to gpm, ncurses or kbd it fails with a similar problem powerpc-unknown-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -O2 -pipe -m32 -mtune=power5 -mcpu=power5 -O2 -pipe -m32 -mtune=power5 -mcpu=power5 -c -o mice.o mice.c In file included from /usr/include/linux/wait.h:23, from /usr/include/linux/keyboard.h:14, from mice.c:60: /usr/include/linux/spinlock.h:46: error: parse error before '*' token /usr/include/linux/spinlock.h:47: error: parse error before '*' token Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 70805 [details, diff] Fixes the problem for now After reading bug #103374 I looked at the file and moved the defines around. Here's the diff.. This should be flagged upstreams.. (gcc should get a sanity check too)
File comes from: sys-kernel/linux-headers-2.6.11-r2 /CONTENTS:obj /usr/include/linux/spinlock.h bef1776d9300e5151ae1ec4ceb37fc1d 1129441067
still a problem? there are 2006.0 stages for 32bit userland so it should actualy work (as they were build using the same method, but run from inside of catalyst)
the available stages and the lack of resonse from user indicate that this is no longer a problem. marking as FIXED