ld: Don't treat fatal error as warning
Disagreement over whether a fatal linker error should be treated as a warning.
Maciej W. Rozycki objects to a patch that changes how the linker (ld) handles fatal errors, specifically concerning the vfinfo function. H.J. Lu had previously indicated intent to check in the patch, but Rozycki explicitly states he objected. The core issue is whether vfinfo should continue to treat a fatal error as a warning.
- reviewer
Indicates intent to apply a patch that modifies error handling in `ld`.
“If there is no objection, I will check it in next week.”
- proposer
Objects to the patch, stating that his objection was previously made.
“I did object, didn't I?”
Technical Tradeoffs
- The patch aims to improve error reporting accuracy by distinguishing fatal errors from warnings.
- The objection raises concerns about the potential side effects or correctness of this change in the `ld` tool.
In Details
A disagreement on the ld mailing list regarding a patch that alters error reporting. The patch intends to prevent vfinfo from treating a fatal linker error as a warning. One reviewer indicated they would apply it, but another explicitly voiced an objection, creating a stall.
- ld
- The GNU linker, responsible for combining object files and libraries into an executable or other binary.
- vfinfo
- Likely a function within binutils related to reporting information or errors, possibly during the linking process.
- fatal error
- An error condition that is severe enough to halt the program's execution immediately.
- warning
- A message indicating a potential problem or non-critical issue that does not necessarily stop program execution.