lto-wrapper.exe: fatal error: CreateProcess: No such file or directory

Bug #1689294 reported by Michał Fita on 2017-05-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU ARM Embedded Toolchain
Undecided
Unassigned

Bug Description

On Windows the GCC 6.3.1-2017q1 has a problem with `lto-wrapper.exe` if the compiler `bin` directory IS NOT in the PATH environment variable.

However this is unacceptable on our build server were we build branches with different compiler versions. We didn't have similar problems with any form 5.x series, but on the branch for 6.3.1 we enabled LTO, that seem to work in general in manual builds.

It doesn't matter if the bundle in located in the directory which path contains spaces or doesn't. It seems that while the long standing bug for MinGW has been fixed for all other sub-tools, it's still present for `lto-wrapper`.

Is there any workaround know to make it work without adding the compiler directory into PATH?

Tim Yorke (tim-yorke) wrote :

Note that in order to recreate this issue, parallelised LTO should be employed using -flto=<n>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers