* Re: Can't build gstreamer-ti [not found] <mailman.0.1289314919.16967.angstrom-distro-devel@linuxtogo.org> @ 2010-11-09 15:06 ` Matt Johnson 2010-11-09 18:14 ` Gary Thomas 0 siblings, 1 reply; 9+ messages in thread From: Matt Johnson @ 2010-11-09 15:06 UTC (permalink / raw) To: angstrom-distro-devel, openembedded-devel 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 <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 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't build gstreamer-ti 2010-11-09 15:06 ` Can't build gstreamer-ti Matt Johnson @ 2010-11-09 18:14 ` Gary Thomas 2010-11-09 18:28 ` Matt Johnson 0 siblings, 1 reply; 9+ messages in thread From: Gary Thomas @ 2010-11-09 18:14 UTC (permalink / raw) To: openembedded-devel; +Cc: angstrom-distro-devel 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 > <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 ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't build gstreamer-ti 2010-11-09 18:14 ` Gary Thomas @ 2010-11-09 18:28 ` Matt Johnson 2010-11-09 21:55 ` Henning Heinold 0 siblings, 1 reply; 9+ messages in thread From: Matt Johnson @ 2010-11-09 18:28 UTC (permalink / raw) To: openembedded-devel, angstrom-distro-devel On 11/09/2010 12:14 PM, Gary Thomas wrote: > 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 >> >> <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? > I was a bit frustrated with this package and was a bit heavy-handed. I looked for all files of the flavor packages/.../arm/.../linkcmd.xdt, and removed everything from the line: var _utils = xdc.loadCapsule("gnu/targets/linkUtils.xs"); down to the end of the file (all the linkcmd.xdt's contained this line, thankfully). I then re-ran "bitbake ti-xdctools -c populate_sysroot *" to copy those into sysroots/ . I then re-ran "bitbake ti-codec-engine -c compile -f" then "bitbake ti-codec-engine", then rebuilt my rootfs, deployed it to my board, and tested a couple codecs. I haven't worked that into a patch, but that should be enough to get you going if you're anxious. If anyone else is interested in making the patch (which should only be applied if you're using xdctools < 3.21 and binutils >= 2.19), feel free; it may be a while before i get to it. -Matt -- Matt Johnson Graduate Student University of Illinois at Urbana-Champaign, Dept. of ECE Coordinated Science Lab, Rm. 213 ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't build gstreamer-ti 2010-11-09 18:28 ` Matt Johnson @ 2010-11-09 21:55 ` Henning Heinold 0 siblings, 0 replies; 9+ messages in thread From: Henning Heinold @ 2010-11-09 21:55 UTC (permalink / raw) To: openembedded-devel; +Cc: angstrom-distro-devel Hi, hm I tought Koen already fixed. Bye Henning ^ permalink raw reply [flat|nested] 9+ messages in thread
* Can't build gstreamer-ti @ 2011-03-07 23:42 Gary Thomas 2011-03-08 7:19 ` Maksym Parkachov 2011-03-09 6:41 ` Khem Raj 0 siblings, 2 replies; 9+ messages in thread From: Gary Thomas @ 2011-03-07 23:42 UTC (permalink / raw) To: openembedded-devel Using org.openembedded.dev (mainline) 569c6db89e7bf06882bd581aa3c4e2862d0eb93d DISTRO = "angstrom-2010.x" MACHINE = "beagleboard" bitbake gstreamer-ti fails with: | /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=link arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi -pthread -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 -Wall -march=armv5t -I"/work/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/gstreamer-ti-svnr822-r83+r100/gstreamer_ti/ti_build/ticodecplugin/src" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dsplink-tree" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdais-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codecs-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dmai-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-local-power-manager-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-edma3lld-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-c6accel-tree/soc/c6accelw" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-c6accel-tree/soc/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages" -I"/work/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/gstreamer-ti-svnr822-r83+r100/gstreamer_ti/ti_build/ticodecplugin/src/gstticodecplugin_omap3530/.." -Dxdc_target_types__="gnu/targets/arm/std.h" -Dxdc_target_name__=GCArmv5T -Dxdc_cfg__header__="/work/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/gstreamer-ti-svnr822-r83+r100/gstreamer_ti/ti_build/ticodecplugin/src/gstticodecplugin_omap3530/package/cfg/gstticodecplugin_omap3530_xv5T.h" -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 -module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).* -Wl,-T,gstticodecplugin_omap3530/linker.cmd -Wl,/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-c6accel-tree/soc/c6accelw/lib/c6accelw_omap3530.a470MV -Wl,-O1 -Wl,--hash-style=gnu -o libgstticodecplugin.la -rpath /usr/lib/gstreamer-0.10 libgstticodecplugin_la-gstticodecplugin.lo libgstticodecplugin_la-gsttiauddec1.lo libgstticodecplugin_la-gsttividdec2.lo libgstticodecplugin_la-gsttiimgenc1.lo libgstticodecplugin_la-gsttiimgdec1.lo libgstticodecplugin_la-gsttidmaibuffertransport.lo libgstticodecplugin_la-gsttidmaibuftab.lo libgstticodecplugin_la-gstticircbuffer.lo libgstticodecplugin_la-gsttidmaivideosink.lo libgstticodecplugin_la-gstticodecs.lo libgstticodecplugin_la-gstticodecs_platform.lo libgstticodecplugin_la-gsttiquicktime_aac.lo libgstticodecplugin_la-gsttiquicktime_h264.lo libgstticodecplugin_la-gsttividenc1.lo libgstticodecplugin_la-gsttiaudenc1.lo libgstticodecplugin_la-gstticommonutils.lo libgstticodecplugin_la-gsttividresize.lo libgstticodecplugin_la-gsttidmaiperf.lo libgstticodecplugin_la-gsttiquicktime_mpeg4.lo libgstticodecplugin_la-gsttic6xcolorspace.lo libgstticodecplugin_la-omapfb.lo yuv.lo -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -pthread -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -lgstvideo-0.10 -lgstaudio-0.10 -lm -lX11 | arm-angstrom-linux-gnueabi-libtool: link: warning: library `/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgstbase-0.10.la' was moved. | /bin/grep: /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: No such file or directory | /bin/sed: can't read /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: No such file or directory | arm-angstrom-linux-gnueabi-libtool: link: `/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la' is not a valid libtool archive Any ideas how to fix this? Thanks -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't build gstreamer-ti 2011-03-07 23:42 Gary Thomas @ 2011-03-08 7:19 ` Maksym Parkachov 2011-03-09 6:41 ` Khem Raj 1 sibling, 0 replies; 9+ messages in thread From: Maksym Parkachov @ 2011-03-08 7:19 UTC (permalink / raw) To: openembedded-devel Hi Gary, I had the same problem, see this thread: http://www.mail-archive.com/angstrom-distro-devel@linuxtogo.org/msg04160.html Regards, Maksym. On Tue, Mar 8, 2011 at 12:42 AM, Gary Thomas <gary@mlbassoc.com> wrote: > Using org.openembedded.dev (mainline) > 569c6db89e7bf06882bd581aa3c4e2862d0eb93d > DISTRO = "angstrom-2010.x" > MACHINE = "beagleboard" > > bitbake gstreamer-ti fails with: > | /bin/sh ../arm-angstrom-linux-gnueabi-libtool --tag=CC --mode=link > arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon > -mfloat-abi=softfp -mthumb-interwork -mno-thumb > --sysroot=/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi > -pthread > -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/gstreamer-0.10 > -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/glib-2.0 > -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/glib-2.0/include > -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/libxml2 > -Wall -march=armv5t > -I"/work/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/gstreamer-ti-svnr822-r83+r100/gstreamer_ti/ti_build/ticodecplugin/src" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dsplink-tree" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-framework-components-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codec-engine-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdais-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-codecs-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-linuxutils-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-dmai-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-local-power-manager-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-edma3lld-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-c6accel-tree/soc/c6accelw" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-c6accel-tree/soc/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-xdctools-tree/packages" > -I"/work/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/gstreamer-ti-svnr822-r83+r100/gstreamer_ti/ti_build/ticodecplugin/src/gstticodecplugin_omap3530/.." > -Dxdc_target_types__="gnu/targets/arm/std.h" -Dxdc_target_name__=GCArmv5T > -Dxdc_cfg__header__="/work/local/Angstrom_BeagleBoard/tmp/work/beagleboard-angstrom-linux-gnueabi/gstreamer-ti-svnr822-r83+r100/gstreamer_ti/ti_build/ticodecplugin/src/gstticodecplugin_omap3530/package/cfg/gstticodecplugin_omap3530_xv5T.h" > -I/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/kernel/include > -fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -ggdb2 > -module -avoid-version -export-symbols-regex _*\(gst_\|Gst\|GST_\).* > -Wl,-T,gstticodecplugin_omap3530/linker.cmd > -Wl,/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/share/ti/ti-c6accel-tree/soc/c6accelw/lib/c6accelw_omap3530.a470MV > -Wl,-O1 -Wl,--hash-style=gnu -o libgstticodecplugin.la -rpath > /usr/lib/gstreamer-0.10 libgstticodecplugin_la-gstticodecplugin.lo > libgstticodecplugin_la-gsttiauddec1.lo > libgstticodecplugin_la-gsttividdec2.lo > libgstticodecplugin_la-gsttiimgenc1.lo > libgstticodecplugin_la-gsttiimgdec1.lo > libgstticodecplugin_la-gsttidmaibuffertransport.lo > libgstticodecplugin_la-gsttidmaibuftab.lo > libgstticodecplugin_la-gstticircbuffer.lo > libgstticodecplugin_la-gsttidmaivideosink.lo > libgstticodecplugin_la-gstticodecs.lo > libgstticodecplugin_la-gstticodecs_platform.lo > libgstticodecplugin_la-gsttiquicktime_aac.lo > libgstticodecplugin_la-gsttiquicktime_h264.lo > libgstticodecplugin_la-gsttividenc1.lo > libgstticodecplugin_la-gsttiaudenc1.lo > libgstticodecplugin_la-gstticommonutils.lo > libgstticodecplugin_la-gsttividresize.lo > libgstticodecplugin_la-gsttidmaiperf.lo > libgstticodecplugin_la-gsttiquicktime_mpeg4.lo > libgstticodecplugin_la-gsttic6xcolorspace.lo > libgstticodecplugin_la-omapfb.lo yuv.lo -pthread -lgstreamer-0.10 > -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -pthread > -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 > -lgthread-2.0 -lrt -lglib-2.0 -lgstvideo-0.10 -lgstaudio-0.10 -lm -lX11 > | arm-angstrom-linux-gnueabi-libtool: link: warning: library > `/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgstbase-0.10.la' > was moved. > | /bin/grep: > /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: > No such file or directory > | /bin/sed: can't read > /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: > No such file or directory > | arm-angstrom-linux-gnueabi-libtool: link: > `/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la' > is not a valid libtool archive > > Any ideas how to fix this? > > Thanks > > -- > ------------------------------------------------------------ > Gary Thomas | Consulting for the > MLB Associates | Embedded world > ------------------------------------------------------------ > > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't build gstreamer-ti 2011-03-07 23:42 Gary Thomas 2011-03-08 7:19 ` Maksym Parkachov @ 2011-03-09 6:41 ` Khem Raj 2011-03-09 16:55 ` Gary Thomas 1 sibling, 1 reply; 9+ messages in thread From: Khem Raj @ 2011-03-09 6:41 UTC (permalink / raw) To: openembedded-devel > | arm-angstrom-linux-gnueabi-libtool: link: warning: library > `/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgstbase-0.10.la' > was moved. > | /bin/grep: > /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: > No such file or directory > | /bin/sed: can't read > /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: > No such file or directory > | arm-angstrom-linux-gnueabi-libtool: link: > `/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la' > is not a valid libtool archive > > Any ideas how to fix this? seems libtool is looking in machine sysroot where as it should be looking in arch sysroot could you try adding EXTRA_OECONF += "--with-libtool-sysroot=${STAGING_DIR_TARGET}" to corresponding recipe and see if that helps ? -Khem ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't build gstreamer-ti 2011-03-09 6:41 ` Khem Raj @ 2011-03-09 16:55 ` Gary Thomas 2011-04-19 22:39 ` Tim Harvey 0 siblings, 1 reply; 9+ messages in thread From: Gary Thomas @ 2011-03-09 16:55 UTC (permalink / raw) To: openembedded-devel On 03/08/11 23:41, Khem Raj wrote: >> | arm-angstrom-linux-gnueabi-libtool: link: warning: library >> `/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgstbase-0.10.la' >> was moved. >> | /bin/grep: >> /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: >> No such file or directory >> | /bin/sed: can't read >> /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: >> No such file or directory >> | arm-angstrom-linux-gnueabi-libtool: link: >> `/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la' >> is not a valid libtool archive >> >> Any ideas how to fix this? > > seems libtool is looking in machine sysroot where as it should be looking in arch sysroot > > could you try adding EXTRA_OECONF += "--with-libtool-sysroot=${STAGING_DIR_TARGET}" to corresponding recipe and see if that helps ? No change, sorry. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Can't build gstreamer-ti 2011-03-09 16:55 ` Gary Thomas @ 2011-04-19 22:39 ` Tim Harvey 0 siblings, 0 replies; 9+ messages in thread From: Tim Harvey @ 2011-04-19 22:39 UTC (permalink / raw) To: openembedded-devel On 03/09/2011 08:55 AM, Gary Thomas wrote: > On 03/08/11 23:41, Khem Raj wrote: >>> | arm-angstrom-linux-gnueabi-libtool: link: warning: library >>> `/work/local/Angstrom_BeagleBoard/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/lib/libgstbase-0.10.la' >>> >>> >>> was moved. | /bin/grep: >>> /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: >>> >>> >>> No such file or directory | /bin/sed: can't read >>> /work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la: >>> >>> >>> No such file or directory | arm-angstrom-linux-gnueabi-libtool: >>> link: >>> `/work/local/Angstrom_BeagleBoard/tmp/sysroots/beagleboard-angstrom-linux-gnueabi/usr/lib/libgstreamer-0.10.la' >>> >>> >>> is not a valid libtool archive >>> >>> Any ideas how to fix this? >> >> seems libtool is looking in machine sysroot where as it should be >> looking in arch sysroot >> >> could you try adding EXTRA_OECONF += >> "--with-libtool-sysroot=${STAGING_DIR_TARGET}" to corresponding >> recipe and see if that helps ? > > No change, sorry. > I don't see that this ever got resolved - I still run into it at least with release-2012-03. The issue seems to have cropped up now that sysroot support was added to libtool in 2.4 and now the code in autotools.bbclass kicks in that adds --with-libtool-sysroot=${STAGING_DIR_HOST} to configur opts in oe_runconf. Should that be --with-libtool-sysroot=${STAGING_TARGET_DIR} (arch vs machine) instead? I would think that most things are arch dependent but that some things would be machine dependent. Tim ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-04-19 22:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.0.1289314919.16967.angstrom-distro-devel@linuxtogo.org>
2010-11-09 15:06 ` Can't build gstreamer-ti Matt Johnson
2010-11-09 18:14 ` Gary Thomas
2010-11-09 18:28 ` Matt Johnson
2010-11-09 21:55 ` Henning Heinold
2011-03-07 23:42 Gary Thomas
2011-03-08 7:19 ` Maksym Parkachov
2011-03-09 6:41 ` Khem Raj
2011-03-09 16:55 ` Gary Thomas
2011-04-19 22:39 ` Tim Harvey
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.