<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Text relocations with IPP merged libraries in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868649#M8633</link>
    <description>&lt;P&gt;could you please provide OS version and ld command line you use?&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jan 2008 16:06:07 GMT</pubDate>
    <dc:creator>Vladimir_Dudnik</dc:creator>
    <dc:date>2008-01-22T16:06:07Z</dc:date>
    <item>
      <title>Text relocations with IPP merged libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868646#M8630</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Apologies for cross posting, I replied to this post (http://software.intel.com/en-us/forums/showthread.php?t=56758#52320) by mistake and now I can't delete it.&lt;BR /&gt;&lt;BR /&gt;We have a similar problem here. We are building a shared library linked against the following:&lt;BR /&gt;&lt;BR /&gt;IPPLibs
= ['ippiemerged', 'ippcvemerged', 'ippsemerged', 'ippccemerged',
'ippmemerged', 'ippimerged', 'ippcvmerged', 'ippsmerged',
'ippccmerged', 'ippmmerged', 'ippcore']&lt;BR /&gt;&lt;BR /&gt;However eu-findtextrel return a whole list of problems of the following type:&lt;BR /&gt;"the file containing the function 'ippiAdd_8u_C1IRSfs' is not compiled with -fpic/-fPIC"&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;SELinux then will not allow our .so to be loaded at runtime.&lt;BR /&gt;&lt;BR /&gt;Is this a problem with the way the ipp merged libraries were compiled or something I am doing wrong?&lt;BR /&gt;If its any use we found we had to use -fpic and also define PIC (-DPIC) when compiling our other libraries (using gcc).&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Francis.</description>
      <pubDate>Thu, 10 Jan 2008 10:14:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868646#M8630</guid>
      <dc:creator>fk</dc:creator>
      <dc:date>2008-01-10T10:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Text relocations with IPP merged libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868647#M8631</link>
      <description>&lt;P&gt;Hi Francis,&lt;/P&gt;
&lt;P&gt;did you notice that we provide both variants (PIC and non-PIC) for IPP static libraries? Please see nonpic subfolder in lib folder.&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt; Vladimir&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jan 2008 14:42:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868647#M8631</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-01-10T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: Text relocations with IPP merged libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868648#M8632</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;Yes I did notice that. I tried setting the library path to &lt;BR /&gt;"-L /opt/intel/ipp/5.3.1.062/ia32/lib/nonpic" but unfortunately to no avail. Again if I run eu-findtextrel on the .so that I build it outputs pages of results stating "the file containing the function *** is not compiled with -fpic/-fPIC" where all the *** are ipp functions.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Francis.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Jan 2008 11:22:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868648#M8632</guid>
      <dc:creator>fk</dc:creator>
      <dc:date>2008-01-22T11:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: Text relocations with IPP merged libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868649#M8633</link>
      <description>&lt;P&gt;could you please provide OS version and ld command line you use?&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2008 16:06:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868649#M8633</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-01-22T16:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: Text relocations with IPP merged libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868650#M8634</link>
      <description>Hi Vladimir,&lt;BR /&gt;&lt;BR /&gt;The OS is Fedora Core 8, version 2.6.23.9-85.fc8&lt;BR /&gt;The gcc version is: gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)&lt;BR /&gt;We use scons for our build managment. Here is the command used to build our IPP shared library:&lt;BR /&gt;&lt;BR /&gt;g++ -o BuildProducts/Release/MediaIO_build/GPPIPAPI_IPP/libGPPIPAPI_IPP.so -L/opt/intel/ipp/5.3.1.062/ia32/lib -shared BuildProducts/Release/MediaIO_build/GPPIPAPI_IPP/IPPConversion.os BuildProducts/Release/MediaIO_build/GPPIPAPI_IPP/GPPIPAPI_IPP_fourier.os BuildProducts/Release/MediaIO_build/GPPIPAPI_IPP/GPPIPAPIFuncs.os BuildProducts/Release/MediaIO_build/GPPIPAPI_IPP/GPPIPAPI_IPP.os -LThirdParty/i686 -LBuildProducts/GPP -LThirdParty -lVideoFrame -lVideoFileIO -lVideoFrame -lGPPSystem -lDeInterlacer -lbz2 -ltiff -lz -ljpeg -lippiemerged -lippcvemerged -lippsemerged -lippccemerged -lippmemerged -lippimerged -lippcvmerged -lippsmerged -lippccmerged -lippmmerged -lippcore&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Francis&lt;BR /&gt;</description>
      <pubDate>Wed, 23 Jan 2008 08:55:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868650#M8634</guid>
      <dc:creator>fk</dc:creator>
      <dc:date>2008-01-23T08:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Text relocations with IPP merged libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868651#M8635</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;I've built thecustom shared library from IPP libraries without any problesm:&lt;/P&gt;
&lt;P&gt;ld -shared -zdefs -o libtest.so library.script lib/libippvcemerged.a lib/libippvcmerged.a lib/libippacemerged.a lib/libippacmerged.a lib/libippjemerged.a lib/libippjmerged.a lib/libippdcemerged.a lib/libippdcmerged.a lib/libippccemerged.a lib/libippccmerged.a lib/libippcpemerged.a lib/libippcpmerged.a lib/libippscemerged.a lib/libippscmerged.a lib/libippsremerged.a lib/libippsrmerged.a lib/libippvmemerged.a lib/libippvmmerged.a lib/libippchemerged.a lib/libippchmerged.a lib/libippremerged.a lib/libipprmerged.a lib/libippmemerged.a lib/libippmmerged.a lib/libippcvemerged.a lib/libippcvmerged.a lib/libippiemerged.a lib/libippimerged.a lib/libippsemerged.a lib/libippsmerged.a lib/libippcore.a -L/usr/lib/gcc/i386-redhat-linux/4.1.2 -lgcc -lm -lc&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;OS:&lt;/P&gt;
&lt;P&gt;Fedora release 8 (Werewolf)&lt;BR /&gt;Linux2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;GCC:&lt;/P&gt;
&lt;P&gt;gcc (GCC) 4.1.2 20070925 (Red Hat 4.1.2-33)&lt;BR /&gt;Copyright (C) 2006 Free Software Foundation, Inc.&lt;BR /&gt;This is free software; see the source for copying conditions. There is NO&lt;BR /&gt;warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;LD:&lt;/P&gt;
&lt;P&gt;GNU ld version 2.17.50.0.18-1 20070731&lt;BR /&gt;Copyright 2007 Free Software Foundation, Inc.&lt;BR /&gt;This program is free software; you may redistribute it under the terms of&lt;BR /&gt;the GNU General Public License version 3 or (at your option) a later version.&lt;BR /&gt;This program has absolutely no warranty.&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Note: it is very important to point libraries in link string in right order because ld has only 1 pass and can resolve symbols only from left to right. For you the right order:&lt;/P&gt;
&lt;P&gt;-lippcvemerged -lippcvmerged -lippccemerged -lippccmerged -lippiemerged -lippimerged -lippmemerged -lippmmerged -lippsemerged -lippsmerged-lippcore&lt;/P&gt;
&lt;P&gt;Please try to point the IPP libraries in such order and do you use the IA32 OS?&lt;/P&gt;
&lt;P&gt;Pavel&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2008 13:37:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868651#M8635</guid>
      <dc:creator>Pavel_B_Intel1</dc:creator>
      <dc:date>2008-01-30T13:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Text relocations with IPP merged libraries</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868652#M8636</link>
      <description>Hi Pavel,&lt;BR /&gt;&lt;BR /&gt;I'm not sure if you read my previous posts or not. The problem is not in trying to build the shared library, I can do that without error. The problem is that if I use the static libraries in either "-L/opt/intel/ipp/5.3.1.062/ia32/lib/" or "-L /opt/intel/ipp/5.3.1.062/ia32/lib/nonpic" I get a shared library which has text relocations. SELinux then does not allow this to be loaded. And yes I am using IA32 OS.&lt;BR /&gt;&lt;BR /&gt;Francis.&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Feb 2008 09:20:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Text-relocations-with-IPP-merged-libraries/m-p/868652#M8636</guid>
      <dc:creator>fk</dc:creator>
      <dc:date>2008-02-08T09:20:08Z</dc:date>
    </item>
  </channel>
</rss>

