惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
A
About on SuperTechFans
雷峰网
雷峰网
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
The Blog of Author Tim Ferriss
MongoDB | Blog
MongoDB | Blog
博客园 - 【当耐特】
The Cloudflare Blog
F
Fortinet All Blogs
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
宝玉的分享
宝玉的分享
罗磊的独立博客
量子位
有赞技术团队
有赞技术团队
V
V2EX
Engineering at Meta
Engineering at Meta

Arch Linux Forums

Gnome desktop mouse cursor zoom issues / Newbie Corner Avidemux crashes without strace / Applications & Desktop Environments how to apply patches with non-linux linends / Newbie Corner Replicating CachyOS on vanilla Arch (or at least getting close) / Arch Discussion What's arch linux GUI package manager ? / Newbie Corner Hibernation failing due to insufficient memory / System Administration profiledef.sh editting question / Installation trying to script kde plasma wallpaper settings / Programming & Scripting Looking for new Audacious package maintainer / Creating & Modifying Packages issues installing arch with LUKS2 encryption / Newbie Corner QEMU PXE booting does not work with OVMF.4m.fd / Applications & Desktop Environments Wired lan regular disconnect / Newbie Corner Need Help setting up ARCH in my G16 G634JZR iwlwifi started failing consistently, trying to determine root cause Windows randomly jumping between monitors after GNOME 50 update No display via DP or HDMI after boot. / Kernel & Hardware how to change acpi platform_profile? / Newbie Corner Linux denied all kernel modules which not loaded right now Use iPhone as Webcam for Arch Linux Video Output Failure on nvidia-580xx-dkms on TTY --> Desktop switch (Page 2) / Kernel & Hardware I was going to rant ..WINE32 Sabotage compliments of Arvind Krishna / Arch Discussion [SOLVED] LUKS drive auto unlocked by TPM when expected not to / Networking, Server, and Protection Hibernate/suspend from X = dark panel; from TTY = works (ASUS G14, hyb (Page 2) / Laptop Issues Headphone jack noise/buzz / Newbie Corner Console alternative to meld / GNU/Linux Discussion Problem with paru git clone / Newbie Corner XKB questions / Applications & Desktop Environments gnome-keyring-daemon is not working correctly / Applications & Desktop Environments [SOLVED] Steam opens and immediately closes constantly / Newbie Corner Firefox rounded edges on Sway / Applications & Desktop Environments
segmentation fault in cc1plus when building CLK / AUR Iss...
silverhikari · 2026-06-05 · via Arch Linux Forums

#1 2026-06-04 17:46:41

silverhikari
Member
Registered: 2018-09-09
Posts: 21

segmentation fault in cc1plus when building CLK

installed GCC: 16.1.1 20260430
build log: https://pastee.dev/p/HD63oHzl
when building CLK(either SDL or QT) from either upstream or the pkgbuild with GCC errors out with a segmentation fault in cc1plus. i have test and the program will build fine when using GCC 15.2.1 or using the latest version of clang. i have test to see if the problem is fixed by going to a newer version by git cloning the git repo, that did not fix it.

#2 2026-06-04 20:12:46

loqs
Member
Registered: 2014-03-06
Posts: 18,931

Re: segmentation fault in cc1plus when building CLK

Looks to be a gcc regression causing infinite recursion while generating and evaluating an implicit move constructor. I would suggest opening an upstream issue if there is not one open already.

#3 2026-06-04 22:01:41

silverhikari
Member
Registered: 2018-09-09
Posts: 21

Re: segmentation fault in cc1plus when building CLK

by upstream are you referring to the CLK project or GCC?

#4 2026-06-04 22:11:34

loqs
Member
Registered: 2014-03-06
Posts: 18,931

Re: segmentation fault in cc1plus when building CLK

gcc as the compiler should only ever fail with an internal error due to a hardware issue. As I can reproduce the issue on a separate system and you observed the issue is not present in gcc 15 that points to a gcc 16 regression.  CLK might be able to work around the issue by adding an concrete move constructor.

Last edited by loqs (2026-06-04 22:14:28)

#5 Today 18:19:36

MasterDuke
Member
Registered: 2014-03-16
Posts: 5

Re: segmentation fault in cc1plus when building CLK

I am experiencing something similar and opened https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125455, but they couldn't reproduce it. Maybe you could reply to that ticket?