From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail1.windriver.com ([147.11.146.13]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SylpJ-0006NQ-4r for openembedded-core@lists.openembedded.org; Tue, 07 Aug 2012 17:36:09 +0200 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.3) with ESMTP id q77FOL6e002241 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Tue, 7 Aug 2012 08:24:21 -0700 (PDT) Received: from [128.224.147.210] (128.224.147.210) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 7 Aug 2012 08:24:21 -0700 Message-ID: <50213316.8080503@windriver.com> Date: Tue, 7 Aug 2012 11:24:06 -0400 From: Yao Zhao User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 MIME-Version: 1.0 To: References: <1343942157-15997-1-git-send-email-yao.zhao@windriver.com> <501D7090.2040500@gmail.com> In-Reply-To: <501D7090.2040500@gmail.com> X-Originating-IP: [128.224.147.210] Subject: Re: [PATCH] gstreamer: gst-ffmpeg: fix build issues for libav X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2012 15:36:09 -0000 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit On 12-08-04 02:57 PM, Derek Buitenhuis wrote: > On 02/08/2012 5:15 PM, Yao Zhao wrote: >> 1.The included libav configure is not generated by autotools >> patch use-correct-toolchain.patch patched its configure to >> use correct toolchain wrapper. > Why are you patching the toolchain instead of passing the correct parameters > to configure (--enable-cross-compile, --cross-prefix-..., etc)? in the configure, ar_default="${cross_prefix}${ar_default}" cc_default="${cross_prefix}${cc_default}" nm_default="${cross_prefix}${nm_default}" pkg_config_default="${cross_prefix}${pkg_config_default}" ranlib="${cross_prefix}${ranlib}" cc_default is the gcc so cc_default will be for example: powerpc-xxx-gcc, it won't use the toolcain wrapper. I will try whether command line will solve these too. >> 2.add bzip2 dependency explicitly. >> or configure will detect whether libbz2 is installed, if bzip2 >> is triggered earlier then it will be detected, if not then won't > Looks OK. > >> 3.detect whether toolchain supports altivec, if not then add >> disable-altivec to libav's configure line or configure will fail > Wrong fix. > > http://git.libav.org/?p=libav.git;a=blob;f=configure;h=b139008d2b1aa5faea3f33c2a1922d0e1cb1fa5c;hb=HEAD#l2318 > > It should be fixed by passing the proper CPU to libav's configure as an argument. e500v2) cpuflags="-mcpu=8548 -mhard-float -mfloat-gprs=double" disable altivec ;; e500) cpuflags="-mcpu=8540 -mhard-float" disable altivec ;; I am fixing for e500mc which is not a case here and I am not sure what exactly the cpuflags should be. Any idea? yao >> 4.move the GSTREAMER_DEBUG to libav's configure, it is not the >> option for the main configure. > OK. > > - Derek > > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core