You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reproduction steps:
Sync your local branch to Envoy envoyproxy/envoy#28075. Run the coverage_integration test locally, RBE or in CI.
Running ci/do_ci.sh coverage_integration will execute in RBE if it is set up, otherwise it run locally.
To execute locally run the command directly:
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x15): relocation R_X86_64_PC32 out of range: -2149800033 is not in [-2147483648, 2147483647]; references __ehdr_start
referenced by InstrProfilingPlatformLinux.c
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x25): relocation R_X86_64_PC32 out of range: -2149800105 is not in [-2147483648, 2147483647]; references __ehdr_start
referenced by InstrProfilingPlatformLinux.c
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x2c): relocation R_X86_64_PC32 out of range: -2149800080 is not in [-2147483648, 2147483647]; references __ehdr_start
referenced by InstrProfilingPlatformLinux.c
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0xb4): relocation R_X86_64_PC32 out of range: -2149800248 is not in [-2147483648, 2147483647]; references __ehdr_start
referenced by InstrProfilingPlatformLinux.c
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x25a): relocation R_X86_64_PC32 out of range: -2149800670 is not in [-2147483648, 2147483647]; references __ehdr_start
referenced by InstrProfilingPlatformLinux.c
The text was updated successfully, but these errors were encountered:
coverage_integration test binary size increase after protobuf update to v23.1
Description:
The coverage_integration stage test binary fails to link due to size increase post Envoy commit to envoyproxy/envoy#28075. Linker options in the envoy_binary macro need to added to workaround the linker issue, similar to the workaround used in the envoy_test macro https://github.com/envoyproxy/envoy/blob/ad3c1c8519d73ef9f746a570a96ab4c0dd7fa907/bazel/envoy_test.bzl#L58.
Reproduction steps:
Sync your local branch to Envoy envoyproxy/envoy#28075. Run the coverage_integration test locally, RBE or in CI.
Running
ci/do_ci.sh coverage_integration
will execute in RBE if it is set up, otherwise it run locally.To execute locally run the command directly:
nighthawk/test/run_nighthawk_bazel_coverage.sh
Line 37 in 9fd10eb
Logs:
https://dev.azure.com/cncf/envoy/_build/results?buildId=142266&view=results
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x15): relocation R_X86_64_PC32 out of range: -2149800033 is not in [-2147483648, 2147483647]; references __ehdr_start
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x25): relocation R_X86_64_PC32 out of range: -2149800105 is not in [-2147483648, 2147483647]; references __ehdr_start
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x2c): relocation R_X86_64_PC32 out of range: -2149800080 is not in [-2147483648, 2147483647]; references __ehdr_start
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0xb4): relocation R_X86_64_PC32 out of range: -2149800248 is not in [-2147483648, 2147483647]; references __ehdr_start
ld.lld: error: /opt/llvm/lib/clang/14.0.0/lib/x86_64-unknown-linux-gnu/libclang_rt.profile.a(InstrProfilingPlatformLinux.c.o):(function __llvm_write_binary_ids: .text.__llvm_write_binary_ids+0x25a): relocation R_X86_64_PC32 out of range: -2149800670 is not in [-2147483648, 2147483647]; references __ehdr_start
The text was updated successfully, but these errors were encountered: