From owner-svn-ports-head@FreeBSD.ORG Fri Nov 1 17:30:37 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org 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 ESMTP id 86BB894C; Fri, 1 Nov 2013 17:30:37 +0000 (UTC) (envelope-from william88@gmail.com) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 52B2E2BFA; Fri, 1 Nov 2013 17:30:36 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id q8so3668615lbi.19 for ; Fri, 01 Nov 2013 10:30:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=3Zu4gaqwNzKuvvus5PkXglmtqk4y3tvfXtj+SS9A5sA=; b=n/cY2dKLz47CA++lzRlb15HyolG5JEqnL5cHm3w812kvlCXkY63T7FsU4pX5lGILlF P1zTqjiCSqnUwY0hmjcYmyyvp/pIY7Ekjodg5ZlG6QL+vWpGIqr4A5rbsYShfV3crMzi +SM14I5H64+P0V2C7yMhgNcAN0CLdGT/hQO7skj0El+THSaM7l2TcsHKoHIsLE8Iqtkh IikpfZNKZ+PN+Sd+QqVFV89DpICslnAfsz0MU7LpqfDP/3bDiflJ3w2TAO/27TYID/L4 bSMZLO4mOiP7nsPnBugc3od1zkFe4b7vPpSsKNK0m1eS2dMlkhX8zll3jQmkZdL4EMlV ApYg== MIME-Version: 1.0 X-Received: by 10.152.116.82 with SMTP id ju18mr157678lab.54.1383327034258; Fri, 01 Nov 2013 10:30:34 -0700 (PDT) Received: by 10.114.176.34 with HTTP; Fri, 1 Nov 2013 10:30:34 -0700 (PDT) In-Reply-To: <1412906.ydtbp06j8k@mocha.verizon.net> References: <201310301257.r9UCvLHO073107@svn.freebsd.org> <20131031100554.Horde.fMH4EsCHDLmIr67m_uCvFA7@ssl.eumx.net> <1412906.ydtbp06j8k@mocha.verizon.net> Date: Fri, 1 Nov 2013 15:30:34 -0200 Message-ID: Subject: Re: svn commit: r332103 - head/multimedia/ffmpeg From: William Grzybowski To: "Jason E. Hale" Content-Type: text/plain; charset=ISO-8859-1 Cc: "svn-ports-head@freebsd.org" , "svn-ports-all@freebsd.org" , "Herbert J. Skuhra" , William Grzybowski , ports-committers X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Nov 2013 17:30:37 -0000 On Fri, Nov 1, 2013 at 3:24 PM, Jason E. Hale wrote: > On Thursday, October 31, 2013 09:09:52 William Grzybowski wrote: >> On Thu, Oct 31, 2013 at 8:05 AM, Herbert J. Skuhra wrote: >> > on. 30. okt. 2013 kl. 13.57 +0100 skrev William Grzybowski: >> >> Author: wg >> >> Date: Wed Oct 30 12:57:20 2013 >> >> New Revision: 332103 >> >> URL: http://svnweb.freebsd.org/changeset/ports/332103 >> >> >> >> Log: >> >> multimedia/ffmpeg: update to 2.1 >> > >> > Does not build on my machine (FreeBSD 10.0-BETA2 i386 - r257208): >> > >> > CC libavcodec/hevc_cabac.o >> > In file included from libavcodec/hevc_cabac.c:27: >> > In file included from libavcodec/cabac_functions.h:36: >> > libavcodec/x86/cabac.h:175:9: error: ran out of registers during register >> > allocation >> > >> > BRANCHLESS_GET_CABAC("%0", "%q0", "(%4)", "%1", "%w1", >> > ^ >> > >> > libavcodec/x86/cabac.h:128:9: note: expanded from macro >> > 'BRANCHLESS_GET_CABAC' >> > >> > "movzbl "statep" , "ret" >> > >> > \n\t"\ >> > >> > ^ >> > >> > libavcodec/x86/cabac.h:175:9: error: ran out of registers during register >> > allocation >> > libavcodec/x86/cabac.h:128:9: note: expanded from macro >> > 'BRANCHLESS_GET_CABAC' >> > >> > "movzbl "statep" , "ret" >> > >> > \n\t"\ >> > >> > ^ >> > >> > libavcodec/x86/cabac.h:175:9: error: ran out of registers during register >> > allocation >> > libavcodec/x86/cabac.h:128:9: note: expanded from macro >> > 'BRANCHLESS_GET_CABAC' >> > >> > "movzbl "statep" , "ret" >> > >> > \n\t"\ >> > >> > ^ >> > >> > libavcodec/x86/cabac.h:175:9: error: ran out of registers during register >> > allocation >> > libavcodec/x86/cabac.h:128:9: note: expanded from macro >> > 'BRANCHLESS_GET_CABAC' >> > >> > "movzbl "statep" , "ret" >> > >> > \n\t"\ >> > >> > ^ >> > >> > libavcodec/x86/cabac.h:175:9: error: ran out of registers during register >> > allocation >> > libavcodec/x86/cabac.h:128:9: note: expanded from macro >> > 'BRANCHLESS_GET_CABAC' >> > >> > "movzbl "statep" , "ret" >> > >> > \n\t"\ >> > >> > ^ >> > >> > libavcodec/x86/cabac.h:175:9: error: ran out of registers during register >> > allocation >> > libavcodec/x86/cabac.h:128:9: note: expanded from macro >> > 'BRANCHLESS_GET_CABAC' >> > >> > "movzbl "statep" , "ret" >> > >> > \n\t"\ >> > >> > ^ >> > >> > libavcodec/x86/cabac.h:175:9: error: ran out of registers during register >> > allocation >> > libavcodec/x86/cabac.h:128:9: note: expanded from macro >> > 'BRANCHLESS_GET_CABAC' >> > >> > "movzbl "statep" , "ret" >> > >> > \n\t"\ >> > >> > ^ >> > >> > 7 errors generated. >> > gmake[2]: *** [libavcodec/hevc_cabac.o] Error 1 >> > gmake[2]: Leaving directory `/usr/ports/multimedia/ffmpeg/work/ffmpeg-2.1' >> > ===> Compilation failed unexpectedly. >> > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure >> > to >> > the maintainer. >> > *** Error code 1 >> > >> > Stop. >> > make[1]: stopped in /usr/ports/multimedia/ffmpeg >> > *** Error code 1 >> >> Anyone know how to fix this compiler error? It built fine in 6 >> backends in redports. > > I've attached a patch that fixes the build for me on 9.2-i386 with clang as > the compiler. I successfully built it with base gcc too. Thanks Jason, much appreciated. Do you want to commit it? Or should I? -- William Grzybowski ------------------------------------------ Curitiba/PR - Brasil