We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea0bb71 commit 95858dfCopy full SHA for 95858df
Readme.md
@@ -184,6 +184,17 @@ set substitute-path /usr/src/debug/gcc /path/to/gcc-repo/gcc
184
185
TODO(antoyo): but that's not what I remember I was doing.
186
187
+### `failed to build archive` error
188
+
189
+When you get this error:
190
191
+```
192
+error: failed to build archive: failed to open object file: No such file or directory (os error 2)
193
194
195
+That can be caused by the fact that you try to compile with `lto = "fat"`, but you didn't compile the sysroot with LTO.
196
+TODO: check this ^ .
197
198
### How to debug GCC LTO
199
200
Run do the command with `-v -save-temps` and then extract the `lto1` line from the output and run that under the debugger
0 commit comments