Skip to content

Filter out --dynamic-list linker arg unsupported by zig cc#392

Merged
messense merged 1 commit intomainfrom
filter-dynamic-list
Jan 25, 2026
Merged

Filter out --dynamic-list linker arg unsupported by zig cc#392
messense merged 1 commit intomainfrom
filter-dynamic-list

Conversation

@messense
Copy link
Member

zig's lld supports --dynamic-list but zig cc doesn't pass it through. Filter it out along with its file path argument to allow linking to succeed.

Note: This may affect symbol visibility but is necessary for linking powerpc64-unknown-linux-musl and similar targets.

Fixes #355

zig's lld supports `--dynamic-list` but `zig cc` doesn't pass it through.
Filter it out along with its file path argument to allow linking to succeed.

Note: This may affect symbol visibility but is necessary for linking
powerpc64-unknown-linux-musl and similar targets.

Fixes #355
@messense messense merged commit c8a660f into main Jan 25, 2026
40 checks passed
@messense messense deleted the filter-dynamic-list branch January 25, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linking powerpc64-unknown-linux-musl error with unsupported linker arg: --dynamic-list

1 participant