Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600148 - sys-libs/libomp-3.9.0: fails to compile on PPC
Summary: sys-libs/libomp-3.9.0: fails to compile on PPC
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 591822
  Show dependency tree
 
Reported: 2016-11-18 08:21 UTC by Agostino Sarubbo
Modified: 2024-03-23 17:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2016-11-18 08:21:54 UTC
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at runtime/cmake/LibompUtils.cmake:27 (message):
  LIBOMP: libomp_check_variable(): LIBOMP_ARCH = UnknownArchitecture is
  unknown
Call Stack (most recent call first):
  runtime/cmake/LibompUtils.cmake:127 (libomp_error_say)
  runtime/CMakeLists.txt:84 (libomp_check_variable)


-- Configuring incomplete, errors occurred!
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-11-18 11:35:25 UTC
Thanks for reporting this.

Since upstream doesn't provide support code for this arch, I don't think we can do much about it. And since nobody has explicitly requested it so far, I don't think there's really a point bothering upstream about it (or expecting upstream to have any 32-bit PPC hardware).

Therefore, I went ahead and masked the openmp flag on clang-runtime in ppc32 and sparc profiles (i.e. in arches mentioned in the keywordreq).
Comment 2 Larry the Git Cow gentoo-dev 2024-03-23 17:20:04 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(-)