[hellogcc] OSDT Weekly 2020-07-08 第053期

  • From: Wei Wu (吴伟) <lazyparser@xxxxxxxxx>
  • To: hellogcc@xxxxxxxxxxxxx
  • Date: Wed, 8 Jul 2020 22:50:29 +0800

# OSDT Weekly 2020-07-08 第053期

OSDT Weekly 一周岁啦 🎉

全年无休更新了53期,完成了一年的准时[0]更新。见证了魔幻的2020。这才7月。以后半年,希望大家都健康平安、不裁员。

[0] 实际上有一期延期了一天。

### 近期线下活动

7月5日的 LLVM + RISC-V 线上讨论会视频 已经公开,参见
http://www.hellogcc.org/?p=34386

下次活动计划7月底或者8月初。目前开放报名,话题是开源开发工具范围内都可以,例如GCC、LLVM、QEMU、Valgrind、DynamoRIO。
可以直接联系OSDT的负责人吴伟报名进行分享。

## 编译社区的八卦信息

### GCC

- IBM/PowerPC可能是目前最活跃的GCC后端
 [PATCH] Add power10 BRD/BRW/BRH support.
 https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549276.html

 [PATCH 1/2] PowerPC: Rename FP min/max/cmove functions.
 https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549303.html

 [PATCH] rs6000: Refine RTL unroll adjust hook
 https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549581.html
 (历史原因,PowerPC后端叫做rs6000 https://en.wikipedia.org/wiki/IBM_RISC_System/6000)

- GCC usage script
 https://gcc.gnu.org/pipermail/gcc/2020-July/233058.html

- DWARF Operator的讨论
 DW_OP_implict_value usage and motivation
 https://gcc.gnu.org/pipermail/gcc/2020-July/233043.html

- Bell贡献ThunderX2 GCC后端调优
 [PATCH] aarch64: Change costs for TX2 to expose more vectorization
opportunities
 https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549459.html

- [PATCH] middle-end: Improve RTL expansion in expand_mul_overflow,
 https://gcc.gnu.org/pipermail/gcc-patches/2020-July/549473.html

### Binutils/GDB

- [PATCH 0/5] x86: XOP disassembler corrections and improvements
 https://sourceware.org/pipermail/binutils/2020-July/112177.html

- [PATCH] RISC-V: Support GNU indirect functions.
 https://sourceware.org/pipermail/binutils/2020-July/112186.html

- [PATCH 00/11] x86: disassembler size reduction and fixes
 https://sourceware.org/pipermail/binutils/2020-July/112096.html

- [PATCH 0/4] bfd: Add support for Cygwin x86_64 core dumps
 https://sourceware.org/pipermail/binutils/2020-July/112105.html

- [PATCH 0/7] GDB busy loop when interrupting non-stop program (PR 26199)
 https://sourceware.org/pipermail/gdb-patches/2020-July/170222.html

- [PATCH V3 0/3] eBPF support
 https://sourceware.org/pipermail/gdb-patches/2020-July/170148.html

### GLIBC

- [PATCH v6 00/14] aarch64: branch protection support
 https://sourceware.org/pipermail/libc-alpha/2020-July/115629.html

- [PATCH v7 00/13] glibc port to ARC processors
 https://sourceware.org/pipermail/libc-alpha/2020-July/115721.html

- [PATCH 0/2] x86: Add thresholds for "rep movsb/stosb" to tunables
 https://sourceware.org/pipermail/libc-alpha/2020-July/115759.html

- [PATCH 0/4] sunrpc symbol cleanups
 https://sourceware.org/pipermail/libc-alpha/2020-July/115888.html

- [RFC 00/10] y2038: nptl: futex: Provide support for futex_time64
 https://sourceware.org/pipermail/libc-alpha/2020-July/115901.html

### LLVM/Clang/LLDB/LLD

本节内容来自 [LLVM Weekly 第340期](http://llvmweekly.org/issue/340),
[Alex Bradbury](https://www.linkedin.com/in/alex-bradbury/) 大哥持续稳定输出。

有报名的小伙伴么?

* The 2020 Virtual LLVM Developers' Meeting call for presentations [has an
upcoming deadline of July 15th](
http://lists.llvm.org/pipermail/llvm-dev/2020-July/143056.html). The
conference will take place on October 6th-8th.

LLVM也要要开始做孵化器了。Apache 化?

* Chris Lattner wrote up [a proposal for LLVM incubator projects](
http://lists.llvm.org/pipermail/llvm-dev/2020-June/142911.html), based on
the previous mailing list discussion.

* New MVT types were added as a pre-requisite for RISC-V vector extension
support. [a7b0f39](https://reviews.llvm.org/rGa7b0f391852).

* X86 CPU feature initialisation was moved to a lookup table implementation.
[3537939](https://reviews.llvm.org/rG3537939cda8).

* The AArch64 backend regains performance on a SPEC2006 benchmark by
implementing getCFInstrCost and treating branches as free for throughput.
[1ccc499](https://reviews.llvm.org/rG1ccc49924ae).

### RISC-V in China

投票7月31日结束,会员单位们不要忘记投票撒。

[RISC-V国际基金会BoD提名今天截止,大陆共2人提名,7月1日开始进入投票阶段](
https://mp.weixin.qq.com/s/qsawMD3zOKorQ4DlY2mvAA)

RISC-V Global Forum 2020 投稿7月10日截稿,各位想要参与的朋友注意时间。会议信息和投稿地址:
https://events.linuxfoundation.org/riscv-global-forum/
这个会议是线上进行的,9月3日,而且特地有一个适合上海时区参会观看的会议区间,可以说是相当贴心了。

注意同样7月10日截稿的还有 RISC-V Summit,注意这俩不是一个活动,Summit
是12月份在北美的线下活动,强烈不建议中国大陆的小伙伴冒险前往。

### TVM 社区

风平浪静。一切按部就班。

### Mozilla

风平浪 —— 才不是呢!

停更了整整一年多的 Servo 博客突然诈尸,更新了 This Week In Servo 131 (不愧是2020!)

https://blog.servo.org/2020/07/06/twis-131/

新加入了一名贡献者,公布了几十个新的功能点改进。2020的路线图发布在 servo GitHub 的 repo/wiki 里。

Servo 是用 Rust 重写的 Firefox 页面渲染引擎。

Servo is a modern, high-performance browser engine designed for both
application and embedded use.

Sponsored by Mozilla and written in the new systems programming language
Rust, the Servo project aims to achieve better parallelism, security,
modularity, and performance.

正常发版。

### 方舟开源编译器社区

OpenArkCompiler Weekly - #18 July 5th 2020

社区动态:

本周方舟编译器支持的第一款APP新浪新闻极速版发布,业内一些朋友进行了分析:

1、赵贝贝:方舟编译器处理第一款APP发布尝鲜以及简要分析

https://blog.csdn.net/feibabeibei_beibei/article/details/107086069

2、知乎 @年轻人啊不要熬夜 :在危险的边缘试探——方舟编译器环境支持的新浪新闻极速版APP分析

https://zhuanlan.zhihu.com/p/154438363

Commits:

1、remove opensource c phase

https://gitee.com/harmonyos/OpenArkCompiler/commit/da0200827fcee75f7f9d1061fd789ce0eda0ef74

2、[mplcg] colorRA code refector

https://gitee.com/harmonyos/OpenArkCompiler/commit/1f0d3c5df7bb5e1a9f24ece1eca8e4e409d9e66c


### 其它社区八卦

** Oynx vs. GPL **

最近一周的八卦之一是中国的电子书厂商 Oynx 拒绝发布基于 Linux 二次开发设备源代码,违反了 GPL 许可证。在 Reddit
上也开始有了条目讨论[1]。评论区中老生常谈出现了中国后门论:

If they refuse to share what they have done with the kernel it’s
reasonable to expect that they might have put in some form of backdoors for
the Chinese government. I’d be very weary of using products from them.

对此,吐槽担当小编1号的评论是:

1. 理所当然应该遵守GPL。
1. 没有公开的代码有后门,是对的;公开的代码也有后门,例如2016年炸到不行的全志内核调试后门[2]。
1. 无心的bug/vuln转为backdor最为杀伤力,同样参考[2]和最近的HKSP[3]。而如果不是开源,无心的vuln可能会存在20年。
1.
网友的担心是合理的;同时担心的威胁来源太少了,完全没必要把一国的gov单独拎出来。凡是刻意埋的,各个国家的"NSA"都至少有PoC的。即使对于个人而言,保护自己的信息安全也需要有纵深防御。

[1]
https://www.reddit.com/r/linux/comments/hl09g7/onyx_boox_chinese_company_will_not_share_their/
[2]
https://www.theregister.com/2016/05/09/allwinners_allloser_custom_kernel_has_a_nasty_root_backdoor/
[3]
https://www.reddit.com/r/netsec/comments/gh2a4z/huawei_hksp_introduces_trivially_exploitable/

感谢匿名网友 RadarSong 提供了本条八卦。

欢迎感兴趣的小伙伴提 Pull Requests 完善内容。
我们希望能够尽可能多的扩展下OSDT的覆盖范围。

This Week in Rust: 没更新
https://this-week-in-rust.org/blog/2020/06/30/this-week-in-rust-345/

Golang Weekly: 更新了
https://golangweekly.com/issues/319

WebAssembly Weekly: 更新了
https://wasmweekly.news/issue-123/

### Academic

风平浪静。美国给上网课的留学生一记背刺。

### 本周工具链岗位

字节跳动的编译器岗位招聘还在继续。

PLCT实验室依然在招募实习生。

## 本周推荐阅读

本周推荐:《小王子》

你一定听过。或许看过。或许觉得过誉。

或许吧。

与书的缘分,是在你的某个心情的时候,正好遇到了理解你的心情的作者。

而今夜,我比任何时候都渴望与小王子陪伴。


-- 
Best wishes,
Wei Wu (吴伟)

Other related posts:

  • » [hellogcc] OSDT Weekly 2020-07-08 第053期 - 吴伟