http://sourceware.org/bugzilla/show_bug.cgi?id=10708
--- Comment #10 from Cary Coutant <ccoutant at google dot com> 2010-11-04 00:08:46 UTC --- I found another leak that will explain the problem -- if you're using the --no-keep-files-mapped option (or a 32-bit build of gold, for which that's the default) and --gc-sections and/or --icf. Can you try the patch below and let me know if it fixes the problem for you? -cary Index: gold.cc =================================================================== RCS file: /cvs/src/src/gold/gold.cc,v retrieving revision 1.85 diff -u -p -r1.85 gold.cc --- gold.cc 14 Oct 2010 22:10:22 -0000 1.85 +++ gold.cc 3 Nov 2010 23:39:44 -0000 @@ -359,6 +359,7 @@ queue_middle_tasks(const General_options p != input_objects->relobj_end(); ++p) { + Task_lock_obj<Object> tlo(task, *p); (*p)->layout(symtab, layout, NULL); } } -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils