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

Bug 924990

Summary: dev-lang/ispc-1.23.0 fails to compile: Either X86, ARM, WASM or XE targets need to be enabled
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: CONFIRMED ---    
Severity: normal CC: leonchik1976, negril.nx+gentoo
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/37737
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-02-19 16:22:02 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/ispc-1.23.0 fails to compile.
Discovered on: arm64 (internal ref: tinderbox_arm64)
System: GCC-14-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-14)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-19 16:22:03 UTC
Created attachment 885427 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-04 03:44:52 UTC
The situation here is kind of weird.

commit f073ca910b7838d71043c2ae752fcd0d147937bd
Author: Guillaume BRUN <the.cheaterman@gmail.com>
Date:   Sun Jun 28 17:48:55 2020 +0200

    dev-lang/ispc: Add -1.13.0 ebuild

    Closes: https://bugs.gentoo.org/656632
    Closes: https://bugs.gentoo.org/729924
    Signed-off-by: Guillaume BRUN <the.cheaterman@gmail.com>
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Christoph Junghans <junghans@gentoo.org>

added -DARM_ENABLED=$(usex arm).

But that isn't right for arm64 where ispc works too.

It's also wrong because ispc can do cross-compilation with -DDISPC_CROSS=ON, but users on amd64 won't be able to enable USE=arm easily to do that.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-04 03:51:30 UTC
A user tested MYCMAKEARGS="-DARM_ENABLED=ON` and they were able to use ispc for development/a project of their own then.

They tried with `-DARM_ENABLED=ON -DISPC_CROSS=ON` too but it ended up not being needed, I think