【 使用环境 】 测试环境
【 OB or 其他组件 】OBSERVER
【 使用版本 】V4.2.5 BP4
【问题描述】无法编译,报错信息如下
ld.lld: error: can't create dynamic relocation R_X86_64_32 against local symbol in readonly segment; recompile object files with -fPIC or pass '-Wl,-z,notext' to allow text relocations in the output
>>> defined in /obdata/happycode/upbase_build/workbench/upbase_server/deps/3rd/usr/local/oceanbase/deps/devel/lib/libz.a(crc32.o)
>>> referenced by crc32.c
>>> crc32.o:(get_crc_table) in archive /obdata/happycode/upbase_build/workbench/upbase_server/deps/3rd/usr/local/oceanbase/deps/devel/lib/libz.a
【复现路径】
编译机器性能很好,40C188G内存,el7内核3.10.0
【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!