Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2010 11:06:32 -0400
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        Nathan Whitehorn <nwhitehorn@freebsd.org>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: ppc64 snapshot
Message-ID:  <s2tfd9cd3451004070806h27d8bf53lc3d85e2414beb2c0@mail.gmail.com>
In-Reply-To: <4BBB8B35.6010303@freebsd.org>
References:  <g2kfd9cd3451004041522pec1d3740l7e3551284b619b5@mail.gmail.com> <4BBB6DC0.3030808@freebsd.org> <k2vfd9cd3451004061219qcad35f53ocb2ed3b45ddab263@mail.gmail.com> <4BBB8B35.6010303@freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Apr 6, 2010 at 3:27 PM, Nathan Whitehorn <nwhitehorn@freebsd.org>wrote:

> Justin Hibbits wrote:
>
>> On Tue, Apr 6, 2010 at 1:22 PM, Nathan Whitehorn <nwhitehorn@freebsd.org<mailto:
>> nwhitehorn@freebsd.org>> wrote:
>>
>>    Justin Hibbits wrote:
>>
>>        I just got my hands on a dual-core G5 (Late 2005), and want to
>>        throw
>>        -CURRENT on it.  Is there a snapshot available with the recent
>>        ppc64 changes
>>        that I could test out?
>>
>>        - Justin
>>        _______________________________________________
>>        freebsd-ppc@freebsd.org <mailto:freebsd-ppc@freebsd.org>
>>
>>        mailing list
>>        http://lists.freebsd.org/mailman/listinfo/freebsd-ppc
>>        To unsubscribe, send any mail to
>>        "freebsd-ppc-unsubscribe@freebsd.org
>>        <mailto:freebsd-ppc-unsubscribe@freebsd.org>"
>>
>>
>>    I just finished implementing the last missing feature in the
>>    64-bit PowerPC port, and there are no more 64-bit-specific bugs
>>    that I know about. Once M. Warner Losh's build system changes are
>>    in the tree, I will submit a final patch set for review, and merge
>>    it to head, but the port should be completely usable at this point.
>>
>>    System Compatibility:
>>    - Apple G5 machines
>>
>>    Caveats:
>>    - Do not run ofwdump on an SMP system, as it can cause hangs (also
>>    a 32-bit bug)
>>    - Many ports (e.g. X and GTK) need patches not currently in the
>>    ports tree to compile, since this is a new platform
>>
>>    Instructions:
>>    svn co http://svn.freebsd.org/base/projects/ppc64
>>    cd ppc64
>>    make buildworld buildkernel installkernel installworld
>>    distribution DESTDIR=/path/to/installation TARGET_ARCH=powerpc64
>>
>>    I would appreciate any feedback or tests, as well as testing on
>>    32-bit Book-E systems to make sure I did not break anything. Many
>>    thanks to Andreas Tobler for his tireless testing efforts during
>>    development of this port.
>>    -Nathan
>>
>>
>> This is awesome.  I'm building it now to test (at least what I can,
>> without the U4 attachment).
>>
> You might want to svn up. My last IFC accidentally pulled in a
> work-in-progress bit of the Playstation 3 loader, which broke the build.
> That is fixed now.
>
>  Will those ports build and work correctly if built as ppc32, rather than
>> ppc64?
>>
> I don't know about the X server, but everything else should. The patch to
> the X server, however, is just to edit Makefile and have it apply the same
> hacks it already applies on PPC32 for PPC64.
>
> In general, the same caveats apply to 32-bit compatibility on PPC as on
> amd64. The compatibility on PPC is actually a little better (cc -m32 works),
> but things are similar beyond that.
> -Nathan
>

Nathan-

Looks like a bug crept into the sys/modules makefile.  This patch fixes it.

- Justin

[-- Attachment #2 --]
Index: sys/modules/Makefile
===================================================================
--- sys/modules/Makefile	(revision 206276)
+++ sys/modules/Makefile	(working copy)
@@ -314,7 +314,7 @@
 	zlib \
 
 .if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "powerpc64" && \
-	&& ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
+	${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
 _syscons=	syscons
 _vpo=		vpo
 .endif
help

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