<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>9375</bug_id>
          
          <creation_ts>2016-04-01 13:01:40 +0000</creation_ts>
          <short_desc>libav textrel QA warning</short_desc>
          <delta_ts>2016-04-07 11:56:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>multimedia</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Jussi Kukkonen">jku</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60669</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-04-01 13:01:40 +0000</bug_when>
    <thetext>Since switch from libav to ffmpeg (or last ffmpeg upgrade) we&apos;re seeing couple of textrel QA warnings again

ffmpeg-3.0: ELF binary &apos;/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/ffmpeg/3.0-r0/packages-split/libavcodec/usr/lib/libavcodec.so.57.24.102&apos; has relocations in .text [textrel]
ffmpeg-3.0: ELF binary &apos;/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/ffmpeg/3.0-r0/packages-split/libswresample/usr/lib/libswresample.so.2.0.101&apos; has relocations in .text [textrel]
ffmpeg-3.0: ELF binary &apos;/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/ffmpeg/3.0-r0/packages-split/libavfilter/usr/lib/libavfilter.so.6.31.100&apos; has relocations in .text [textrel]
ffmpeg-3.0: ELF binary &apos;/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/ffmpeg/3.0-r0/packages-split/libswscale/usr/lib/libswscale.so.4.0.100&apos; has relocations in .text [textrel]
ffmpeg-3.0: ELF binary &apos;/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/ffmpeg/3.0-r0/packages-split/libpostproc/usr/lib/libpostproc.so.54.0.100&apos; has relocations in .text [textrel]

gstreamer1.0-libav-1.6.3: ELF binary &apos;/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/gstreamer1.0-libav/1.6.3-r0/packages-split/gstreamer1.0-libav/usr/lib/gstreamer-1.0/libgstlibav.so&apos; has relocations in .text [textrel]

Either fix them or mark them as known with INSANE_SKIP. Showing these errors in every build only causes people to ignore such issues (and other QA warnings as well).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60670</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-04-01 13:03:54 +0000</bug_when>
    <thetext>It was already reported with libav-9.18

http://logs.nslu2-linux.org/buildlogs/oe/world/log.report.20151120_143839.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60672</commentid>
    <comment_count>2</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-04-01 13:06:52 +0000</bug_when>
    <thetext>And even older versions as well:

gstreamer1.0-libav-1.4.1: ELF binary &apos;/tmp/work/i586-oe-linux/gstreamer1.0-libav/1.4.1-r0/packages-split/gstreamer1.0-libav/usr/lib/gstreamer-1.0/libgstlibav.so&apos; has relocations in .text [textrel]

libav-9.16: ELF binary &apos;/tmp/work/armv5te-oe-linux-gnueabi/libav/9.16-r0/packages-split/libavcodec/usr/lib/libavcodec.so.54.35.0&apos; has relocations in .text [textrel]

http://logs.nslu2-linux.org/buildlogs/oe/world/fido/log.report.20141231_153342.log</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60674</commentid>
    <comment_count>3</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2016-04-01 13:08:50 +0000</bug_when>
    <thetext>And older discussion about this:
http://patchwork.openembedded.org/patch/94315/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60897</commentid>
    <comment_count>4</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2016-04-07 11:56:03 +0000</bug_when>
    <thetext>commit 3d56864fd3ea190a2fa203bba37aa4125919e676
Author: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
Date:   Wed Apr 6 11:19:12 2016 +0300

    ffmpeg, gstreamer1.0-libav: add textrel INSANE_SKIPs
    
    ffmpeg disables PIC on some platforms even when --enable-pic is
    set, apparently for performance reasons. Add INSANE_SKIPS for the
    relevant packages.
    
    Fixes [YOCTO #9375].
    
    (From OE-Core rev: 4438a1125bb15ed19c78833f4d8a5b108cd91d30)
    
    Signed-off-by: Jussi Kukkonen &lt;jussi.kukkonen@intel.com&gt;
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>