-
Hi!
I noticed that in the `Cargo.toml` file Link-Time Optimization (LTO) for the project is not enabled. I suggest switching it on since it will reduce the binary size (always a good thing to have)…
-
I tried to build with the following *FLAGS to optimize the build: `-flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing`
Note the -Werror=* flags are used to help detect cases wher…
-
```
ld.mold: .../llvm-19.1.1/work/llvm/tools/gold/gold-plugin.cpp:1069: std::vector runLTO(): Assertion `ObjFilename.second' failed
```
Probably related to #1355. The problem appears when using C…
-
-
### Code
Discovered this error while fuzzing for https://github.com/rust-lang/rust/issues/81280
I used `cargo watch -- cargo build --profile incremental` for building [this binary crate](https://git…
-
If interested in exploring possible performance tweaks, I can confirm the websdr.bin binary builds and works with GCC (v13.2.1) graphite and fipa-pta optimizations enabled. Note I have not tested all …
-
In https://github.com/vectordotdev/vector/issues/15631#issuecomment-1694554798 I tried to optimize [Vector](https://vector.dev) with LTO + PGO enabled. But during the optimization phase (done with `ca…
-
[This code in LLD COFF](https://github.com/llvm/llvm-project/blob/474234a09655e57b7a4270150f0926db77e864b4/lld/COFF/InputFiles.cpp#L1200) doesn't ever look at the LLVM IR comdat selection kind, so it …
-
In #5904, LTO was added to our release profile. However, in #5984, this failed for just the ppc64le musl cross build (which uses the nightly toolchain):
```
error: failed to get bitcode from obje…
-
As discussed in #2301, cargo silently builds a cdylib without LTO when the same crate also has rlib outputs, as rustc would otherwise error.
The only sign this has happened currently is the output …
Lymia updated
3 weeks ago