IBM Support

Clearmake core dumps on RHEL 4 64-bit Linux platform

Troubleshooting


Problem

This technote explains a possible cause why running a clearmake build may result in a core dump when using IBM® Rational® ClearCase® on a Red Hat® Enterprise Linux® 4 (RHEL4) 64-bit platform.

Symptom


When clearmake is run on a RHEL 4 64-bit platform, clearmake core dumps.

Running the same clearmake on a 32-bit system has no issues.

Cause


The main cause for this may be due to a very large makefile macro of over 390K characters.

Resolving The Problem

Break the macro down to smaller macro definitions.

Once the macro is broken down into smaller macro definitions, then the core events will stop.

The reason that this did not core on a 32-bit system was in how memory was managed for compiling programs. Basically, a 32-bit system could use unlimited amounts of memory. On a 64-bit system with a 32-bit application being compiled, there is a 2GB limit and that is what caused the core event.

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Clearmake - Clearaudit - Omake","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.0.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21314816