All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerard van den Bosch <gerard@de-haardt.com>
To: poky@yoctoproject.org
Subject: Re: gstreamer-ti linker crash
Date: Wed, 11 May 2011 12:23:49 +0200	[thread overview]
Message-ID: <4DCA63B5.1000607@de-haardt.com> (raw)
In-Reply-To: <4DCA58F8.1050104@de-haardt.com>

[-- Attachment #1: Type: text/plain, Size: 6759 bytes --]

Oops, forgot to comment the following in the recipe file:

# Angstrom 2008 breaks with -Wl,-T, while angstrom 2010 needs it
#if [ $(${TARGET_PREFIX}gcc -dumpversion | awk -F. '{print $2}') -gt 3 ] ; then
#   # Fix up linkerscripts, recent toolchains need -T to prepend the default script to the custom one
#   for makefile in $(find ${S} -name "Makefile.am") ; do
#       sed -i -e 's:-Wl,$(XDC_CONFIG_BASENAME)/linker.cmd:-Wl,-T,$(XDC_CONFIG_BASENAME)/linker.cmd:g' $makefile
#   done
#fi
It compiles now.

Regards,
Gerard

On 05/11/2011 11:38 AM, Gerard van den Bosch wrote:

> Hello,
>
> I am trying to get gstreamer-ti compiled into Poky Laverne from the 
> OpenEmbedded repository.
>
> I have the following dependency packages from meta-texasinstruments:
> ti-dspbios,ti-cgt6x,ti-local-power-manager,ti-dsplink and
> ti-xcdtools -> version 3.20.06.81 with the arm-linker-hack patch
>
> The following dependency packages I have got from OpenEmbedded repository:
> ti-framework-components,ti-biosutils,ti-edma3lld,ti-xdias,ti-codec-engine,ti-codecs-omap3530,ti-c6accel,ti-dmai 
> and
> ti-linuxutils -> version 2_26_01_02
>
> These packages are currently getting compiled, but it took some 
> changes to get there.
>
> But during the compilation of gstreamer-ti it crashes and I don't 
> understand what's exactly happening when it goes wrong.
>
> There are a lot of compile messages but the end of the log is:
> | arm-poky-linux-gnueabi-libtool: link: /bin/grep -E -e 
> "_*(gst_|Gst|GST_).*" ".libs/libgstticodecplugin.exp" > 
> ".libs/libgstticodecplugin.expT"
> | arm-poky-linux-gnueabi-libtool: link: mv -f 
> ".libs/libgstticodecplugin.expT" ".libs/libgstticodecplugin.exp"
> | arm-poky-linux-gnueabi-libtool: link: echo "{ global:" > 
> .libs/libgstticodecplugin.ver
> | arm-poky-linux-gnueabi-libtool: link:  cat 
> .libs/libgstticodecplugin.exp | sed -e "s/\(.*\)/\1;/" >> 
> .libs/libgstticodecplugin.ver
> | arm-poky-linux-gnueabi-libtool: link:  echo "local: *; };" >> 
> .libs/libgstticodecplugin.ver
> | arm-poky-linux-gnueabi-libtool: link:  arm-poky-linux-gnueabi-gcc 
> -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp 
> -fno-tree-vectorize 
> --sysroot=/home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi 
> -shared  .libs/libgstticodecplugin_la-gstticodecplugin.o 
> .libs/libgstticodecplugin_la-gsttiauddec1.o 
> .libs/libgstticodecplugin_la-gsttividdec2.o 
> .libs/libgstticodecplugin_la-gsttiimgenc1.o 
> .libs/libgstticodecplugin_la-gsttiimgdec1.o 
> .libs/libgstticodecplugin_la-gsttidmaibuffertransport.o 
> .libs/libgstticodecplugin_la-gsttidmaibuftab.o 
> .libs/libgstticodecplugin_la-gstticircbuffer.o 
> .libs/libgstticodecplugin_la-gsttidmaivideosink.o 
> .libs/libgstticodecplugin_la-gstticodecs.o 
> .libs/libgstticodecplugin_la-gstticodecs_platform.o 
> .libs/libgstticodecplugin_la-gsttiquicktime_aac.o 
> .libs/libgstticodecplugin_la-gsttiquicktime_h264.o 
> .libs/libgstticodecplugin_la-gsttividenc1.o 
> .libs/libgstticodecplugin_la-gsttiaudenc1.o 
> .libs/libgstticodecplugin_la-gstticommonutils.o 
> .libs/libgstticodecplugin_la-gsttividresize.o 
> .libs/libgstticodecplugin_la-gsttidmaiperf.o 
> .libs/libgstticodecplugin_la-gsttiquicktime_mpeg4.o   -Wl,-rpath 
> -Wl,/home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib 
> -L/home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/.libs 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgstvideo-0.10.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgstaudio-0.10.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgstbase-0.10.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgstinterfaces-0.10.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgstreamer-0.10.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgobject-2.0.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgmodule-2.0.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libxml2.so 
> -ldl 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libz.so 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libgthread-2.0.so 
> -lpthread -lrt 
> /home/gerard/poky/build/tmp/sysroots/armv7a-poky-linux-gnueabi/usr/lib/libglib-2.0.so 
> -lm  -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp 
> -pthread -march=armv5t -Wl,-T -Wl,gstticodecplugin_omap3530/linker.cmd 
> -Wl,-O1 -Wl,--as-needed -pthread -pthread   -pthread -Wl,-soname 
> -Wl,libgstticodecplugin.so -Wl,-version-script 
> -Wl,.libs/libgstticodecplugin.ver -o .libs/libgstticodecplugin.so
> | collect2: ld terminated with signal 11 [Segmentation fault]
> | 
> /home/gerard/poky/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.5.0/ld: 
> BFD (GNU Binutils) 2.20.1.20100303 assertion fail 
> /home/gerard/poky/build/tmp/work/armv7a-poky-linux-gnueabi/binutils-cross-2.20.1-r3/binutils-2.20.1/bfd/elf32-arm.c:12425
> | make[3]: *** [libgstticodecplugin.la] Error 1
> | make[3]: Leaving directory 
> `/home/gerard/poky/build/tmp/work/tao3530-poky-linux-gnueabi/gstreamer-ti-svnr822-r83+r1/gstreamer_ti/ti_build/ticodecplugin/src'
> | make[2]: *** [all] Error 2
> | make[2]: Leaving directory 
> `/home/gerard/poky/build/tmp/work/tao3530-poky-linux-gnueabi/gstreamer-ti-svnr822-r83+r1/gstreamer_ti/ti_build/ticodecplugin/src'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory 
> `/home/gerard/poky/build/tmp/work/tao3530-poky-linux-gnueabi/gstreamer-ti-svnr822-r83+r1/gstreamer_ti/ti_build/ticodecplugin'
> | make: *** [all] Error 2
> | FATAL: oe_runmake failed
> | ERROR: Task failed: ('function do_compile failed', 
> '/home/gerard/poky/build/tmp/work/tao3530-poky-linux-gnueabi/gstreamer-ti-svnr822-r83+r1/temp/log.do_compile.2778')
> NOTE: package gstreamer-ti-svnr822-r83+r1: task do_compile: Failed
> ERROR: Task 620 
> (/home/gerard/poky/meta/recipes-ti/gstreamer/gstreamer-ti_svn.bb, 
> do_compile) failed with 1
> ERROR: 
> '/home/gerard/poky/meta/recipes-ti/gstreamer/gstreamer-ti_svn.bb' failed
>
> It looks like the whole linker is crashing.
> Does someone know what's going wrong here or give me a direction where 
> to look?
> Would it be useful to upgrade the binutils package to 2.21 from the 
> poky repository?
>
> Regards,
> Gerard
>
>
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky


[-- Attachment #2: Type: text/html, Size: 9143 bytes --]

      reply	other threads:[~2011-05-11 10:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-11  9:38 gstreamer-ti linker crash Gerard van den Bosch
2011-05-11 10:23 ` Gerard van den Bosch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DCA63B5.1000607@de-haardt.com \
    --to=gerard@de-haardt.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.