-
Notifications
You must be signed in to change notification settings - Fork 70
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
[Feature request] Allow users to recompile protoc #115
Comments
Isn't it enough to set |
I didn't know that flag exists. Thanks :). But it still seems to not work for some reason - I get a binary that still depends on the linker in the usual place raider :: » file ./bazel-out/k8-opt-exec-FFB32019/bin/external/com_google_protobuf_protoc_linux_x86_64/protoc.exe
./bazel-out/k8-opt-exec-FFB32019/bin/external/com_google_protobuf_protoc_linux_x86_64/protoc.exe: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=1b078080620f7b15
0ba8d0a195d68275b03d075e, stripped I think this forces bazel to recompile |
Most Starlark rules hardcode Can you share which language/ |
|
As expected, |
This is a problem of https://docs.google.com/document/d/1dY_jfRvnH8SjRXGIfg8av-vquyWsvIZydXJOywvaR1A/edit |
I would like to have some way to tell
rules_proto
"please recompile protoc".I came upon this while trying to use rules_proto on nixos, which doesn't have ld in /lib64/ld-linux-x86-64.so.2, as is expected by the prebuilt binaries. If it's instead rebuilt, things work fine.
I've implemented some solution in #114
The text was updated successfully, but these errors were encountered: