Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#11447 - Make multigcc.pl not call gcc with no files

Attached to Project: Rockbox
Opened by Frank Gevaerts (fg) - Wednesday, 30 June 2010, 00:05 GMT+2
Last edited by Frank Gevaerts (fg) - Wednesday, 30 June 2010, 18:40 GMT+2
Task Type Patches
Category Build environment
Status Closed
Assigned To Björn Stenberg (zagor)
Player Type All players
Severity Low
Priority Normal
Reported Version Release 3.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

multigcc.pl sometimes produces lines like "sh-elf-gcc: no input files", especially on systems with many cores and for builds with (relatively) few files.
This is because the slice size is rounded up, which means that in some cases there are leftover slices.

The attached patch changes the slice handling a bit to fix this, and also makes the cores>files checking unnecessary.
   multigcc.diff (0.9 KiB)
 tools/multigcc.pl |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

This task depends upon

Closed by  Frank Gevaerts (fg)
Wednesday, 30 June 2010, 18:40 GMT+2
Reason for closing:  Accepted
Additional comments about closing:  Committed as r27196

Loading...