<?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>question Re: UDF Problem: unresolvable relocation of 'ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4' in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56809#M63995</link>
    <description>We tried CDH5.11 impala-udf-devel RPM and it seemed to work. Is it OK to use with 5.10?&lt;BR /&gt;Or it's recommended to revert to 5.8 RPM?</description>
    <pubDate>Mon, 03 Jul 2017 02:21:42 GMT</pubDate>
    <dc:creator>athtsang</dc:creator>
    <dc:date>2017-07-03T02:21:42Z</dc:date>
    <item>
      <title>UDF Problem: unresolvable relocation of 'ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56741#M63993</link>
      <description>&lt;P&gt;CentOS 7.3 (C++ compiler: gcc-c++-4.8.5-11.el7.x86_64))&lt;/P&gt;&lt;P&gt;CDH 5.10.1 installed with Parcels&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to compile the &lt;A href="https://github.com/cloudera/impala/tree/master/be/src/udf_samples" target="_self"&gt;sample UDF&lt;/A&gt; , and getting the following error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Linking CXX executable build/udf-sample-test
/bin/ld: /opt/cloudera/parcels/CDH/lib64/libImpalaUdf-retail.a(udf.cc.o)(.text+0x3): unresolvable R_X86_64_NONE relocation against symbol `_ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4'
/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [build/udf-sample-test] Error 1
make[1]: *** [CMakeFiles/udf-sample-test.dir/all] Error 2
make: *** [all] Error 2&lt;/PRE&gt;&lt;P&gt;(I don't have &lt;FONT face="courier new,courier"&gt;libImpalaUdf.a&lt;/FONT&gt;. For my&amp;nbsp;parcel based installation, I have &lt;FONT face="courier new,courier"&gt;libImpalaUdf-retail.a&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;and&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;libImpalaUdf-debug.a&lt;/FONT&gt;. If I use the debug one , the unresolvable symbol becomes&amp;nbsp;&lt;FONT face="courier new,courier"&gt;`_ZSt4cerr@@GLIBCXX_3.4'&lt;/FONT&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In &lt;A href="http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/UDF-not-working-with-CDH-5-9-0/m-p/49830" target="_self"&gt;a question against CDH 5.9.0&lt;/A&gt;&amp;nbsp;, it was suggested to use an older UDF SDK for CDH 5.8.4 . This seesm a bit old now. Is there any pre-compiled&amp;nbsp;&lt;FONT face="courier new,courier"&gt;libImpalaUdf-retail.a&lt;/FONT&gt;&amp;nbsp;for CDH 5.10.1 which fixes&amp;nbsp;this problem?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:51:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56741#M63993</guid>
      <dc:creator>athtsang</dc:creator>
      <dc:date>2022-09-16T11:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: UDF Problem: unresolvable relocation of 'ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56769#M63994</link>
      <description>&lt;P&gt;The CDH5.8 version of impala-udf-devel should work with CDH5.9 and CDH5.10, so continuing to use that seems fine. The UDF interface didn't really change in those releases.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue was fixed in CDH5.11 so once you get beyond CDH5.10 you can just use the matching versions (as was originally intended). Sorry for the inconvenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We did look at backporting the fixes to the 5.9.x and 5.10.x release series to avoid this pain but the fix required a change to our compiler toolchain, which we wouldn't normally do in a maintenance release.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 16:24:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56769#M63994</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2017-06-30T16:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: UDF Problem: unresolvable relocation of 'ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56809#M63995</link>
      <description>We tried CDH5.11 impala-udf-devel RPM and it seemed to work. Is it OK to use with 5.10?&lt;BR /&gt;Or it's recommended to revert to 5.8 RPM?</description>
      <pubDate>Mon, 03 Jul 2017 02:21:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56809#M63995</guid>
      <dc:creator>athtsang</dc:creator>
      <dc:date>2017-07-03T02:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: UDF Problem: unresolvable relocation of 'ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4'</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56967#M63996</link>
      <description>&lt;P&gt;I believe the 5.11 RPM should work ok.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jul 2017 15:38:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/UDF-Problem-unresolvable-relocation-of-ZNSs4-Rep20-S-empty/m-p/56967#M63996</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2017-07-05T15:38:46Z</dc:date>
    </item>
  </channel>
</rss>

