Oracle 10g Precompiler Compilation/Link With 'z' Flag On HP Based Systems (Doc ID 1088187.1)

Last updated on JULY 05, 2017

Applies to:

Precompilers - Version: 10.2.0.1 and later   [Release: 10.2 and later ]
Information in this document applies to any platform.

Goal

Oracle 10g 10.2 Precompiler - Pro*C compile and link commands supplied to us by Oracle for the (HP) ITANIUM contain a "-z" switch.

This switch was not present in the previous Oracle Precompiler Pro*C Makefile on (HP) PA-RISC.

The OS default setting on both (HP) ITANIUM and (HP) PA_RISC is to not use this switch.

-z Arrange for run-time dereferencing of null pointers to produce a SIGSEGV signal. (This is
the complement of the -Z option. -Z is the default.)

Having -z switch in Makefile that causes a core dump.

1. Why the -z switch been introduced ?
2. What exactly are the consequences if this switch is removed ?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms