-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Function names are not universally prefixed with jq_ or jv_ #1725
Comments
Note I have pull request for this here: #1726 |
@jgarvin I'm not sure we should support static linking with |
@nicowilliams there are many different reasons for doing it -- there is a significant performance difference on some platforms, and last I checked it is required for LTO. It is also pretty common practice to use fully statically link libraries at a lot of companies nowadays, with the security concerns around binary updating handled by other means -- Google for example statically likes everything. I think it is better to let users exercise their discretion about how they want to link their libraries. If the change were really involved I could understand wanting to limit support for maintenance burden reasons, but the change is just a trivial rename. |
I do not care to support statically linking anything other than jq with Static linking has terribly broken semantics. We must not expose our users to the poison that is static linking. If Google wants to statically link everything then they should pay to teach the link-editor(s) how record in static link archives a) the library's dependencies ( I'll do two things: a) give @stedolan and @wtlangford a chance to comment, b) open an issue to never install (in EDIT: I might actually build half the tool I'm saying that Google ought to write: a wrapper around the link-editor that writes the missing metadata in a |
libpcap defines some of the same symbols declared inside compile.h, namely gen_and and gen_or. This complicates using jq as a library because you end up with multiple definition linker errors.
The text was updated successfully, but these errors were encountered: