From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from hermes.mlbassoc.com ([64.234.241.98] helo=mail.chez-thomas.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1PFsjT-0003Ta-PY for openembedded-devel@lists.openembedded.org; Tue, 09 Nov 2010 19:15:52 +0100 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 65DEA166096E; Tue, 9 Nov 2010 11:14:50 -0700 (MST) Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id E6C32166096C; Tue, 9 Nov 2010 11:14:48 -0700 (MST) Message-ID: <4CD98F98.90503@mlbassoc.com> Date: Tue, 09 Nov 2010 11:14:48 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc11 Thunderbird/3.0.4 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org References: <4CD96384.70100@crhc.illinois.edu> In-Reply-To: <4CD96384.70100@crhc.illinois.edu> X-SA-Exim-Connect-IP: 64.234.241.98 X-SA-Exim-Mail-From: gary@mlbassoc.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=unavailable version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Cc: angstrom-distro-devel@linuxtogo.org Subject: Re: Can't build gstreamer-ti X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 18:15:52 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 11/09/2010 08:06 AM, Matt Johnson wrote: > > > On 08/10/2010 04:58 AM, Gary Thomas wrote: > > On 08/09/2010 04:37 PM, Chethan Pandarinath wrote: > > This seems to be the same error: > http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/42905.aspx > > > > With the problem being that the cl6x compiler isn't bundled with the > rest of > the toolchain, and has to be downloaded separately. > > > But I've downloaded those tools and was able to build this recipe just > a few weeks ago. I think something in the staged packaging has broken it. > > I worked past this problem by installing a symlink by hand to my DVSDK > installed tools. > > Next problem :-( > > > | > /local/Angstrom_BeagleBoard/tmp/sysroots/i686-linux/usr/armv7a/lib/gcc/arm-angstrom-linux-gnueabi/4.3.3/../../../../arm-angstrom-linux-gnueabi/bin/ld: > > warning: package/cfg/bin/ti_platforms_evm3530/app_remote_xv5T.xdl > contains output sections; did you forget -T? | > /local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_25_01_06-r5/codec_engine_2_25_01_06/packages/ti/sdo/ce/lib/release/ce.av5T(Engine.ov5T): > > In function `Engine_deleteNode': > > | Engine.c:(.text+0x19d4): undefined reference to `__aeabi_uidiv' > > | > /local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_25_01_06-r5/codec_engine_2_25_01_06/packages/ti/sdo/ce/osal/linux/lib/release/osal_linux_470.av5T(Global_noOS.ov5T): > > In function `Global_atexit': > > | Global_noOS.c:(.text+0x238): undefined reference to `atexit' > > | > /local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dsplink-tree/packages/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib: > > In function `_RingIO_writerAcquire': > > | ringio.c:(.text+0x24e4): undefined reference to `__aeabi_uidivmod' > | ringio.c:(.text+0x261c): undefined reference to `__aeabi_uidivmod' > | ringio.c:(.text+0x2654): undefined reference to `__aeabi_uidivmod' > > | > /local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dsplink-tree/packages/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib: > > In function `_RingIO_readerAcquire': > > | ringio.c:(.text+0x28ac): undefined reference to `__aeabi_uidivmod' > | ringio.c:(.text+0x2bd4): undefined reference to `__aeabi_uidivmod' > > | > /local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dsplink-tree/packages/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib:ringio.c:(.text+0x2eb4): > > more undefined references to `__aeabi_uidivmod' follow | > /local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dsplink-tree/packages/dsplink/gpp/export/BIN/Linux/OMAP3530/RELEASE/dsplink.lib: > > In function `DRV_installCleanupRoutines': > > | ringio.c:(.text+0x9354): undefined reference to `atexit' > | collect2: ld returned 1 exit status > | make[1]: *** [bin/ti_platforms_evm3530/app_remote.xv5T] Error 1 > > | gmake: *** > [/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_25_01_06-r5/codec_engine_2_25_01_06/examples/ti/sdo/ce/examples/apps/speech,.executables] > > Error 2 > > | make[1]: *** [all] Error 2 > > | make[1]: Leaving directory > `/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/ti-codec-engine-2_25_01_06-r5/codec_engine_2_25_01_06/examples/ti/sdo/ce/examples/apps/speech'| > > make: *** [all] Error 2 NOTE: package ti-codec-engine-2_25_01_06-r5: > task do_compile: Failed ERROR: TaskFailed event exception, aborting > ERROR: Build of > /local/Angstrom_BeagleBoard/openembedded/recipes/ti/ti-codec-engine_2.25.01.06.bb > > do_compile failed > > I wasn't subscribed to the Angstrom-devel list when this was posted, so > please excuse the improper quoting. > I ran into this problem as well attempting to build ti-codec-engine with > binutils 2.20 (Angstrom 2010). > It turns out that the problem is a linker script generated by TI > XDCTools. The issue, and a workaround, is documented > here:http://www.eclipse.org/forums/index.php?t=tree&th=197704&S=bf2c36fb547f9973f300fdf573c34d81#page_top > > > I tested the workaround in my OE tree and it worked fine. Thought I'd > post that in case others were still having trouble. > We can either make a patch in ti-xdctools to remove the offending lines > from the linker script generators, wait for XDCTools 3.21 to be released > and quickly get a recipe going for that, or both. > XDCTools 3.21 should be available here > (http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/index.html > ) when it's released. Thanks for pointing this out - I'm anxious to move to more recent tools. How did you test this work around? Do you have a patch to share? -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------