default enabled --build-id causes excessive memory utilization for f77 codes with a large BSS
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.