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

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


Attachments
Build log (build.log.bz2,66.56 KB, application/x-bzip)
2021-02-01 04:52 UTC, Fergus Dall
Details
Emerge info (emerge.info,6.19 KB, text/plain)
2021-02-02 01:05 UTC, Fergus Dall
Details

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