forked from ziglang/zig
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Currently, zig cc has a flaw: it cannot detect when a symbol is moved between libraries. Example: pthread_sigmask was moved from libpthread to libc since glibc-2.32. As symbol mapping files that are generated using update_glibc.zig tool are based on latest glibc version, compiling for targets with lower that glibc-2.32 version results in pthread_sigmask being linked with libc instead of libpthread. This causes a relocation error ziglang#7667 This commit adds versioning for (fns|abi|vers).txt based on glibc version.
- Loading branch information
1 parent
cde3dd3
commit 0a35c1f
Showing
3 changed files
with
102 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters