From owner-svn-ports-all@freebsd.org Tue Sep 1 20:56:52 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FD649C71F9 for ; Tue, 1 Sep 2015 20:56:52 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: from vfemail.net (ninezero.vfemail.net [96.30.253.190]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E25EA139E for ; Tue, 1 Sep 2015 20:56:51 +0000 (UTC) (envelope-from jbeich@freebsd.org) Received: (qmail 67005 invoked by uid 89); 1 Sep 2015 20:56:49 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 1 Sep 2015 20:56:49 -0000 Received: (qmail 66949 invoked by uid 89); 1 Sep 2015 20:56:32 -0000 Received: by simscan 1.3.1 ppid: 66940, pid: 66944, t: 0.0053s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 1 Sep 2015 20:56:32 -0000 Received: (qmail 27082 invoked by uid 89); 1 Sep 2015 20:56:32 -0000 Received: by simscan 1.4.0 ppid: 26732, pid: 27041, t: 1.5524s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by 172.16.100.62 with ESMTPA; 1 Sep 2015 20:56:30 -0000 From: Jan Beich To: Thomas Zander Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r395797 - in head/multimedia: mencoder mplayer References: <201509012008.t81K8r9e078554@repo.freebsd.org> Date: Tue, 01 Sep 2015 22:55:37 +0200 In-Reply-To: <201509012008.t81K8r9e078554@repo.freebsd.org> (Thomas Zander's message of "Tue, 1 Sep 2015 20:08:53 +0000 (UTC)") Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2015 20:56:52 -0000 --=-=-= Content-Type: text/plain Thomas Zander writes: > -OPTIONS_DEFINE_ppc= RTCPU > +OPTIONS_DEFINE_powerpc= RTCPU This still doesn't describe how upstream conflates 32bit and 64bit platform variants into a single macro. Notice the error message from failed attempt to cross-compile with the --enable-runtime-cpudetection is different between really not supported architecture like sparc64 and maybe supported powerpc64. ppc() { case "$host_arch" in ppc*|powerpc*) return 0;; *) return 1;; esac } [...] if test "$_runtime_cpudetection" = yes && ! x86 && ! ppc; then die "Runtime CPU detection only works for x86, x86-64 and PPC!" fi $ ./configure --target=sparc64-freebsd --enable-runtime-cpudetection Checking for ffmpeg/libavcodec/allcodecs.c ... found Checking for ffmpeg/libavformat/allformats.c ... found Checking for ffmpeg/libavfilter/allfilters.c ... found Checking for cc version ... clang 3.7.0 (experimental support only) Checking for working compiler ... yes Detected operating system: FreeBSD Detected host architecture: sparc64 Error: Runtime CPU detection only works for x86, x86-64 and PPC! Check "config.log" if you do not understand why it failed. $ ./configure --target=powerpc64-freebsd --enable-runtime-cpudetection Checking for ffmpeg/libavcodec/allcodecs.c ... found Checking for ffmpeg/libavformat/allformats.c ... found Checking for ffmpeg/libavfilter/allfilters.c ... found Checking for cc version ... clang 3.7.0 (experimental support only) Checking for working compiler ... yes Detected operating system: FreeBSD Detected host architecture: powerpc64 Checking for cross compilation ... no Checking for host cc ... cc Checking for CPU type ... Checking for GCC & CPU optimization abilities ... none Checking for byte order ... little-endian Checking for extern symbol prefix ... Checking for assembler support of -pipe option ... yes Checking for relocatable binary ... no (unavailable or untested architecture) Checking for PIC ... no Checking for GCC AltiVec flags ... Error: You need a compiler that supports {} in AltiVec vector declarations. Check "config.log" if you do not understand why it failed. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJV5hDKXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bEygH/3empoLizgZ/Tpnh9wBOB0cJ TORGIVifoCQklJj2oE+cmwECicTlCT2ru/QCZjp3DEN/xFh6i/c9pi65PjwnP3pu mjQMP9hpQZ1uG4BzbvTtlJD4Yu4TCRJlee9AJhzBrwYD/47DRoTXlFOJU7dTxm1X HqtKfzkhoKYlPKRCyhUKyet59pAfvhrnztKNcHfVxhFLFoJkhoipqL9RTI0hKxYd s5Ipa5QQxvycG4/+9oSt1//pgzdfaCbma0+0I/417pNtYnXmR8UkzYzMg68VeQOD XNPwJBxuhfvDftHCb//tCJ3wVNwv0Hj9+5zUCU5LdieLq6k/20B7VTc0AQ6G+AQ= =BJOB -----END PGP SIGNATURE----- --=-=-=--