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.
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21314816