Is this a sign that nobody has tested 10.1-stable on a 32-bit ppc?

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Tue May 19 08:04:01 UTC 2015


On 18.05.2015 20:08, Justin Hibbits wrote:
> Hi,
> 
> On 05/18/15 06:04, Jukka Ukkonen wrote:
>> Find attached a trailing snippet of build time messages
>> while running buildkernel on a 32 bit ppc (PowerMac G4
>> Quicksilver).
>> During the last 2 months or so there have been some changes
>> to sys/dev/drm2/radeon/radeon_fence.c in 10.1-stable which
>> now break buildkernel. (...)
>>
>> Has anyone else noticed this?
>
> (...) Reviewing the commit history, the likely change that
> you're seeing was r282199, on April 28.  I also perused the Makefile,
> and the drm2 module is only getting built for i386 and amd64, so check
> if you have any local modifications that would cause it to be built.

Hi!

I confirm none of the video drivers should be compiled on ppc32 because
of the lack of atomic64 functions.

In HEAD and stable/10, sys/modules/Makefile should say:

    .if ${MACHINE_CPUARCH} == "powerpc"

    .if ${MACHINE_ARCH} == "powerpc64"
    _drm2=          drm2
    .endif

    .endif

So the drivers are built on ppc64 but not ppc32.

However, in FreeBSD 10.1, the drivers are built for amd64 and i386 only,
as Justin says, not even ppc64.

-- 
Jean-Sébastien Pédron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ppc/attachments/20150519/b796dd55/attachment.sig>


More information about the freebsd-ppc mailing list