1. Please describe the problem: Go programs built by Go1.16.x are broken in Fedora >= 33 for ppc64le as of kernel v5.13 upgrade. Fedora kernel needs to backport this fix[0] in order to make Go programs work again with Linux kernel >= v5.13 on ppc64le. [0] https://lore.kernel.org/linuxppc-dev/20210729131244.2595519-1-mpe@ellerman.id.au/ 2. What is the Version-Release number of the kernel: kernel-5.13.4-100.fc33.ppc64le 3. Did it work previously in Fedora? If so, what kernel version did the issue *first* appear? Old kernels are available for download at https://koji.fedoraproject.org/koji/packageinfo?packageID=8 : kernel-5.13.4-100.fc33.ppc64le 4. Can you reproduce this issue? If so, please provide the steps to reproduce the issue below: Upgrade Fedora 33 to kernel-5.13.4-100.fc33.ppc64le and then try to run any Go program. For example: $ sudo dnf -y install golang $ cat << "EOF" > hello.go package main import "fmt" func main() { fmt.Println("hello world") } EOF $ go run hello.go /usr/lib/golang/pkg/tool/linux_ppc64le/link: signal: segmentation fault (core dumped) 5. Does this problem occur with the latest Rawhide kernel? To install the Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by ``sudo dnf update --enablerepo=rawhide kernel``: Yes. 6. Are you running any modules that not shipped with directly Fedora's kernel?: No. 7. Please attach the kernel logs. You can get the complete kernel log for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the issue occurred on a previous boot, use the journalctl ``-b`` flag.
If it's the same issue, then there is also a golang complement to the the kernel fix, adding Jakub to CC.
For the record, there is Go side fix available https://github.com/golang/go/issues/46803. But if there would be way to fix this issue on the kernel side I would say that it would be preferable as if this issue will be wide spread(and by picking up kernel 5.13+ for f34/33 I assume it will), it would warrant rebuild of all Go packages in f33, f34, f35 and rawhide to properly fix it. For the record the mentioned Go backport is now available in rawhide(https://bodhi.fedoraproject.org/updates/FEDORA-2021-7b46cb8228) and f34(https://bodhi.fedoraproject.org/updates/FEDORA-2021-f1ddfc1081 , just added buildroot override). I'm about to pick it up for f33. CC'ing more Go folks.
FEDORA-2021-4d4d3866ca has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-4d4d3866ca
FEDORA-2021-54ee631709 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-54ee631709
The kernel 5.13.8-100.fc33.ppc64le from advisory FEDORA-2021-54ee631709 fixed the issue for Fedora 33.
FEDORA-2021-54ee631709 has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-54ee631709` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-54ee631709 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-4d4d3866ca has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-4d4d3866ca` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-4d4d3866ca See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-4d4d3866ca has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2021-54ee631709 has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.