近期活动
上周日的 OSDT Meetup 视频回放已经公开了,欢迎收藏和观看: https://www.bilibili.com/video/BV1154y1E7CN
更新了:《零基础入门 RISC-V GCC 编译器开发 暨 编译技术入门与实战第四季》更新了第二课:GCC中的抽象语法树生成 https://www.bilibili.com/video/BV1kU4y137Ba?p=2
编译社区的八卦信息
GCC
FYI/RFC: strub: machine-independent stack scrubbing https://gcc.gnu.org/pipermail/gcc/2021-July/236780.html
[PATCH 2/2][RFC] Add loop masking support for x86 https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575291.html
[PATCH v2 0/6] rs6000: Add SSE4.1 "blend", "ceil", "floor" https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575445.html
Question about PIC code and GOT https://gcc.gnu.org/pipermail/gcc/2021-July/236833.html
[PATCH 0/2] Allow means for targets to opt out of CTF/BTF https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575510.html
[RFC/PATCH] Use range-based for loops for traversing loops https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575536.html
[Questions] Is there any bit in gimple/rtl to indicate this IR support fast-math or not? https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575148.html
[PATCH] Rewrite memset expanders with vec_duplicate https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575129.html
Binutils/GDB
[PATCH v2 0/3] RISC-V: The series to supporting mapping symbols https://sourceware.org/pipermail/binutils/2021-July/117313.html
GDB: [PATCH 0/1] Improve CSKY arch support https://sourceware.org/pipermail/gdb-patches/2021-July/180963.html
GDB 11.1 release prep update (2021-07-17) https://sourceware.org/pipermail/gdb-patches/2021-July/181004.html
[PATCH 0/2] Fix detach with target remote (PR gdb/28080) https://sourceware.org/pipermail/gdb-patches/2021-July/180847.html
[PATCH v3 0/2] Fix gdb.base/sigstep.exp for riscv64-linux https://sourceware.org/pipermail/gdb-patches/2021-July/180740.html
GLIBC
glibc 2.34 - Hard ABI freeze effective immediately. https://sourceware.org/pipermail/libc-alpha/2021-July/129201.html
[PATCH] Add optional _Float16 support https://sourceware.org/pipermail/libc-alpha/2021-July/128335.html
Buildbot improvements https://sourceware.org/pipermail/libc-alpha/2021-July/129008.html
[PATCH v2 0/6] Some rtld-audit fixes https://sourceware.org/pipermail/libc-alpha/2021-July/129239.html
[PATCH v10 00/11] malloc hooks removal https://sourceware.org/pipermail/libc-alpha/2021-July/129271.html
[PATCH] c++: implement C++17 hardware interference size https://sourceware.org/pipermail/libc-alpha/2021-July/129156.html
LLVM/Clang/LLDB/LLD
本节内容来自 LLVM Weekly 第394期, Alex Bradbury 大哥持续稳定输出。
Amir Aupov posted an update on the BOLT framework, which has now been rebased on top of a much more recent LLVM. The post gives a detailed list of next steps and patches that are in the process of being upstreamed.
The RegAlloc interface was modified to allow targets to split register allocation between different register classes (controlled by a callback function). The initial motivation is to allow AMDGPU to split allocation for SGPRs and VGPRs. eebe841.
Register definitions and initial MC layer support support was added for the Armv9-A Scalable Matrix Extension. c08dabb, dfa7693, 99eb96f.
The language reference was updated to clarify semantics of inttoptr/ptrtoint for non-integral types. f74bb95.
The Arm backend gained new MVESEXT and MVEZEXT nodes that larger-than-legal sext and zext are lowered to when MVE is enabled. ca78151.
RISC-V in China
- 第一节 RISC-V 中国峰会的主会演讲视频已经上传到了B站: https://space.bilibili.com/1121469705
RT-Thread 社区
RT-Thread的课程教学内容梳理及资源介绍分享交流会 (https://mp.weixin.qq.com/s/O_C8sST-lLFYCcL6JixU8A),特别邀请到了苏州大学王宜怀教授分享实时操作系统课程教学脉络 、教学重点及难点介绍以及实践操作演示
解决at_socket在极限情况下内存泄漏问题 https://github.com/RT-Thread/rt-thread/pull/4868
本周工具链岗位
往期社招及实习生招聘长期有效。
本周推荐阅读
本周推荐:《关键改变》
推荐人:小编1号
这本书是跟《关键冲突》、《关键对话》是同一个作者团队。在理论框架上是采用了同样的【动机x能力】x【个人、环境、结构】的模型;在具体做法上又跟《掌控习惯(Atomic Habits)》有类似的指导过程。总体而言,书看多了之后,能够看到共同的模型出来。
当一个人真的想去改变什么,以达到自己的目标的时候,《关键改变》这本书中的方法是有用的,在各个细节的地方确保了周围都在把你往前推,而不是往后拉。小编1号有着类似的改进的经验和自我总结,跟《关键改变》中总结的技巧有大量相似的地方(所谓的「著书长恨古人多」)。总体而言,是靠谱的。相比起来,《掌控习惯》更多的依赖于个人的自我暗示和自律,对于社会网络和他人的帮助并没有《关键改变》说得清晰和明确。可以两本书重叠起来看和执行。
当然,你依然需要一个强烈的动机才可以开始。