-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ld.lld linker error on gz_intmax like symbol not defined #75056
Comments
@llvm/issue-subscribers-lld-elf Author: None (lonewolf73)
Hello everyone!
I have ubuntu 22.04 LTS with :
trying to compile vlc library returns error on :
where if I do a grep on gz_intmax I can see it's present in :
so as like as I followed the discussion inside comment on LLD --no-undefined-version , is that error I am getting related to --no-undefined-version ? If yes, where I could add --undefined-version to revert to old behavior? Thanks! |
It is likely that the actual existence of |
There is chicken and egg dilemma when checking the sanity of toolchain and creating customized symbol map or version script as it would require testing the toolchain (specifically linker) twice, once with dummy version, and then with the real one. As VLC already patches the zlib sources, it would be best solution to just strip the symbol definition from the version script. Biggest problem with zlib since early days has been that it's supposed to support very old compilers and toolchains, so it really does very little effort to support all the intricacies of modern toolchains (especially for 64-bit targets). That is also why few years ago forks were started that focus on supporting modern toolchains instead. |
Hello everyone!
I have ubuntu 22.04 LTS with :
trying to compile vlc library returns error on :
where if I do a grep on gz_intmax I can see it's present in :
so as like as I followed the discussion inside comment on LLD --no-undefined-version , is that error I am getting related to --no-undefined-version ? If yes, where I could add --undefined-version to revert to old behavior?
Thanks!
Cheers!
The text was updated successfully, but these errors were encountered: