https://sourceware.org/bugzilla/show_bug.cgi?id=30824
--- Comment #10 from Mick Tarsel <mtarsel at redhat dot com> --- I have verified this patch works on Alpine Linux version 3.19.0 on ppc64le. I can successfully build the FreeRDP package with -flto=auto flag on ppc64le. I added the patch from comment 8 into APKBUILD file for binutils. I then built the binutils apk for ppc64le and then installed it on my ppc64le test box with: apk add --allow-untrusted --no-network --no-cache /root/packages/main/ppc64le/binutils-2.41-r0.apk I verified my package was installed with some text I added to “apk info” output via APKBUILD file. I did a fresh pull of aports repo and built FreeRDP package on ppc64le using -flto=auto flag (removing previous patch for ppc64le). See end of build output and system info below: (177/179) Purging readline (8.2.1-r2) (178/179) Purging sqlite-libs (3.44.2-r0) (179/179) Purging xorgproto (2023.2-r0) Executing busybox-1.36.1-r15.trigger OK: 277 MiB in 67 packages >>> freerdp: Updating the community/ppc64le repository index... >>> freerdp: Signing the index... ~/new-aports/aports/community/freerdp # echo $? 0 ~/new-aports/aports/community/freerdp # uname -a Linux dd1e6a4036e9 5.14.0-362.8.1.el9_3.ppc64le #1 SMP Tue Oct 3 08:48:43 EDT 2023 ppc64le Linux ~/new-aports/aports/community/freerdp # cat /etc/os-release NAME="Alpine Linux" ID=alpine VERSION_ID=3.19.0 PRETTY_NAME="Alpine Linux v3.19" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" ~/new-aports/aports/community/freerdp # ls ~/packages/community/ppc64le/ APKINDEX.tar.gz freerdp-dev-2.11.4-r0.apk freerdp-libs-2.11.4-r0.apk freerdp-2.11.4-r0.apk freerdp-doc-2.11.4-r0.apk -- You are receiving this mail because: You are on the CC list for the bug.