Today I emerged a recent xorg package prerelease (6.8.1) and it seems to work nice. I gues there is a good idea to make it ~ppc because many interesting changes for poc users (Mostly in Radeon drivers)
There is only one small problem when building it on ppc (And propably on some other archs) The file programs/Xserver/hw/xfree86/common/compiler.h include a asm/memory.h (line 1079) but this file is not present for ppc at all (I can see it's present for ppc64 for example) It seems it can be normaly removed (At last for ppc)
Steps to Reproduce:
ajax, note asm/memory.h doesn't exist on ppc. Any clue to figure out which archs this is safe for?
As far as I can see this include it present only for arm and ppc64 architecture (This is funny because it's not present for x86 too and this package it ~x86 and I gues it's tested/developed on x86 machine)
Maybe this is a flaw of kernel 2.6.x header files ? I can't check for this include inside 2.4.x headers because I doesn't use them.
Created attachment 46596 [details]
find /usr/src/linux/include -name memory.h
You are right. But it didn't die when I compiled, so I assumed things were
The compilation fails here with message about missing file when compiling the r128 dri driver.
Here the build break as should, which headers are you using?
sys-kernel/linux26-headers-188.8.131.52-r1 (on x86)
Ah, I see the problem. It's in a section activated by defined(__powerpc__), and it doesn't cut things down to ppc64 only.
grep ^PATCH_VER /usr/portage/x11-base/xorg-x11/xorg-x11-184.108.40.2061.ebuild
Make sure it's >=0.3.3.
I gues we need wait a bit (Still not in portage) But what about marking it as ~ppc ? I use it a few days without any problems.
24 Dec 2004; David Holm <firstname.lastname@example.org> xorg-x11-220.127.116.111.ebuild:
Added to ~ppc.
22 Dec 2004; Donnie Berkholz <email@example.com>;
PATCH_VER 0.3.3. (#75174) 9370_all_6.7.0-ppc64-linux26-headers-v2.patch was
in a generic PPC section when it needed to apply only for PPC64.