From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from usps2.crhc.illinois.edu ([130.126.143.231] helo=usps.crhc.uiuc.edu) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1PFq4c-0001is-Ur for openembedded-devel@lists.openembedded.org; Tue, 09 Nov 2010 16:25:32 +0100 Received: from usps.crhc.uiuc.edu (localhost [127.0.0.1]) by usps.crhc.uiuc.edu (Postfix) with ESMTP id 24F96340009F; Tue, 9 Nov 2010 09:06:45 -0600 (CST) Received: from [192.168.1.198] (unknown [63.252.64.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: johnso87) by usps.crhc.uiuc.edu (Postfix) with ESMTPSA id F0EE1340008F; Tue, 9 Nov 2010 09:06:44 -0600 (CST) Message-ID: <4CD96384.70100@crhc.illinois.edu> Date: Tue, 09 Nov 2010 09:06:44 -0600 From: Matt Johnson User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9pre) Gecko/20100217 Lightning/1.0b1 Shredder/3.0.3pre MIME-Version: 1.0 To: angstrom-distro-devel@linuxtogo.org, openembedded-devel@lists.openembedded.org References: In-Reply-To: X-Virus-Scanned: ClamAV using ClamSMTP X-SA-Exim-Connect-IP: 130.126.143.231 X-SA-Exim-Mail-From: johnso87@crhc.illinois.edu X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE autolearn=ham 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) X-Content-Filtered-By: Mailman/MimeDel 2.1.11 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 15:25:33 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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. Best, -Matt