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

Bug 768138

Summary: x11-libs/pixman fails to build with clang on ARM
Product: Gentoo Linux Reporter: Fergus Dall <sidereal>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, sam
Priority: Normal    
Version: unspecified   
Hardware: ARM   
OS: Linux   
URL: https://gitlab.freedesktop.org/pixman/pixman/-/issues/46
See Also: https://bugs.gentoo.org/show_bug.cgi?id=891459
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
Emerge info

Description Fergus Dall 2021-02-01 04:47:45 UTC
pixman includes several ARM assembly files that clang can't build. Passing "-fno-integrated-as" to clang via meson's c_args option fixes this by making clang use the GCC assembler, but I'm not sure what the convention is for compiler-specific options.
Comment 1 Fergus Dall 2021-02-01 04:52:42 UTC
Created attachment 685362 [details]
Build log
Comment 2 Jonas Stein gentoo-dev 2021-02-02 00:45:43 UTC
please also add the emerge info.
Comment 3 Fergus Dall 2021-02-02 01:05:55 UTC
Created attachment 685488 [details]
Emerge info
Comment 4 Larry the Git Cow gentoo-dev 2021-11-07 02:17:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18745f353da4ddd132b344f0f20e035dfa917b93

commit 18745f353da4ddd132b344f0f20e035dfa917b93
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-07 02:14:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-07 02:14:32 +0000

    x11-libs/pixman: fix build with ARM + Clang
    
    Closes: https://bugs.gentoo.org/768138
    Signed-off-by: Sam James <sam@gentoo.org>

 x11-libs/pixman/pixman-0.40.0.ebuild | 7 ++++++-
 x11-libs/pixman/pixman-9999.ebuild   | 9 +++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2023-01-21 04:54:36 UTC
The bug has been referenced in 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(-)