Resolve the error generated by cross-compiled mcmodel=extreme or loon… #6
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
…garch64 on x86_x64
Enable ClickHouse to cross-compile for loongarch64 on x86_x64, so that it can run on loongarch64 So far, only basic functions have been tested (on real hardware: 3B5000, 3C5000, 3C6000), The ClickHouse server is running and functioning normally, and the client is working, The basic function test is effective, affecting only loongarch64-linux-gnu Resolve the error generated by cross-compiled mcmodel=extreme Specific operation
build/bin/clang++ --target=loongarch64-linux-gnu -mcmodel=extreme -o {BUILD_PATH}/google-protobuf/src/google/protobuf/generated_message_tctable_lite.cc.o -c {CLICKHOUSE_SRC_PATH}/google-protobuf/src/google/protobuf/generated_message_tctable_lite.cc Error message
fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
#0 0x0000000001f919d7 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (build/bin/clang+++0x1f919d7)
...............
...............