<?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 Is there an Impala UDF C++ dev package for Red Hat 6.8 and g++ 4.4.7? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-an-Impala-UDF-C-dev-package-for-Red-Hat-6-8-and-g-4/m-p/52304#M57326</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Red Hat 6.8 the highest version of g++ supported is 4.4.7 (&lt;A href="https://access.redhat.com/solutions/19458" target="_self"&gt;see this Red Hat document&lt;/A&gt;).&amp;nbsp;This compiler can't handle some of the later C++ language features used by the Impala UDF development package. The following has to be done to get the sample codes in "impala-udf-samples-master" to compile:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;#define keyword "noexcept" as "throw()"&lt;/LI&gt;&lt;LI&gt;#include &amp;lt;memory&amp;gt; to access std::shared_ptr&lt;/LI&gt;&lt;LI&gt;Add compiler flag "-std=c++0x" so std::shared_ptr is recognized&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Even so, the generated binaries "uda-sample-test" and "udf-sample-test" when run from the command line crash right away with&amp;nbsp;segmentation faults.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a package that would support this old version of g++?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brian Hu&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2022 11:16:17 GMT</pubDate>
    <dc:creator>brianwhu</dc:creator>
    <dc:date>2022-09-16T11:16:17Z</dc:date>
    <item>
      <title>Is there an Impala UDF C++ dev package for Red Hat 6.8 and g++ 4.4.7?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-an-Impala-UDF-C-dev-package-for-Red-Hat-6-8-and-g-4/m-p/52304#M57326</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Red Hat 6.8 the highest version of g++ supported is 4.4.7 (&lt;A href="https://access.redhat.com/solutions/19458" target="_self"&gt;see this Red Hat document&lt;/A&gt;).&amp;nbsp;This compiler can't handle some of the later C++ language features used by the Impala UDF development package. The following has to be done to get the sample codes in "impala-udf-samples-master" to compile:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;#define keyword "noexcept" as "throw()"&lt;/LI&gt;&lt;LI&gt;#include &amp;lt;memory&amp;gt; to access std::shared_ptr&lt;/LI&gt;&lt;LI&gt;Add compiler flag "-std=c++0x" so std::shared_ptr is recognized&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Even so, the generated binaries "uda-sample-test" and "udf-sample-test" when run from the command line crash right away with&amp;nbsp;segmentation faults.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a package that would support this old version of g++?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Brian Hu&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:16:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-an-Impala-UDF-C-dev-package-for-Red-Hat-6-8-and-g-4/m-p/52304#M57326</guid>
      <dc:creator>brianwhu</dc:creator>
      <dc:date>2022-09-16T11:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there an Impala UDF C++ dev package for Red Hat 6.8 and g++ 4.4.7?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-an-Impala-UDF-C-dev-package-for-Red-Hat-6-8-and-g-4/m-p/52306#M57327</link>
      <description>&lt;P&gt;This is a bug in the impala-udf-dev package versions&amp;nbsp;&lt;SPAN&gt;5.9.x to 5.10.x. I was alway intended to be compilable with older versions of gcc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It will be fixed in 5.11+ once that is released. If you downgrade the package to a version 5.8.x or earlier it should also work.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Mar 2017 15:53:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Is-there-an-Impala-UDF-C-dev-package-for-Red-Hat-6-8-and-g-4/m-p/52306#M57327</guid>
      <dc:creator>Tim Armstrong</dc:creator>
      <dc:date>2017-03-17T15:53:56Z</dc:date>
    </item>
  </channel>
</rss>

