[Info-vax] Error running MariaDB

hb end.of at inter.net
Mon Oct 12 06:01:49 EDT 2020


On 10/10/20 12:45 AM, Stephen Hoffman wrote:
> On 2020-10-09 15:48:40 +0000, hb said:
> 
>> On 10/9/20 5:16 PM, Stephen Hoffman wrote:
>>> On 2020-10-09 10:18:54 +0000, hb said:
>>>
>>>> Anyway, ANALYZE/IMAGE does not compare the GSMATCH found in the
>>>> image with the GSMATCH in the shareable on the system. It also does
>>>> not try to find out whether all the references to the shareable
>>>> image can be resolved from the shareable on the system, usually
>>>> found in SYS$SHARE.  So ANALYZE/IMAGE can't detect this problem.
>>>
>>> Fodder for enhancement, then: Analyze better.
>>
>> Or use a different tool:
> 
> That wasn't a request for alternative tooling.

Maybe I don't understand, wouldn't be the first time. What should be
enhanced and analyzed better?

ANALYZE/IMAGE analyzes the contents of an executable image file or a
shareable image file, identifying obvious errors in the file. In other
words, it shows you every bit in the image file - and if that is in meta
data its meaning. That's all. Look at it as the VMS version of "objdump"
or readelf". Btw., the latter has some knowledge about VMS ELF images.

Checking for image dependencies, GSMATCH or whatever, is different.
Having this feature sounds useful, that's why the alternative tool was
written.

But there is no reason to enhance ANALYZE/IMAGE to do this. Code
sharing? Can be done without integrating the new feature into the
existing tool. (For several reasons the shown alternative tool does not
use code from ANALYZE.) You probably can integrate such a tool into a
DCL command like ANALYZE/IMAGE/DEPENDENCIES. Is that what you mean with
"Analyze better"? There is also a "SHOW IMAGE" and a qualifier
/DEPENDENCIES would make some sense there too, at least to me. But what
do I know.

Would you also suggest to enhance ANALYZE/OBJECT to check every external
reference whether a definition exists in a specified object or object
library and whether it is of a compatible type? It would detect
problems, which you currently only notice at link time!



More information about the Info-vax mailing list