I temporarily downgraded gcc and gcc-libs to 12.1.0-2 from my package cache. When I then ran sudo pacman -U rtl8821ce-dkms-git-1.0.5.r140.gbe733dc-1-x86_64.pkg.tar.zst, the dkms install was successful.
os: Arch
kernel: 5.18.14-AMD
dkms: 3.0.5-2
current gcc and gcc-libs: 12.1.0-3
I temporarily downgraded gcc and gcc-libs to 12.1.0-2 from my package cache. When I then ran
sudo pacman -U rtl8821ce-dkms-git-1.0.5.r140.gbe733dc-1-x86_64.pkg.tar.zst
, the dkms install was successful.os: Arch kernel: 5.18.14-AMD dkms: 3.0.5-2 current gcc and gcc-libs: 12.1.0-3