Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708344 - LLVM: ppc keywording request
Summary: LLVM: ppc keywording request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: LLVM support project
URL:
Whiteboard:
Keywords: CC-ARCHES, KEYWORDREQ, PullRequest
Depends on:
Blocks:
 
Reported: 2020-02-05 13:45 UTC by ernsteiswuerfel
Modified: 2024-03-23 17:20 UTC (History)
3 users (show)

See Also:
Package list:
sys-devel/llvm-common ~ppc sys-devel/llvm ~ppc dev-python/lit ~ppc sys-devel/lld ~ppc sys-devel/clang-common ~ppc sys-devel/clang ~ppc sys-libs/libomp ~ppc sys-devel/clang-runtime ~ppc dev-libs/libpfm ~ppc sci-mathematics/z3 ~ppc
Runtime testing required: ---
nattka: sanity-check+


Attachments
build.log.xz (clang-9.0.1:20200205-123646.log.xz,78.10 KB, application/x-xz)
2020-02-05 13:46 UTC, ernsteiswuerfel
no flags Details
build.log.xz (clang-11.1.0) (clang-11.1.0:20210316-225057.log.xz,257.03 KB, application/x-xz)
2021-03-16 23:55 UTC, ernsteiswuerfel
no flags Details
build.log.xz (llvm-11.1.0) (llvm-11.1.0:20210316-232818.log.xz,350.91 KB, application/x-xz)
2021-03-16 23:55 UTC, ernsteiswuerfel
no flags Details
build.log (lld-11.1.0) (lld-11.1.0-r1:20210316-225623.log,75.42 KB, text/plain)
2021-03-16 23:56 UTC, ernsteiswuerfel
no flags Details
build.log.xz (libomp-11.1.0) (libomp-11.1.0:20210316-232616.log,5.99 KB, text/plain)
2021-03-16 23:56 UTC, ernsteiswuerfel
no flags Details
emerge --info (file_708344.txt,6.02 KB, text/plain)
2021-03-16 23:57 UTC, ernsteiswuerfel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2020-02-05 13:45:28 UTC
Please keyword the LLVM 9 suite for ppc. It builds and runs fine on my G4 DP (and on the Talos, 32 bit userspace).
Comment 1 ernsteiswuerfel archtester 2020-02-05 13:46:13 UTC
Created attachment 611772 [details]
build.log.xz
Comment 2 Stabilization helper bot gentoo-dev 2020-02-05 16:59:56 UTC
An automated check of this bug failed - repoman reported dependency errors (17 lines truncated): 

