default enabled --build-id causes excessive memory utilization for f77 codes with a large BSS

Solution Verified - Updated -

Issue

  • Fortran77 requires static arrays which end up as BSS sections in the binary.
  • When a process is being linked and it gets to the part where it it calculates the build-id, it allocates all that space (which is nothing but zeros) and then calculates the buildid including that.
  • This greatly increases the time needed to link the binary, can cause this shared diskless machine to oomkill, and impacts other users who are trying to do something.

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.