Comment 20 for bug 1689294

Revision history for this message
MichaƂ Fita (michal.fita) wrote :

OK, the last two lines of previous comment are my fault - I fixed it.

The enclosed demo returns to -flto=n, but with make.exe and echo.exe still accessible from PATH environment variable, and the result is:

The system cannot find the path specified.
make: [C:\Users\SESA40~1\AppData\Local\Temp\cc37Et9s.ltrans0.ltrans.o] Error 1 (ignored)

Adding following to the PATH:
%LOCALAPPDATA%\GCC_ARM\8.3.1-2019q3\bin;;%LOCALAPPDATA%\GCC_ARM\8.3.1-2019q3\arm-none-eabi\bin;%LOCALAPPDATA%\GCC_ARM\8.3.1-2019q3\lib\gcc\arm-none-eabi\8.3.1\;C:\Program Files\Git\usr\bin"
results in:
make: [C:\Users\SESA40~1\AppData\Local\Temp\cc0feLNJ.ltrans0.ltrans.o] Error 1 (ignored)

So, appears like different issue than the one I'm trying to beat.

I tried to debug to find why lto-wrapper fails on process creation, but with no luck - I don't have proper tools for the job on Windows.