https://sourceware.org/bugzilla/show_bug.cgi?id=30566
Bug ID: 30566 Summary: -z pack-relative-relocs --no-keep-memory uses more memory than without --no-keep-memory Product: binutils Version: 2.40 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: mh-sourceware at glandium dot org Target Milestone: --- When linking libxul.so from Firefox, with -z pack-relative-relocs (output from time -v): Maximum resident set size (kbytes): 13170360 When adding --no-keep-memory: Maximum resident set size (kbytes): 72244188 ... and that's not actually the entire story because the process is OOM-killed before actually finishing. STR: - download and extract https://drive.google.com/file/d/15UZd8u9j_nZdjhlqdHkswyaUf08gmRAP/view?usp=sharing - in the repr/ directory, run ld @response.txt --no-keep-memory -- You are receiving this mail because: You are on the CC list for the bug.