<?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 Missing -Z option in HP LINUX GCC LD in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/missing-z-option-in-hp-linux-gcc-ld/m-p/4472520#M37771</link>
    <description>Hi&lt;BR /&gt;i cannot able to find out -Z option in the ld in my HP linux box. The system configuration i am using is as follows,&lt;BR /&gt;Linux 2.6.9-55.0.2.ELsmp #1 SMP Tue x86_64 x86_64 x86_64 GNU/Linux&lt;BR /&gt;and&lt;BR /&gt;GNU ld version 2.15.92.0.2 20040927&lt;BR /&gt;and &lt;BR /&gt;gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)&lt;BR /&gt;&lt;BR /&gt;can any one advice an alternate option for -Z in HP linux systems? i need this option for dereferencing NULL pointers while creating shared libraries and executables. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Tue, 04 Aug 2009 08:36:17 GMT</pubDate>
    <dc:creator>karthik_gcc</dc:creator>
    <dc:date>2009-08-04T08:36:17Z</dc:date>
    <item>
      <title>Missing -Z option in HP LINUX GCC LD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/missing-z-option-in-hp-linux-gcc-ld/m-p/4472520#M37771</link>
      <description>Hi&lt;BR /&gt;i cannot able to find out -Z option in the ld in my HP linux box. The system configuration i am using is as follows,&lt;BR /&gt;Linux 2.6.9-55.0.2.ELsmp #1 SMP Tue x86_64 x86_64 x86_64 GNU/Linux&lt;BR /&gt;and&lt;BR /&gt;GNU ld version 2.15.92.0.2 20040927&lt;BR /&gt;and &lt;BR /&gt;gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-8)&lt;BR /&gt;&lt;BR /&gt;can any one advice an alternate option for -Z in HP linux systems? i need this option for dereferencing NULL pointers while creating shared libraries and executables. &lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 04 Aug 2009 08:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/missing-z-option-in-hp-linux-gcc-ld/m-p/4472520#M37771</guid>
      <dc:creator>karthik_gcc</dc:creator>
      <dc:date>2009-08-04T08:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Missing -Z option in HP LINUX GCC LD</title>
      <link>https://community.hpe.com/t5/operating-system-linux/missing-z-option-in-hp-linux-gcc-ld/m-p/4472521#M37772</link>
      <description>In Linux on x86_64 architecture, dereferencing a NULL pointer is always an illegal operation and is treated as a fatal error by the operating system.&lt;BR /&gt;&lt;BR /&gt;Relying on being able to dereference NULL pointers is a bad programming practice. It is not guaranteed to be portable. In HP-UX platform, you can get away with it; but on Linux, you cannot.&lt;BR /&gt;&lt;BR /&gt;If you're porting HP-UX software to Linux and find that a function in the software relies on dereferencing NULL pointers to work, you must fix (or redesign and re-implement) that function as part of the porting effort.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 05 Aug 2009 07:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/missing-z-option-in-hp-linux-gcc-ld/m-p/4472521#M37772</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-08-05T07:06:40Z</dc:date>
    </item>
  </channel>
</rss>

