https://sourceware.org/bugzilla/show_bug.cgi?id=31527
Pekka Seppänen <pexu at sourceware dot mail.kapsi.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pexu at sourceware dot
mail.kapsi.
| |fi
--- Comment #17 from Pekka Seppänen <pexu at sourceware dot mail.kapsi.fi> ---
Hi.
The patch added the following:
```
if (!file)
perror("Error opening file");
```
This is problematic, as _bfd_real_fopen() is ultimately used for an example
when ld is looking for an archive. This means that perror() fires for soft
failures, such as archive not found from a search directry entry (-L or
--library-path).
Again, on applications, that have multiple search path entries, in practice
there will be always "Error opening file: No such file or directory" error
messages displayed. At least in this particular context those should be
suppressed.
--
You are receiving this mail because:
You are on the CC list for the bug.