Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891459 - x11-libs/pixman fails to build with clang on ARM64
Summary: x11-libs/pixman fails to build with clang on ARM64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-20 07:22 UTC by Fergus Dall
Modified: 2023-01-21 04:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info,5.87 KB, text/plain)
2023-01-20 07:23 UTC, Fergus Dall
Details
Proposed patch (0001-x11-libs-pixman-fix-build-with-ARM64-Clang.patch,920 bytes, patch)
2023-01-20 07:24 UTC, Fergus Dall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)