Repository navigation
Commit e73cc82
authored
fix: preserve musl compatibility in FIPS build (#1008)
## Why
[#997](#997) added the musl
compatibility check to the FIPS `native-jar` execution, but did not port
the corresponding link and post-link handling from the Linux release
profiles. As a result, FIPS artifacts retain glibc loader and runtime
dependencies that make them fail the new check.
## Changes
- link the C++ runtime and unwinder archives statically in
`fips-boringssl-static`
- remove the architecture-specific `ld-linux` `DT_NEEDED` entry from the
final FIPS native library before the musl check
- document that FIPS, x86_64, and aarch64 profiles each duplicate these
compatibility settings
## Verification
- `xmllint --noout boringssl-static/pom.xml`
- `git diff --check`
- downstream Linux FIPS builds completed successfully on x86_64 and
aarch64, including the native musl compatibility check
Local Maven model validation was not run because this machine has no
Java runtime.1 parent f76ebd0 commit e73cc82
2 files changed
Lines changed: 23 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
316 | 331 | | |
317 | 332 | | |
318 | 333 | | |
| |||
398 | 413 | | |
399 | 414 | | |
400 | 415 | | |
401 | | - | |
| 416 | + | |
402 | 417 | | |
403 | 418 | | |
404 | 419 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
| 241 | + | |
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
246 | | - | |
247 | | - | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
| 441 | + | |
| 442 | + | |
| 443 | + | |
443 | 444 | | |
444 | 445 | | |
445 | 446 | | |
| |||
0 commit comments