https://sourceware.org/bugzilla/show_bug.cgi?id=23573
Benjamin Redelings changed:
What|Removed |Added
CC||benjamin.redelings at gmail
dot
https://sourceware.org/bugzilla/show_bug.cgi?id=23573
--- Comment #10 from Benjamin Redelings
---
Created attachment 11859
--> https://sourceware.org/bugzilla/attachment.cgi?id=11859&action=edit
strace of ld while failing
Here's an strace of the command line
/usr/bin/x86_64-w64-mingw32-ld -
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: benjamin.redelings at gmail dot com
Target Milestone: ---
When trying to link a large program, the linker fails with "Too many open
files".
This occurs with binutils 2.32, so the previous similar bug
https://sourceware.org/bugzilla/show_bug.cgi?id=24723
--- Comment #1 from Benjamin Redelings ---
Created attachment 11860
--> https://sourceware.org/bugzilla/attachment.cgi?id=11860&action=edit
An strace log of the linker running out of open files.
--
You are receiving this mail because:
You
https://sourceware.org/bugzilla/show_bug.cgi?id=23573
--- Comment #12 from Benjamin Redelings
---
Hi Nick,
Thanks for the input. So far I've just looked at the strace log that I
uploaded, and you are right that archives are getting opened repeatedly. There
are three archive filesand they get
https://sourceware.org/bugzilla/show_bug.cgi?id=23573
--- Comment #14 from Benjamin Redelings
---
I tried running the linker under gdb, but apparently the debian package has
stripped out all the debug symbols. Usually you can unstall them in a separate
*-dbg package, but I don't see one for the
https://sourceware.org/bugzilla/show_bug.cgi?id=23573
--- Comment #13 from Benjamin Redelings
---
The build directory is about 74Mb compressed, or 38M if I strip out unneeded
files. Would there be a good place to upload this?
--
You are receiving this mail because:
You are on the CC list for
https://sourceware.org/bugzilla/show_bug.cgi?id=23573
--- Comment #16 from Benjamin Redelings
---
Hi Nick,
I was able to upload the files to here:
https://www.dropbox.com/s/jyaapql2gj1r7br/gcc-win64.tar.gz?dl=0
Can you let me know if this works?
$ cd gcc-win64
$ /usr/bin/x86_64-w64-mingw32
https://sourceware.org/bugzilla/show_bug.cgi?id=23573
--- Comment #18 from Benjamin Redelings
---
Hi Nick,
Thank you so much for looking into this.
I reran the exact same command and now it works with the linker plugin just
fine. I also check using /proc, and the linker process has about 30