[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26626] Provide a hook to customize missing library error handlin
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/26626] Provide a hook to customize missing library error handling |
Date: |
Wed, 16 Sep 2020 15:31:09 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26626
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Serge,
Thinking about this I think that you should actually supply two arguments to
the script/tool/process that is invoked. The first should be a keyword saying
which problem needs handling and the second should be a parameter for that
keyword. So for example:
addLibrary missing-library -loauth
The reason for this is that it allows the script to be extended to handle other
error situations in the future. eg:
<error-handling-script> missing-symbol foo
or
<error-handling-script> duplicate-definition bar
If you feel that this is too much, then I would suggest that the option name
ought to be changed from --error-handling-script to --missing-library-helper
(or something similar).
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.