From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 3 01:00:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1A5A15A for ; Mon, 3 Feb 2014 01:00:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9D1871840 for ; Mon, 3 Feb 2014 01:00:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s13100ht067202 for ; Mon, 3 Feb 2014 01:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s13100VX067201; Mon, 3 Feb 2014 01:00:00 GMT (envelope-from gnats) Resent-Date: Mon, 3 Feb 2014 01:00:00 GMT Resent-Message-Id: <201402030100.s13100VX067201@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Craig Butler Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EF9E1FE5 for ; Mon, 3 Feb 2014 00:54:34 +0000 (UTC) Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DBDE31813 for ; Mon, 3 Feb 2014 00:54:34 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s130sYOY041344 for ; Mon, 3 Feb 2014 00:54:34 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s130sYp2041343; Mon, 3 Feb 2014 00:54:34 GMT (envelope-from nobody) Message-Id: <201402030054.s130sYp2041343@oldred.freebsd.org> Date: Mon, 3 Feb 2014 00:54:34 GMT From: Craig Butler To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/186394: [patch] multimedia/libvpx enable sparc64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Feb 2014 01:00:00 -0000 >Number: 186394 >Category: ports >Synopsis: [patch] multimedia/libvpx enable sparc64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Feb 03 01:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Craig Butler >Release: 9.2-RELEASE sparc64 >Organization: >Environment: FreeBSD blueeye.lerwick.hopto.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0: Tue Oct 8 16:09:50 BST 2013 root@blueeye.lerwick.hopto.org:/usr/obj/usr/src/sys/GENERIC sparc64 >Description: Currently libvpx does not build for sparc64 When running a build from the port directory it currently bins out with; "no support for sparc64 the moment. testing/patches are welcome" After a bit of googling I noticed that Debian has a sparc compiled tarball and I just copied their configure line with respect to --target=generic-gnu I found that base gcc was too old to compile it the configure script was complaining that it couldn't link files.... So I forced the make file to use gcc48 for sparc64 builds. >How-To-Repeat: Build port on a sparc64 machine. >Fix: --- libvpx.orig/Makefile 2014-01-12 16:08:27.000000000 +0000 +++ libvpx/Makefile 2014-02-03 00:40:38.459197293 +0000 @@ -65,6 +65,10 @@ CONFIGURE_ARGS+= --disable-unit-tests .endif +.if ${ARCH} == "sparc64" +USE_GCC?=4.8 +.endif + .if ${ARCH} == "amd64" CONFIGURE_ARGS+= --target=x86_64-linux-gcc .elif ${ARCH} == "i386" @@ -75,6 +79,8 @@ CONFIGURE_ARGS+= --target=ppc32-linux-gcc .elif ${ARCH} == "powerpc64" CONFIGURE_ARGS+= --target=ppc64-linux-gcc +.elif ${ARCH} == "sparc64" +CONFIGURE_ARGS+= --target=generic-gnu .else IGNORE= no support for ${ARCH} the moment. testing/patches are welcome .endif >Release-Note: >Audit-Trail: >Unformatted: