【发布时间】:2020-05-13 02:10:10
【问题描述】:
我刚刚使用 gcc/4.8.2 编译了我自己的 gcc/9.2.0 版本。成功编译和安装 gcc/9.2.0 后,我尝试编译 ucx-1.5.1。当我尝试运行 ucx 配置脚本时,我收到以下消息“检查 attribute((constructor))... configure: error: Cannot continue. Please use compiler that supports attribute强>((构造函数))”。 当我使用旧的 gcc/4.8.2 运行脚本时,完全没有错误。
知道出了什么问题吗?
【问题讨论】:
-
gcc/9.2.0 是否可能不支持“__attribute__((constructor))”?