ports/184580: lang/squeak doesn't build on PowerPC

Justin Hibbits jrh29 at alumni.cwru.edu
Sat Dec 7 18:00:00 UTC 2013


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


More information about the freebsd-ports-bugs mailing list