OpenSolaris

Printable Version Enter a New Search
Bug ID 6646597
Synopsis library load failures aren't properly propagated to dependents
State 10-Fix Delivered (Fix available in build)
Category:Subcategory library:libdtrace
Keywords
Responsible Engineer Adam Leventhal
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_88
Fixed In snv_88
Release Fixed solaris_nevada(snv_88)
Related Bugs
Submit Date 2-January-2008
Last Update Date 23-April-2008
Description
[ahl 1.2.2008]

If a D library file depends on another file which fails to load, the first file may cause a fatal compilation error. For example, consider A.d which depends on B.d. A.d contains a declaration which includes a symbol defined in B.d. B.d depends on a kernel module which isn't present so fails to load. This is correctly handled in libdtrace and ignored. A.d will fail to load because B.d hasn't loaded and the symbol it uses from B.d hasn't been defined. In this case, a failure of B.d to load needs to be propagated to A.d so that it also is skipped.
Work Around
N/A
Comments
N/A