Skip to content

[CI][Archery] Archery linking should also check for undefined symbols #40018

@raulcd

Description

@raulcd

In order to avoid issues like the one referenced below:

def check_dynamic_library_dependencies(path, allowed, disallowed):
dylib = DynamicLibrary(path)
for dep in dylib.list_dependency_names():
if allowed and dep not in allowed:
raise DependencyError(
f"Unexpected shared dependency found in {dylib.path}: `{dep}`"
)
if disallowed and dep in disallowed:
raise DependencyError(
f"Disallowed shared dependency found in {dylib.path}: `{dep}`"
)
should also check undefined symbols.

It seems that #39137 is the cause of this. Sorry...

Originally posted by @kou in #39919 (comment)

List of related issues:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions