public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug lto/41871] New: lto-plugin gives: could not open/create temporary file
@ 2009-10-29 20:42 toon at moene dot org
2009-10-30 18:32 ` [Bug lto/41871] " espindola at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: toon at moene dot org @ 2009-10-29 20:42 UTC (permalink / raw)
To: gcc-bugs
This might be a limit-on-number-of-open-files issue.
I encounter it while trying to link with link time optimization *and* using the
linker plugin an executable which needs loads of object files from two dozen
libraries.
To study this, use a program that's build from libraries and linked as follows:
gcc [optimization options] -flto -fwhole-program -fuse-linker-plugin -o exe
mainprogram.c lib1.a lib2.a ... libn.a
To enforce the limit, use the following command in bash
ulimit -n <some small number around 20>
--
Summary: lto-plugin gives: could not open/create temporary file
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: lto
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: toon at moene dot org
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41871
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug lto/41871] lto-plugin gives: could not open/create temporary file
2009-10-29 20:42 [Bug lto/41871] New: lto-plugin gives: could not open/create temporary file toon at moene dot org
@ 2009-10-30 18:32 ` espindola at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: espindola at gcc dot gnu dot org @ 2009-10-30 18:32 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from espindola at gcc dot gnu dot org 2009-10-30 18:31 -------
Fixed on revision 153764.
--
espindola at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41871
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-30 18:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 20:42 [Bug lto/41871] New: lto-plugin gives: could not open/create temporary file toon at moene dot org
2009-10-30 18:32 ` [Bug lto/41871] " espindola at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).