Date: Sat, 9 Oct 2010 18:52:18 GMT From: Andreas Tobler <andreast@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/151348: [patch] make lang/gforth build on powerpc Message-ID: <201010091852.o99IqInZ094433@www.freebsd.org> Resent-Message-ID: <201010091900.o99J0Irp041862@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151348 >Category: ports >Synopsis: [patch] make lang/gforth 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 Oct 09 19:00:18 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Andreas Tobler >Release: -CURRENT >Organization: none >Environment: FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #6 r213409M: Mon Oct 4 20:11:20 CEST 2010 andreast@wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb powerpc >Description: The attached patch fixes the build for powerpc. We do not have gcc-2.95 in work at all ;) BTW, is there a plan to update to gforth-0.7.0? Well, I saw that they bumped to GPLv3. >How-To-Repeat: >Fix: Patch attached with submission follows: --- configure.orig 2003-08-25 10:03:42.000000000 +0200 +++ configure 2010-10-09 20:40:43.000000000 +0200 @@ -3584,9 +3584,6 @@ else LIBOBJS="$LIBOBJS ../arch/power/_sync_cache_range.$ac_objext" fi - - #long long is broken on (at least) gcc-2.95.* for PPC - test x$ac_cv_sizeof_long_long = x && ac_cv_sizeof_long_long=0 ;; *) { echo "$as_me:$LINENO: WARNING: Using a generic machine description" >&5 @@ -8079,8 +8076,8 @@ if (x) { label1: asm("$i"); - label2: } + label2: return (&&label2)-(&&label1); } >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010091852.o99IqInZ094433>