[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-04-03 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.43 Status|NEW

[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-04-03 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 --- Comment #11 from Sourceware Commits --- The master branch has been updated by H.J. Lu : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3428c771aef0cebe229ac0f02a654d2ef78f2427 commit 3428c771aef0cebe229ac0f02a654d2ef78f2427 A

[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-03-09 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 --- Comment #10 from H.J. Lu --- (In reply to Alan Modra from comment #9) > Perhaps it would be better to just drop the mmap change in > _bfd_elf_link_keep_memory. I did wonder when reviewing that patch whether > it was a good idea to discard

[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-03-08 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 --- Comment #9 from Alan Modra --- Perhaps it would be better to just drop the mmap change in _bfd_elf_link_keep_memory. I did wonder when reviewing that patch whether it was a good idea to discard things just based on whether mmap was enable

[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 --- Comment #8 from H.J. Lu --- Created attachment 15395 --> https://sourceware.org/bugzilla/attachment.cgi?id=15395&action=edit This patch is on top of the mmap patches -- You are receiving this mail because: You are on the CC list for th

[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-03-08 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 --- Comment #7 from Sam James --- That's looking good, thanks! I'll run it overnight on top of mmap (needed trivial rebasing) with the package builds. If needed, I can do a separate large build with -Wl,--no-keep-memory and just this patch t

[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 --- Comment #6 from H.J. Lu --- Created attachment 15394 --> https://sourceware.org/bugzilla/attachment.cgi?id=15394&action=edit Try this -- You are receiving this mail because: You are on the CC list for the bug.

[Bug ld/31466] It takes a long time to build Rust program with --no-keep-memory

2024-03-08 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31466 H.J. Lu changed: What|Removed |Added Summary|Hang when building Rust |It takes a long time to |