Date: Sat, 7 Dec 2013 17:57:06 GMT From: Justin Hibbits <jrh29@alumni.cwru.edu> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/184580: lang/squeak doesn't build on PowerPC Message-ID: <201312071757.rB7Hv6FH035231@oldred.freebsd.org> Resent-Message-ID: <201312071800.rB7I00o7043858@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 184580 >Category: ports >Synopsis: lang/squeak doesn't build on PowerPC >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Dec 07 18:00:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Justin Hibbits >Release: 11-CURRENT >Organization: >Environment: >Description: lang/squeak is ONLY_FOR_ARCH i386 amd64, but with the attached trivial patch, it builds on PowerPC. >How-To-Repeat: Attempt to build lang/squeak for powerpc >Fix: Patch is attached, minus the change to ONLY_FOR_ARCH in the Makefile. Patch attached with submission follows: --- ./unix/vm/sqUnixMain.c.bak 2013-12-05 13:49:51.733053941 -0800 +++ ./unix/vm/sqUnixMain.c 2013-12-05 13:50:10.674058165 -0800 @@ -1334,8 +1334,8 @@ || defined(POWERPC) || defined(__POWERPC) || defined (__POWERPC__) ) void mtfsfi(unsigned long long fpscr) { - __asm__("lfd f0, %0" :: "m"(fpscr)); - __asm__("mtfsf 0xff, f0"); + __asm__("lfd 0, %0" :: "m"(fpscr)); + __asm__("mtfsf 0xff, 0"); } #else # define mtfsfi(fpscr) >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312071757.rB7Hv6FH035231>