Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg and linux-headers on PPC64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Sun Nov 21, 2004 5:16 pm    Post subject: Xorg and linux-headers on PPC64 Reply with quote

Did anybody happen to build Xorg on PPC64 successfully with the current linux26-headers? Whenever I am attempting such I get a header-related error as follows:
Code:
gcc -c -O2 -mcpu=G5 -pipe -fno-strict-aliasing -fsigned-char -mminimal-toc     -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I. -I../../../../../../programs/Xserver/include            -I../../../../../../exports/include/X11 -I../../../../../../include/extensions -I../../../../../../programs/Xserver/hw/xfree86/os-support/shared            -I../../../../../../programs/Xserver/mi  -I../../../../../.. -I../../../../../../exports/include   -Dlinux -D__powerpc64__ -D_POSIX_C_SOURCE=199309L                           -D_POSIX_SOURCE -D_XOPEN_SOURCE-D_BSD_SOURCE -D_SVID_SOURCE                              -D_GNU_SOURCE -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP        -DXCSECURITY -DTOGCUP   -DXF86BIGFONT -DDPMSExtension    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH                                 -DXFreeXDGA -DXvExtension      -DXFree86LOADER -DDLOPEN_HACK -DXFree86Server                            -DXF86VIDMODE  -DXvMCExtension                          -DSMART_SCHEDULE                               -DBUILDDEBUG -DXResExtension                             -DX_BYTE_ORDER=X_BIG_ENDIAN    -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((7) * 100000) + ((0) * 1000) + 0)" -D_XSERVER64 -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO    -DUSESTDRES -DHAVE_SYSV_IPC  -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"'  lnx_KbdMap.c
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

The dirty solution of temporarily emerging linux-headers (case in which Xorg builds fine) sucks, I am wondering whether anybody has found a better solution.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
xyz
n00b
n00b


Joined: 29 Oct 2003
Posts: 67

PostPosted: Mon Nov 22, 2004 6:12 am    Post subject: Reply with quote

That's a known bug on ppc64: https://bugs.gentoo.org/show_bug.cgi?id=66223
https://bugs.gentoo.org/show_bug.cgi?id=66398
Back to top
View user's profile Send private message
bruda
Guru
Guru


Joined: 06 May 2004
Posts: 376
Location: Sherbrooke, QC, Canada

PostPosted: Mon Nov 22, 2004 2:09 pm    Post subject: Reply with quote

Oops, sorry, next time will check bugzilla first. :oops: Thanks for the note.
_________________
Quid latine dictum sit altum videtur
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum