psi icon indicating copy to clipboard operation
psi copied to clipboard

build as release编译报错问题

Open muyixi315 opened this issue 1 year ago • 3 comments

centos执行build as release报错 最新branchtag:v0.4.0.dev240401在执行bazel build //... -c opt报错问题 image examples/pir/BUILD.bazel 缺少配置:linkopts = ["-ldl"],添加后build通过

但是拉起secretflow/ubuntu-base-ci:latest,直接执行bazel build //... -c opt可以正常结束 请问该镜像中有什么关键配置是影响编译链接选项-ldl

同时dev docker命令好像有误 CapAdd and privileged are mutually exclusive options

muyixi315 avatar Apr 18 '24 07:04 muyixi315

Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon.

github-actions[bot] avatar May 19 '24 09:05 github-actions[bot]

1、examples/pir/BUILD.bazel 缺少配置:linkopts = ["-ldl"],添加后build通过;请问该镜像中有什么关键配置是影响编译链接选项-ldl? ---这块跟gcc的版本有关系 2、CapAdd and privileged are mutually exclusive options ---CapAdd 和 privileged 不是互斥选项。它们都是 Docker 中控制容器权限的设置,但用途不同。CapAdd 用于添加特定的 Linux 能力,而 privileged 则赋予容器所有能力。它们可以独立使用或结合使用

lq0404510 avatar May 20 '24 02:05 lq0404510