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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ 59%] Built target extern_brpc
In file included from /usr/local/include/python3.12/pythread.h:128,
from /usr/local/include/python3.12/Python.h:89,
from /paddle/paddle/fluid/eager/pylayer/py_layer_node.h:17,
from /paddle/paddle/fluid/eager/pylayer/py_layer_node.cc:15:
/usr/local/include/python3.12/cpython/pythread.h:42:31: error: missing initializer for member ‘_Py_tss_t::_key’ [-Werror=missing-field-initializers]
#define Py_tss_NEEDS_INIT {0}
^
/paddle/build/third_party/pybind/src/extern_pybind/include/pybind11/detail/../detail/internals.h:82:23: note: in expansion of macro ‘Py_tss_NEEDS_INIT’
= Py_tss_NEEDS_INIT; \
^~~~~~~~~~~~~~~~~
/paddle/build/third_party/pybind/src/extern_pybind/include/pybind11/detail/../detail/internals.h:197:5: note: in expansion of macro ‘PYBIND11_TLS_KEY_INIT’
PYBIND11_TLS_KEY_INIT(tstate)
^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/python3.12/cpython/pythread.h:42:31: error: missing initializer for member ‘_Py_tss_t::_key’ [-Werror=missing-field-initializers]
#define Py_tss_NEEDS_INIT {0}
^
/paddle/build/third_party/pybind/src/extern_pybind/include/pybind11/detail/../detail/internals.h:82:23: note: in expansion of macro ‘Py_tss_NEEDS_INIT’
= Py_tss_NEEDS_INIT; \
^~~~~~~~~~~~~~~~~
/paddle/build/third_party/pybind/src/extern_pybind/include/pybind11/detail/../detail/internals.h:199:5: note: in expansion of macro ‘PYBIND11_TLS_KEY_INIT’
PYBIND11_TLS_KEY_INIT(loader_life_support_tls_key)
^~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
paddle/fluid/eager/pylayer/CMakeFiles/py_layer_node.dir/build.make:75: recipe for target 'paddle/fluid/eager/pylayer/CMakeFiles/py_layer_node.dir/py_layer_node.cc.o' failed
make[2]: *** [paddle/fluid/eager/pylayer/CMakeFiles/py_layer_node.dir/py_layer_node.cc.o] Error 1
CMakeFiles/Makefile2:59652: recipe for target 'paddle/fluid/eager/pylayer/CMakeFiles/py_layer_node.dir/all' failed
make[1]: *** [paddle/fluid/eager/pylayer/CMakeFiles/py_layer_node.dir/all] Error 2
Makefile:135: recipe for target 'all' failed
你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册。
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.
gouzil
changed the title
[pybind11] Fixed compiling errors for pybind11 -Wmissing-field-initializers under aarch64 and gcc8
[pybind11] Fixed compiling errors for pybind11 -Wmissing-field-initializers under aarch64 and gcc8 only python12
Apr 28, 2024
gouzil
changed the title
[pybind11] Fixed compiling errors for pybind11 -Wmissing-field-initializers under aarch64 and gcc8 only python12
[pybind11] Fixed compiling errors for pybind11 -Wmissing-field-initializers under aarch64 and gcc8 only python312
Apr 28, 2024
SigureMo
changed the title
[pybind11] Fixed compiling errors for pybind11 -Wmissing-field-initializers under aarch64 and gcc8 only python312
[pybind11] Fixed compiling errors for pybind11 -Wmissing-field-initializers under gcc8 and python312
Apr 29, 2024
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.
PR Category
Others
PR Types
Others
Description
修复 #63741 引入的问题
可以在
registry.baidubce.com/device/paddle-cpu:ubuntu18-aarch64-gcc82-python-all
镜像下复现复现步骤
closes #63906