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

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

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

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

             reply	other threads:[~2011-05-11  9:38 UTC|newest]

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

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=4DCA58F8.1050104@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.