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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content