Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 891459

Summary: x11-libs/pixman fails to build with clang on ARM64
Product: Gentoo Linux Reporter: Fergus Dall <sidereal>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: ARM64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=768138
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
Proposed patch

Description Fergus Dall 2023-01-20 07:22:38 UTC
Same root cause as #768138 - pixman includes assembly files for ARM64 with an outdated syntax that clang won't build without setting -fno-integrated-as. I have not attached a build log because the output is ~200 MB, but I have attached a proposed patch that works for me locally.

Reproducible: Always
Comment 1 Fergus Dall 2023-01-20 07:23:55 UTC
Created attachment 848869 [details]
emerge --info
Comment 2 Fergus Dall 2023-01-20 07:24:12 UTC
Created attachment 848871 [details, diff]
Proposed patch
Comment 3 Larry the Git Cow gentoo-dev 2023-01-21 04:54:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b86df4fdf4c864e1023f60e838f194c42fadfa2

commit 5b86df4fdf4c864e1023f60e838f194c42fadfa2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-01-21 03:55:44 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-01-21 03:56:11 +0000

    x11-libs/pixman: fix build for arm64
    
    Closes: https://bugs.gentoo.org/891459
    Bug: https://bugs.gentoo.org/768138
    See: 18745f353da4ddd132b344f0f20e035dfa917b93
    Thanks-to: Fergus Dall <sidereal@google.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-libs/pixman/pixman-0.42.2.ebuild | 4 ++--
 x11-libs/pixman/pixman-9999.ebuild   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)