<?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 Compiling GNU software on HP-UX 11i in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801482#M720784</link>
    <description>Hi all - I've been trying to do some builds of the GNU software on some new 11i boxes that I have (A500 and J6000). I've got a clean build of binutils 2.12 and gas passes all the test results. (I'm using dejagnu 1.4.2 and expect 5.32 to run the test suites.) But I'm running into some problems building a version of gcc for our software development group. I've tried building a bootstrap compiler for versions 3.0.4, 3.1.1, and 3.2 with similar results. The make completes OK and the object modules compare OK but gcc fails some of the test suites. If I look at the gcc test result page (&lt;A href="http://gcc.gnu.org/testresults/rov2.html)" target="_blank"&gt;http://gcc.gnu.org/testresults/rov2.html)&lt;/A&gt; there doesn't seem to be any builds which pass all the tests. So... how do you know when you have a good compiler that won't cause problems down the road?&lt;BR /&gt;&lt;BR /&gt;I'm attaching a file that has the failed test results from the 3.1.1 testsuite. Any help in diagnosing these would be extremely appreciated. THANKS!</description>
    <pubDate>Fri, 06 Sep 2002 15:13:10 GMT</pubDate>
    <dc:creator>Pat Allen_1</dc:creator>
    <dc:date>2002-09-06T15:13:10Z</dc:date>
    <item>
      <title>Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801482#M720784</link>
      <description>Hi all - I've been trying to do some builds of the GNU software on some new 11i boxes that I have (A500 and J6000). I've got a clean build of binutils 2.12 and gas passes all the test results. (I'm using dejagnu 1.4.2 and expect 5.32 to run the test suites.) But I'm running into some problems building a version of gcc for our software development group. I've tried building a bootstrap compiler for versions 3.0.4, 3.1.1, and 3.2 with similar results. The make completes OK and the object modules compare OK but gcc fails some of the test suites. If I look at the gcc test result page (&lt;A href="http://gcc.gnu.org/testresults/rov2.html)" target="_blank"&gt;http://gcc.gnu.org/testresults/rov2.html)&lt;/A&gt; there doesn't seem to be any builds which pass all the tests. So... how do you know when you have a good compiler that won't cause problems down the road?&lt;BR /&gt;&lt;BR /&gt;I'm attaching a file that has the failed test results from the 3.1.1 testsuite. Any help in diagnosing these would be extremely appreciated. THANKS!</description>
      <pubDate>Fri, 06 Sep 2002 15:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801482#M720784</guid>
      <dc:creator>Pat Allen_1</dc:creator>
      <dc:date>2002-09-06T15:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801483#M720785</link>
      <description>Some times it is bes to use gmake and all the other g... comipile tools when compiling gnu software. It is quite a pain to get these to work sometimes because of all the g... dependencies.&lt;BR /&gt;&lt;BR /&gt;Hope you get it working.&lt;BR /&gt;&lt;BR /&gt;C</description>
      <pubDate>Fri, 06 Sep 2002 15:36:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801483#M720785</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-09-06T15:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801484#M720786</link>
      <description>Thanks for the advice. I am using gmake (3.79.1) to do the build and the tests.</description>
      <pubDate>Fri, 06 Sep 2002 15:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801484#M720786</guid>
      <dc:creator>Pat Allen_1</dc:creator>
      <dc:date>2002-09-06T15:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801485#M720787</link>
      <description>Fetch my gcc port(s) from &lt;A href="https://www.beepz.com/personal/merijn" target="_blank"&gt;https://www.beepz.com/personal/merijn&lt;/A&gt; and use them to rebuild gcc to match your system</description>
      <pubDate>Fri, 06 Sep 2002 16:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801485#M720787</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-09-06T16:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801486#M720788</link>
      <description>Thanks! It was definitely worth a try. But your port was done for HP-UX 11.0 rather than HP-UX 11.11. The versions built for 11.0 don't work for 11.11. (More info at &lt;A href="http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0xbdd191ccb36bd611abdb0090277a778c,00.html.)" target="_blank"&gt;http://bizforums.itrc.hp.com/cm/QuestionAnswer/0,,0xbdd191ccb36bd611abdb0090277a778c,00.html.)&lt;/A&gt; This is why I'm trying to build it from scratch. If I try to do a make using your build it fails with 'parse error before "size_t"' when it is compiling floatformat.c.&lt;BR /&gt;&lt;BR /&gt;As a FYI, I'm building the first pass of the compiler with HP's ANSI compiler.&lt;BR /&gt;&lt;BR /&gt;I noticed from your web page that you've done a large number of ports of the GNU software and you're the #2 user in the language forum. So may I ask you a question. The gcc instructions on your web page do a "make bootstrap-lean" followed by a "make install". Have you run the gcc test scripts ("make check") on your build? Did it pass all the tests or did it fail some of them? THANKS!!</description>
      <pubDate>Fri, 06 Sep 2002 17:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801486#M720788</guid>
      <dc:creator>Pat Allen_1</dc:creator>
      <dc:date>2002-09-06T17:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801487#M720789</link>
      <description>Hmmm, why don't they work?&lt;BR /&gt;&lt;BR /&gt;Does my piece of documentation work for you?&lt;BR /&gt;&lt;BR /&gt;If you have a working set for 11i, I could make it available there too.&lt;BR /&gt;&lt;BR /&gt;Can you start with the HP Porting center version, and build your own using that? &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/gcc-3.2/&lt;/A&gt;&lt;BR /&gt;Their &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Gnu/binutils-2.11.2/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Gnu/binutils-2.11.2/&lt;/A&gt; is not up to date yet, but might help as a start&lt;BR /&gt;&lt;BR /&gt;I don't use make test on gcc, but I use the gcc built to compile bleading edge perl, which - until 3.1.1 june 11 - caused gcc to crash. They now use perl as a testsuite themselves so I guess that I'm safe there :)&lt;BR /&gt;&lt;BR /&gt;IIRC, the 'make test' (or 'make check' for most GNU utils, annoyingly) requires some extra GNU util (was it dejagnu) that I have not installed. IIRC that uses tcl/tk which I do not *want* to install.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Fri, 06 Sep 2002 17:47:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801487#M720789</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-09-06T17:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801488#M720790</link>
      <description>My (perhaps faulty) understanding is that a number of the system include files changed from 11.0 to 11.11. The 11.0 version of the compiler expects the 11.0 version of the system include files so it gack's. I have a strong feeling after beating my head against the wall for a few weeks that the porting center version won't work either since that's a 11.0 port.&lt;BR /&gt;&lt;BR /&gt;You're absolutely right about the testsuite requiring extra software - dejagnu, expect, and tcl/tk. It's the testsuites which are giving the errors and I'm not sure how many problems you should expect. Like I mentioned in my original post, it doesn't look like anything on the gcc test result page passes all the tests.&lt;BR /&gt;&lt;BR /&gt;I didn't know about using my new gcc to build perl - I'll certainly give that a try. Does the compilation produce any warning messages or are you only worried if it completely bombs?</description>
      <pubDate>Fri, 06 Sep 2002 18:00:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801488#M720790</guid>
      <dc:creator>Pat Allen_1</dc:creator>
      <dc:date>2002-09-06T18:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801489#M720791</link>
      <description>It did bomb. until they fixed it :)&lt;BR /&gt;&lt;BR /&gt;All the expected warnings are caught. At least in 5.8.0 and up. 5.6.1 cannot deal with gcc-3.x. That is, unless you know how to fix makedepend.PL&lt;BR /&gt;&lt;BR /&gt;How about getting a 11i gcc-3.2 prereslease port from &lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html&lt;/A&gt; and use that for building your own.&lt;BR /&gt;&lt;BR /&gt;The offer still stands to put your version on my ITRC site (once it works). If you want, please use /usr/local/pa20_32 as prefix</description>
      <pubDate>Fri, 06 Sep 2002 20:26:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801489#M720791</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-09-06T20:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801490#M720792</link>
      <description>How are you doing? Did you manage to compile a working version?</description>
      <pubDate>Mon, 16 Sep 2002 11:45:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801490#M720792</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-09-16T11:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801491#M720793</link>
      <description>Hi - I took your advice and used my gcc-3.2 to build perl 5.8.0. The build went OK and it passed almost all of the tests. (It actually passed more of the tests than when I built it using HP's ANSI compiler.) So I've goine ahead and have been building various other packages with few (if any) problems. I would need to rebuild the compiler under /usr/local/pa_20_32 to put it on your site. Is there any easy way to get in touch with you if I do have a chance to rebuild it?</description>
      <pubDate>Wed, 18 Sep 2002 16:05:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801491#M720793</guid>
      <dc:creator>Pat Allen_1</dc:creator>
      <dc:date>2002-09-18T16:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compiling GNU software on HP-UX 11i</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801492#M720794</link>
      <description>Todaz from Munchen. Zou can contact me on merijn-at-procura.nl (I cannot find the at-sign on this kezboard)</description>
      <pubDate>Sat, 21 Sep 2002 07:10:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compiling-gnu-software-on-hp-ux-11i/m-p/2801492#M720794</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-09-21T07:10:47Z</dc:date>
    </item>
  </channel>
</rss>

