Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 66398

Summary: xorg-6.7.0 and 6.8.0 don't compile under linux26-headers-2.6.8.1-r1
Product: Gentoo Linux Reporter: Yang Dehua <yangdh>
Component: [OLD] Core systemAssignee: Tim Yamin (RETIRED) <plasmaroo>
Status: VERIFIED DUPLICATE    
Severity: normal CC: corsair, ppc64, x11
Priority: High    
Version: 2004.2   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yang Dehua 2004-10-05 03:05:17 UTC
I compiled both xorg-6.7.0 and xorg-6.8.0 under linux26-headers-2.6.8.1-r1 with the following errors:

In file included from /usr/include/asm/atomic.h:16,
                 from /usr/include/asm/processor.h:16,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from lnx_KbdMap.c:108:
/usr/include/asm/memory.h:26:30: macro "eieio" passed 1 arguments, but takes just 0
In file included from /usr/include/asm/atomic.h:16,
                 from /usr/include/asm/processor.h:16,
                 from /usr/include/linux/prefetch.h:15,
                 from /usr/include/linux/list.h:5,
                 from /usr/include/linux/wait.h:12,
                 from /usr/include/linux/keyboard.h:4,
                 from lnx_KbdMap.c:108:
/usr/include/asm/memory.h:27: error: syntax error before '{' token
make[6]: *** [lnx_KbdMap.o] Error 1
make[5]: *** [linux] Error 2
make[4]: *** [all] Error 2
make[3]: *** [hw/xfree86] Error 2


Reproducible: Always
Steps to Reproduce:
1.emerge xorg-x11
2.
3.

Actual Results:  
Errors as reported

Expected Results:  
Emerged successfully.
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-10-05 03:34:06 UTC
*** Bug 66399 has been marked as a duplicate of this bug. ***
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-05 08:15:44 UTC
Does it with with plain 2.6.8.1?
Comment 3 Yang Dehua 2004-10-05 18:11:24 UTC
No, if you mean the linux26-headers-2.6.8.1. With that headers I got more but different errors as above when compiling xorg, both 6.7 and 6.8. Both xorg 6.7 and 6.8 compile under kernel gentoo-dev-sources-2.6.8-r3 with linux-headers 2.4.22 in my system.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-05 19:57:47 UTC
Provide `emerge info` output please. I've successfully emerged xorg-x11 using 2.6.8.1.

donnie@supernova /usr/local/gentoo/xml/htdocs/proj/en/infrastructure $ emerge -V
Portage 2.0.51_rc7 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r6-usb i686)
Comment 5 Yang Dehua 2004-10-05 20:24:33 UTC
Gentoo Base System version 1.5.3
Portage 2.0.50-r11 (default-ppc64-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.8-custom)
=================================================================
System uname: 2.6.8-custom ppc64 PPC970, altivec supported
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=G5 -mtune=G5 -mpowerpc64 -mpowerpc-gpopt -maltivec -mabi=altivec -fno-strict-aliasing  -pipe"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=G5 -mtune=G5 -mpowerpc64 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ http://mirror.gentoo.no/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X berkdb bitmap-fonts cdr cjk cups dvd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libwww mitshm motif mozilla mysql nls nptl oggvorbis opengl oss pam perl png ppc64 python qt readline sdl slang ssl tcpd truetype xprint xv"

Comment 6 Markus Rothe (RETIRED) gentoo-dev 2004-10-17 13:20:48 UTC
should this bug be marked as a dublicate of bug #66223?

Markus
Comment 7 Tim Yamin (RETIRED) gentoo-dev 2004-10-17 13:26:14 UTC
Want to try "sed -i -e 's/inline/__inline__/g' /usr/include/asm/memory.h" and see if that helps?

*** This bug has been marked as a duplicate of 66223 ***

*** This bug has been marked as a duplicate of 66223 ***
Comment 8 Markus Rothe (RETIRED) gentoo-dev 2004-11-17 07:34:14 UTC
closing...