Possible endless loop in lto-wrapper
Leandro Nini
drfiemost@email.it
Sun Nov 22 08:54:00 GMT 2009
Hi,
in gcc-4.5 lto-wrapper may end up in an endless loop in case of error:
if for example a 'maybe_unlink_file' call from 'lto_wrapper_exit' fails it
calls 'fatal_perror' which in turn calls 'lto_wrapper_exit' again causing
an infinity of
lto-wrapper: deleting LTRANS file /tmp/ccWjXUv8.lto.o: No such file or
directory
error messages on the console.
I've solved this by substituting 'maybe_unlink_file' with
'unlink_if_ordinary'
whithin the 'lto_wrapper_exit' function.
Not sure if this is the best fix but hope it helps.
Best Regards,
Leandro
--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP
autenticato? GRATIS solo con Email.it: http://www.email.it/f
Sponsor:
Vinci subito fantastici premi, partecipando al gioco "alla faccia degli
amici" crea la faccia di chi vuoi tu e gioca!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=9867&d=20091122
More information about the Gcc
mailing list