eospss 2019-11-01 13:02 采纳率: 0%
浏览 951

编译firefox windows版时出现错误不知怎么解决

编译环境是 vs 2019 选择的是 c++ 桌面开发和c++游戏开发。
windows sdk 是 10.0.18362.0版本。
LLVM是9.0的32位版本。
rust使用的是rustup-init自动安装的最新版(使用网上的msi安装包安装后编译时报错python有问题)。
安装了nasm-2.14rc16的64位版本
firefox使用的是官网提供的firefox-69.0.3
MozillaBuild使用的是3.2版本
编译了大约20分钟后系统报错,最后错误如下

 5:59.18 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/ipc/ipdl/UnifiedProtocols9.cpp:2:
 5:59.18 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/ipc/ipdl/PChildToParentStreamChild.cpp:7:
 5:59.18 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/ipc/ipdl/_ipdlheaders\mozilla/ipc/PChildToParentStreamChild.h:9:
 5:59.18 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/ipc/ipdl/_ipdlheaders\mozilla/ipc/PChildToParentStream.h:11:
 5:59.18 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/ipc/IPCMessageUtils.h:36:
 5:59.18 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/nsIWidget.h:21:
 5:59.18 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include\nsStyleConsts.h:17:
 5:59.19 In file included from e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConsts.h:9929:
 5:59.19 e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConstsInlines.h(117,3): warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
 5:59.19   count.load(std::memory_order_acquire);
 5:59.19   ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
 5:59.19 e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConstsInlines.h(199,22): note: in instantiation of member function 'mozilla::StyleArcInner<mozilla::StyleTemplateAreas>::DecrementRef' requested here
 5:59.19   if (MOZ_LIKELY(!p->DecrementRef())) {
 5:59.20                      ^
 5:59.20 e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConstsInlines.h(224,3): note: in instantiation of member function 'mozilla::StyleArc<mozilla::StyleTemplateAreas>::Release' requested here
 5:59.21   Release();
 5:59.21   ^
 5:59.21 e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConsts.h(8098,10): note: in instantiation of member function 'mozilla::StyleArc<mozilla::StyleTemplateAreas>::~StyleArc' requested here
 5:59.21   struct StyleAreas_Body {
 5:59.21          ^
 6:00.88 2 warnings generated.
 6:02.54 2 warnings generated.
 6:03.26 2 warnings generated.
 6:05.10 2 warnings generated.
 6:10.54 2 warnings generated.
 6:10.61 mozmake.EXE[2]: *** [e:/firefox-69.0.3/config/recurse.mk:34: compile] Error 2
 6:10.61 mozmake.EXE[1]: *** [e:/firefox-69.0.3/config/rules.mk:391: default] Error 2
 6:10.61 mozmake.EXE: *** [client.mk:125: build] Error 2
 6:10.63 147 compiler warnings present.

其中大量的警告重复出现

e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConstsInlines.h(117,3): warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
 5:59.19   count.load(std::memory_order_acquire);
 5:59.19   ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~
 5:59.19 e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConstsInlines.h(199,22): note: in instantiation of member function 'mozilla::StyleArcInner<mozilla::StyleTemplateAreas>::DecrementRef' requested here
 5:59.19   if (MOZ_LIKELY(!p->DecrementRef())) {
 5:59.20                      ^
 5:59.20 e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConstsInlines.h(224,3): note: in instantiation of member function 'mozilla::StyleArc<mozilla::StyleTemplateAreas>::Release' requested here
 5:59.21   Release();
 5:59.21   ^
 5:59.21 e:/firefox-69.0.3/obj-x86_64-pc-mingw32/dist/include/mozilla/ServoStyleConsts.h(8098,10): note: in instantiation of member function 'mozilla::StyleArc<mozilla::StyleTemplateAreas>::~StyleArc' requested here
 5:59.21   struct StyleAreas_Body {
 5:59.21          ^
 6:00.88 2 warnings generated.
 6:02.54 2 warnings generated.

请问这种问题怎么处理呢?

  • 写回答

1条回答 默认 最新

  • zqbnqsdsmd 2019-11-02 11:19
    关注
    评论

报告相同问题?

悬赏问题

  • ¥15 vue3页面el-table页面数据过多
  • ¥100 vue3中融入gRPC-web
  • ¥15 kali环境运行volatility分析android内存文件,缺profile
  • ¥15 写uniapp时遇到的问题
  • ¥15 vs 2008 安装遇到问题
  • ¥15 matlab有限元法求解梁带有若干弹簧质量系统的固有频率
  • ¥15 找一个网络防御专家,外包的
  • ¥100 能不能让两张不同的图片md5值一样,(有尝)
  • ¥15 informer代码训练自己的数据集,改参数怎么改
  • ¥15 请看一下,学校实验要求,我需要具体代码