-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi!
I am trying to test PGO with https://github.com/cloudflare/boringtun . I have the following errors:
... <lines omitted>
Compiling boringtun v0.5.2 (/Users/zamazan4ik/open_source/boringtun/boringtun)
warning: unused variable: `fwmark`===> ] 170/177: clap, boringtun, clap, criterion
--> boringtun/src/device/peer.rs:107:9
|
107 | fwmark: Option<u32>,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fwmark`
|
= note: `#[warn(unused_variables)]` on by default
warning: 535 warnings emitted========> ] 172/177: boringtun, criterion
Compiling boringtun-cli v0.5.2 (/Users/zamazan4ik/open_source/boringtun/boringtun-cli)
warning: unused variable: `fwmark`===> ] 174/177: crypto_benches(bench), boringtun(test), boringtun-cli(bin test)
--> boringtun/src/device/peer.rs:107:9
|
107 | fwmark: Option<u32>,
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fwmark`
|
= note: `#[warn(unused_variables)]` on by default
module flag identifiers must be unique (or of 'require' type)
!"CG Profile"
LLVM ERROR: Broken module found, compilation aborted!
error: could not compile `boringtun-cli`; 3 warnings emitted
warning: build failed, waiting for other jobs to finish...
module flag identifiers must be unique (or of 'require' type)
!"CG Profile"
LLVM ERROR: Broken module found, compilation aborted!
error: could not compile `boringtun`; 26 warnings emitted
module flag identifiers must be unique (or of 'require' type)
!"CG Profile"
LLVM ERROR: Broken module found, compilation aborted!
error: could not compile `boringtun`; 48 warnings emitted
PGO optimized build has failed.
Cargo finished with an error (101)
I did the following steps:
- Run
cargo pgo bench. All is fine here. - Run
cargo pgo optimize bench. Here I got the errors.
I have tried to google the error but with no success. I didn't dig into LLVM, however.
If you need additional information - I would be happy to provide it :)
konstin
Metadata
Metadata
Assignees
Labels
No labels