Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • Paddle
  • Issue
  • #26256

P
Paddle
  • 项目概览

PaddlePaddle / Paddle
大约 2 年 前同步成功

通知 2325
Star 20933
Fork 5424
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 1423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
Paddle
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 1,423
    • Issue 1,423
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 543
    • 合并请求 543
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 8月 13, 2020 by saxon_zh@saxon_zhGuest

Can't build Paddle on Ubuntu 18.04 - warnings are being treated as errors

Created by: ddokupil

When trying to build paddle on Ubuntu 18.04 with gcc 7.5 make terminates due to -Werrors. Relevant part of logs pasted below. Full log attached.

/repos/paddle_paddle/paddle/fluid/operators/op_debug_string_test.cc:42:35: required from here /repos/paddle_paddle/build/third_party/boost/src/extern_boost/boost/variant/variant.hpp:1294:38: error: the compiler can assume that the address of 'operand' will never be NULL [-Werror=address] initializer::initialize( ~~~~~~~~~~~~~~~~~~~~~~~^ storage_.address() ~~~~~~~~~~~~~~~~~~ , operand ~~~~~~~~~ ) ~ [ 41%] Linking CXX static library libpass_builder.a [ 41%] Built target pass_builder Scanning dependencies of target memory_reuse_pass [ 41%] Building CXX object paddle/fluid/framework/ir/memory_optimize_pass/CMakeFiles/memory_reuse_pass.dir/memory_reuse_pass.cc.o /repos/paddle_paddle/build/third_party/boost/src/extern_boost/boost/variant/variant.hpp: In member function 'void boost::variant<T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19>::convert_construct(T&, int, mpl_::false_) [with T = const char [1]; T0_ = boost::blank; T1 = int; T2 = float; T3 = std::cxx11::basic_string; T4 = std::vector; T5 = std::vector; T6 = std::vector<std::cxx11::basic_string >; T7 = bool; T8 = std::vector; T9 = paddle::framework::BlockDesc*; T10 = long int; T11 = std::vectorpaddle::framework::BlockDesc*; T12 = std::vector; T13 = boost::detail::variant::void; T14 = boost::detail::variant::void; T15 = boost::detail::variant::void_; T16 = boost::detail::variant::void_; T17 = boost::detail::variant::void_; T18 = boost::detail::variant::void_; T19 = boost::detail::variant::void_]': /repos/paddle_paddle/build/third_party/boost/src/extern_boost/boost/variant/variant.hpp:1293:23: error: nonnull argument 'operand' compared to NULL [-Werror=nonnull-compare] indicate_which( ~~~~~~~~~~~~~~^ initializer::initialize( ~~~~~~~~~~~~~~~~~~~~~~~~ storage_.address() ~~~~~~~~~~~~~~~~~~ , operand ~~~~~~~~~ ) ~ ); build_ubuntu-18_04_mkldnn.log.txt

指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/Paddle#26256
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7