Fixes for X on PowerPC

Niclas Zeising zeising+freebsd at daemonic.se
Wed Jan 22 16:07:56 UTC 2014


On 01/19/14 18:12, Nathan Whitehorn wrote:
> I was just bootstrapping a new (to me) laptop and ran into some minor
> difficulties getting X running. They can be fixed with the patch at
> http://people.freebsd.org/~nwhitehorn/new_xorg_ppc.diff
> 
> It has the following parts:
> 1. plist fix for graphics/libdrm (the Intel driver is only built on x86
> platforms)

This is being worked on, together with at least making ia64 work as
well, possibly other architectures as well.  Neither kwm nor me (the two
of us who does the heavy lifting) has access to anything other than x86
and x86_64, so it's slightly slow going.

> 2. only apply MMX/SSE2 flags in configure on platforms that have MMX and
> SSE2 for x11/pixman to avoid errors from configure

Why is this needed?  Shouldn't ${MACHINE_CPU:Mmmx} and
${MACHINE_CPU:Msse2} be undefined for CPUs (including ppc) that don't
have mmx or sse2?  This should prevent mmx and sse2 from being used at
all.  Or am I misunderstanding the issue here?
Regards!
-- 
Niclas


More information about the freebsd-x11 mailing list