-
Notifications
You must be signed in to change notification settings - Fork 68
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
[Bug]: gcc13 编译时,会报一些数据类型未定义 #273
Comments
Hi @Lost-Temple Can you try with gcc <= 12? |
我MAC成功,fedora38上是GCC是13,没有GCC <=12的环境,如果我有其它环境到时候再来这里补充吧 |
感谢输入 |
Merged
spu main 分支中 def _yacl():
maybe(
http_archive,
name = "yacl",
urls = [
"https://github.com/secretflow/yacl/archive/refs/tags/0.4.3b1.tar.gz",
],
strip_prefix = "yacl-0.4.3b1",
sha256 = "e22a1ca88a97d4709fb08051d4f756c3bb581ff74f93e01f9eb4bb52dd694b19",
) |
这个要等下一个周期,你可以临时用这个 commit id 继续测试 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue Type
Build/Install
Modules Involved
Others
Have you reproduced the bug with SPU HEAD?
Yes
Have you searched existing issues?
Yes
SPU Version
spu main
OS Platform and Distribution
fedora38
Python Version
3.11.5
Compiler Version
gcc 13
Current Behavior?
编译时,bazel-spu/external/yacl/yacl/base/int128.h 会报类型未定义的错误,这可能是-std=c++17,但使用gcc13去编译时发生的,错误信息例子如:error: 'uint64_t' was not declared in this scope
Standalone code to reproduce the issue
Relevant log output
No response
The text was updated successfully, but these errors were encountered: