Open Bug 1829079 Opened 1 year ago Updated 5 months ago

Deprecated option trace-pc-guard included when building with --sancov

Categories

(NSS :: Build, defect, P3)

Tracking

(Not tracked)

People

(Reporter: noah.lokocz, Unassigned)

References

(Blocks 1 open bug)

Details

Running the nss build script with --sancov will include the flag -fsanitize-coverage=trace-pc-guard in the compilation. The build will succeed but when running a fuzzing executable, an error message is shown, stating "-fsanitize-coverage=trace-pc-guard is no longer supported by libFuzzer. Please either migrate to a compiler that supports -fsanitize=fuzzer
or use an older version of libFuzzer".

I don't think we need this option any more and should look at removing it from the build options to avoid confusion. The recently added --sourcecov seems like the way forward.

Group: crypto-core-security
Severity: -- → S4
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.