> dependency.bad sys-devel/llvm/llvm-9.0.1.ebuild: DEPEND: ~ppc(default/linux/powerpc/ppc32/17.0) ['dev-libs/libpfm:=', '>=sci-mathematics/z3-4.7.1:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
> dependency.bad sys-devel/llvm/llvm-9.0.1.ebuild: RDEPEND: ~ppc(default/linux/powerpc/ppc32/17.0) ['dev-libs/libpfm:=', '>=sci-mathematics/z3-4.7.1:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
> dependency.bad sys-devel/llvm/llvm-9.0.1.ebuild: DEPEND: ~ppc(default/linux/powerpc/ppc32/17.0/desktop) ['dev-libs/libpfm:=', '>=sci-mathematics/z3-4.7.1:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_riscv_lp64d(-)?,abi_riscv_lp64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]']
Comment 3 Stabilization helper bot gentoo-dev 2020-02-05 17:59:54 UTC
An automated check of this bug succeeded - the previous repoman errors are now resolved.
Comment 4 NATTkA bot gentoo-dev 2020-08-05 15:21:28 UTC Comment hidden (obsolete)
Comment 5 NATTkA bot gentoo-dev 2020-08-06 22:57:06 UTC Comment hidden (obsolete)
Comment 6 NATTkA bot gentoo-dev 2020-11-03 11:05:09 UTC Comment hidden (obsolete)
Comment 7 NATTkA bot gentoo-dev 2020-11-03 11:29:20 UTC Comment hidden (obsolete)
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2021-02-17 09:07:08 UTC
There is no compiler-rt and compiler-rt-sanitizers support for ppc32. Masked as https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e2bb119bd83826fff9cc1e459b7c4cee9f426fc to sort out rest of USE flags that need masking.
Comment 9 NATTkA bot gentoo-dev 2021-02-17 09:09:04 UTC Comment hidden (obsolete)
Comment 10 NATTkA bot gentoo-dev 2021-02-17 13:06:04 UTC Comment hidden (obsolete)
Comment 11 NATTkA bot gentoo-dev 2021-02-28 12:05:08 UTC Comment hidden (obsolete)
Comment 12 Larry the Git Cow gentoo-dev 2021-02-28 16:53:15 UTC
The bug has been referenced in the following commit(s):

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

commit ff969360cfab1f00a3134bcf074918cc90488c38
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-28 16:52:32 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-28 16:53:11 +0000

    profiles/arch/powerpc/ppc32/package.use.mask: mask clang-runtime[compiler-rt, sanitize]
    
    Bug: https://bugs.gentoo.org/708344
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/powerpc/ppc32/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 13 NATTkA bot gentoo-dev 2021-02-28 16:57:10 UTC Comment hidden (obsolete)
Comment 14 Larry the Git Cow gentoo-dev 2021-02-28 17:02:26 UTC
The bug has been referenced in the following commit(s):

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

commit b8ca8439de9e1a2c8750647e063b8ff0e7dec437
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-28 17:01:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-28 17:02:05 +0000

    profiles/arch/powerpc/ppc32/package.use.mask: mask sys-devel/clang[default-compiler-rt]
    
    Bug: https://bugs.gentoo.org/708344
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/powerpc/ppc32/package.use.mask | 1 +
 1 file changed, 1 insertion(+)
Comment 15 ernsteiswuerfel archtester 2021-03-16 23:55:27 UTC
Created attachment 691899 [details]
build.log.xz (clang-11.1.0)

Current situation on ppc is not too bad. clang passes all tests, llvm fails 9 tests. lld and libomp fail to build however.

[...]
Failed Tests (9):
  LLVM :: ExecutionEngine/frem.ll
  LLVM :: ExecutionEngine/mov64zext32.ll
  LLVM :: ExecutionEngine/test-interp-vec-arithm_float.ll
  LLVM :: ExecutionEngine/test-interp-vec-arithm_int.ll
  LLVM :: ExecutionEngine/test-interp-vec-logical.ll
  LLVM :: ExecutionEngine/test-interp-vec-setcond-fp.ll
  LLVM :: ExecutionEngine/test-interp-vec-setcond-int.ll
  LLVM :: tools/llvm-ar/error-opening-permission.test
  LLVM :: tools/llvm-readobj/ELF/dependent-libraries.test


Testing Time: 206.69s
  Unsupported      : 23156
  Passed           : 15139
  Expectedly Failed:    44
  Failed           :     9


 # cat llvm-common-708344.report 
USE tests started on Di 16. Mär 19:36:29 CET 2021

FEATURES=' test' USE='' succeeded for =sys-devel/llvm-common-11.1.0
USE='' succeeded for =sys-devel/llvm-common-11.1.0

 FEATURES=' test' failed for =sys-devel/llvm-11.1.0
USE='doc exegesis libedit -libffi llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARM -llvm_targets_AVR -llvm_targets_BPF -llvm_targets_Hexagon -llvm_targets_Lanai llvm_targets_MSP430 -llvm_targets_Mips -llvm_targets_NVPTX llvm_targets_RISCV llvm_targets_Sparc -llvm_targets_SystemZ llvm_targets_WebAssembly llvm_targets_X86 -llvm_targets_XCore -ncurses -xar -xml -z3' succeeded for =sys-devel/llvm-11.1.0
USE='doc exegesis -libedit libffi -llvm_targets_AArch64 llvm_targets_AMDGPU llvm_targets_ARM -llvm_targets_AVR llvm_targets_BPF -llvm_targets_Hexagon llvm_targets_Lanai -llvm_targets_MSP430 -llvm_targets_Mips llvm_targets_NVPTX llvm_targets_RISCV llvm_targets_Sparc llvm_targets_SystemZ llvm_targets_WebAssembly -llvm_targets_X86 -llvm_targets_XCore ncurses xar -xml -z3' succeeded for =sys-devel/llvm-11.1.0
USE='-doc -exegesis -libedit -libffi -llvm_targets_AArch64 -llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF -llvm_targets_Hexagon llvm_targets_Lanai -llvm_targets_MSP430 -llvm_targets_Mips llvm_targets_NVPTX -llvm_targets_RISCV llvm_targets_Sparc -llvm_targets_SystemZ llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore ncurses xar -xml -z3' succeeded for =sys-devel/llvm-11.1.0
USE='doc exegesis libedit -libffi -llvm_targets_AArch64 llvm_targets_AMDGPU llvm_targets_ARM -llvm_targets_AVR llvm_targets_BPF llvm_targets_Hexagon -llvm_targets_Lanai llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX -llvm_targets_RISCV llvm_targets_Sparc -llvm_targets_SystemZ -llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -ncurses -xar xml -z3' succeeded for =sys-devel/llvm-11.1.0
USE='-doc exegesis -libedit libffi -llvm_targets_AArch64 -llvm_targets_AMDGPU -llvm_targets_ARM -llvm_targets_AVR -llvm_targets_BPF llvm_targets_Hexagon -llvm_targets_Lanai -llvm_targets_MSP430 llvm_targets_Mips -llvm_targets_NVPTX -llvm_targets_RISCV -llvm_targets_Sparc llvm_targets_SystemZ -llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -ncurses -xar xml -z3' succeeded for =sys-devel/llvm-11.1.0
USE='doc exegesis -libedit libffi -llvm_targets_AArch64 -llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_AVR -llvm_targets_BPF -llvm_targets_Hexagon -llvm_targets_Lanai -llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX -llvm_targets_RISCV -llvm_targets_Sparc llvm_targets_SystemZ -llvm_targets_WebAssembly -llvm_targets_X86 -llvm_targets_XCore -ncurses xar xml -z3' succeeded for =sys-devel/llvm-11.1.0
USE='-doc exegesis libedit libffi llvm_targets_AArch64 -llvm_targets_AMDGPU -llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF -llvm_targets_Hexagon llvm_targets_Lanai -llvm_targets_MSP430 llvm_targets_Mips -llvm_targets_NVPTX -llvm_targets_RISCV llvm_targets_Sparc -llvm_targets_SystemZ llvm_targets_WebAssembly -llvm_targets_X86 llvm_targets_XCore ncurses xar xml -z3' succeeded for =sys-devel/llvm-11.1.0
USE='doc exegesis -libedit libffi llvm_targets_AArch64 -llvm_targets_AMDGPU -llvm_targets_ARM llvm_targets_AVR -llvm_targets_BPF -llvm_targets_Hexagon llvm_targets_Lanai -llvm_targets_MSP430 -llvm_targets_Mips -llvm_targets_NVPTX -llvm_targets_RISCV -llvm_targets_Sparc llvm_targets_SystemZ -llvm_targets_WebAssembly llvm_targets_X86 -llvm_targets_XCore ncurses -xar -xml z3' succeeded for =sys-devel/llvm-11.1.0
USE='-doc exegesis libedit -libffi -llvm_targets_AArch64 -llvm_targets_AMDGPU llvm_targets_ARM llvm_targets_AVR llvm_targets_BPF llvm_targets_Hexagon llvm_targets_Lanai -llvm_targets_MSP430 -llvm_targets_Mips -llvm_targets_NVPTX -llvm_targets_RISCV -llvm_targets_Sparc -llvm_targets_SystemZ -llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore ncurses -xar -xml z3' succeeded for =sys-devel/llvm-11.1.0
USE='-doc exegesis -libedit libffi -llvm_targets_AArch64 -llvm_targets_AMDGPU -llvm_targets_ARM -llvm_targets_AVR -llvm_targets_BPF -llvm_targets_Hexagon -llvm_targets_Lanai -llvm_targets_MSP430 llvm_targets_Mips llvm_targets_NVPTX -llvm_targets_RISCV -llvm_targets_Sparc -llvm_targets_SystemZ llvm_targets_WebAssembly -llvm_targets_X86 -llvm_targets_XCore -ncurses -xar xml z3' succeeded for =sys-devel/llvm-11.1.0
USE='doc exegesis -libedit -libffi -llvm_targets_AArch64 -llvm_targets_AMDGPU -llvm_targets_ARM -llvm_targets_AVR -llvm_targets_BPF llvm_targets_Hexagon -llvm_targets_Lanai llvm_targets_MSP430 -llvm_targets_Mips llvm_targets_NVPTX -llvm_targets_RISCV -llvm_targets_Sparc llvm_targets_SystemZ -llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -ncurses -xar xml z3' succeeded for =sys-devel/llvm-11.1.0
USE='doc -exegesis libedit libffi -llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARM -llvm_targets_AVR llvm_targets_BPF -llvm_targets_Hexagon -llvm_targets_Lanai llvm_targets_MSP430 llvm_targets_Mips -llvm_targets_NVPTX -llvm_targets_RISCV llvm_targets_Sparc -llvm_targets_SystemZ llvm_targets_WebAssembly llvm_targets_X86 llvm_targets_XCore -ncurses -xar xml z3' succeeded for =sys-devel/llvm-11.1.0

FEATURES=' test' USE='' succeeded for =dev-python/lit-11.1.0

 FEATURES=' test' failed for =sys-devel/lld-11.1.0-r1
 failed for =sys-devel/lld-11.1.0-r1

FEATURES=' test' USE='' succeeded for =sys-devel/clang-common-11.1.0
USE='' succeeded for =sys-devel/clang-common-11.1.0

FEATURES=' test' USE='' succeeded for =sys-devel/clang-11.1.0

 FEATURES=' test' failed for =sys-libs/libomp-11.1.0
USE='-hwloc -offload -ompt' failed for =sys-libs/libomp-11.1.0
USE='hwloc -offload -ompt' failed for =sys-libs/libomp-11.1.0
USE='-hwloc offload -ompt' failed for =sys-libs/libomp-11.1.0
USE='hwloc offload -ompt' failed for =sys-libs/libomp-11.1.0
USE='-hwloc -offload ompt' failed for =sys-libs/libomp-11.1.0
USE='hwloc -offload ompt' failed for =sys-libs/libomp-11.1.0
USE='-hwloc offload ompt' failed for =sys-libs/libomp-11.1.0
USE='hwloc offload ompt' failed for =sys-libs/libomp-11.1.0

FEATURES=' test' USE='' succeeded for =sys-devel/clang-runtime-11.1.0
USE='' succeeded for =sys-devel/clang-runtime-11.1.0

FEATURES=' test' USE='' succeeded for =sci-mathematics/z3-4.8.10
Comment 16 ernsteiswuerfel archtester 2021-03-16 23:55:58 UTC
Created attachment 691902 [details]
build.log.xz (llvm-11.1.0)
Comment 17 ernsteiswuerfel archtester 2021-03-16 23:56:24 UTC
Created attachment 691905 [details]
build.log (lld-11.1.0)
Comment 18 ernsteiswuerfel archtester 2021-03-16 23:56:48 UTC
Created attachment 691908 [details]
build.log.xz (libomp-11.1.0)
Comment 19 ernsteiswuerfel archtester 2021-03-16 23:57:14 UTC
Created attachment 691911 [details]
emerge --info
Comment 20 NATTkA bot gentoo-dev 2021-04-01 19:16:23 UTC Comment hidden (obsolete)
Comment 21 NATTkA bot gentoo-dev 2021-04-01 20:13:18 UTC Comment hidden (obsolete)
Comment 22 NATTkA bot gentoo-dev 2021-04-01 22:10:01 UTC Comment hidden (obsolete)
Comment 23 NATTkA bot gentoo-dev 2021-04-15 20:48:41 UTC Comment hidden (obsolete)
Comment 24 Larry the Git Cow gentoo-dev 2021-05-17 01:25:18 UTC
The bug has been referenced in the following commit(s):

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

commit ef19b9c2677fa19fb2defe6ebc58d40fa5d970de
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-17 01:24:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-17 01:24:53 +0000

    profiles/arch/powerpc/ppc32: mask sys-devel/llvm[gold] for now
    
    Unkeyworded deps (llvmgold).
    
    Bug: https://bugs.gentoo.org/708344
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/powerpc/ppc32/package.use.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 25 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-17 01:37:17 UTC
ppc done

all arches done
Comment 26 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-17 01:37:36 UTC
(In reply to ernsteiswuerfel from comment #19)
> Created attachment 691911 [details]
> emerge --info

Thank you for all your work here!
Comment 27 Larry the Git Cow gentoo-dev 2024-03-23 17:20:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ee0933ce138048034e9b08c569dfd9a175462d

commit 74ee0933ce138048034e9b08c569dfd9a175462d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-23 17:19:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-23 17:19:17 +0000

    profiles/arch/powerpc/ppc32: mask sys-libs/libomp
    
    It never worked and isn't supported.
    
    Bug: https://bugs.gentoo.org/600148
    Bug: https://bugs.gentoo.org/708344
    Closes: https://bugs.gentoo.org/907213
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/arch/powerpc/ppc32/package.mask | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45cfb87c758846944bdc2dcb961e518f7b792e52

commit 45cfb87c758846944bdc2dcb961e518f7b792e52
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-23 16:24:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-23 17:16:31 +0000

    sys-libs/libomp: drop ppc (isn't supported)
    
    It never worked.
    
    Bug: https://bugs.gentoo.org/600148
    Bug: https://bugs.gentoo.org/708344
    Closes: https://bugs.gentoo.org/907213
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/libomp/libomp-15.0.7-r6.ebuild | 4 ++--
 sys-libs/libomp/libomp-16.0.6.ebuild    | 4 ++--
 sys-libs/libomp/libomp-17.0.6.ebuild    | 2 +-
 sys-libs/libomp/libomp-18.1.2.ebuild    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)