9.2.1: Linking with LTO produces erros unless -save-temps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Arm Embedded Toolchain |
New
|
Undecided
|
Unassigned |
Bug Description
Building my complex project with LTO enabled with 2019-q4 toolchain leads to bunch of errors at linking stage:
The system cannot find the path specified.
The system cannot find the path specified.
make[2]: [c:\Projects\
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
The system cannot find the path specified.
make[2]: [c:\Projects\
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
The system cannot find the path specified.
make[2]: [c:\Projects\
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
The system cannot find the path specified.
make[2]: [c:\Projects\
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
The system cannot find the path specified.
make[2]: [c:\Projects\
But adding `-save-temps` to `LD_FLAGS` makes these errors disappear.
As far as I remember MinGW had some issues with temporary files in the past, so definitely this issue takes place here... like temp files removed too early?
tags: | added: lto |
description: | updated |
Michal, may you provide information helping us to reproduce this issue please?
Thanks,
Joey