Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2014 10:57:23 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        Niclas Zeising <zeising+freebsd@daemonic.se>
Cc:        freebsd-x11@freebsd.org
Subject:   Re: Fixes for X on PowerPC
Message-ID:  <52DFF873.1080907@freebsd.org>
In-Reply-To: <52DFECD2.4040509@daemonic.se>
References:  <52DC0770.7060000@freebsd.org> <52DFECD2.4040509@daemonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/22/14 10:07, Niclas Zeising wrote:
> 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.

OK. This should get things mostly fixed, though (it makes PPC work).
Thanks for your work here!

>> 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!

It's actually a make error, sorry:
make: "/usr/ports/x11/pixman/Makefile" line 23: Malformed conditional (!
${MACHINE_CPU:Mmmx})
make: "/usr/ports/x11/pixman/Makefile" line 26: Malformed conditional (!
${MACHINE_CPU:Msse2})
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/ports/x11/pixman

I can give you a shell on a PPC machine if you'd like.
-Nathan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52DFF873.1080907>