Skip to content

Compiling on AIX with native compilers fails #231

@mikewhitton998

Description

@mikewhitton998

When compiling using the following configure command, that has generally been used by our org for years, fails now with 1.9.12p1:

./configure --with-ldap=/opt/IBM/ldap/V6.4 --with-ldap-conf-file=/etc/security/ldap/ldap.cfg --with-aixauth --with-incpath=/opt/IBM/ldap/V6.4/include --with-libpath=/opt/IBM/ldap/V6.4/lib

Here is the failure message issued by the linker:

This is the error message we are getting:

ld: 0706-005 Cannot find or open file: stack-clash-protection
ld:fopen(): No such file or directory
make: 1254-004 The error code from the last command is 255.

Stop.
make: 1254-004 The error code from the last command is 2.

However, when I disable hardening everything appears to compile correctly:

./configure --with-ldap=/opt/IBM/ldap/V6.4 --with-ldap-conf-file=/etc/security/ldap/ldap.cfg --with-aixauth --with-incpath=/opt/IBM/ldap/V6.4/include --with-libpath=/opt/IBM/ldap/V6.4/lib --disable-hardening

I cannot find any reference to this 'stack-clash-protection' in the IBM documentation for XL C.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions