Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924990 - dev-lang/ispc-1.23.0 fails to compile: Either X86, ARM, WASM or XE targets need to be enabled
Summary: dev-lang/ispc-1.23.0 fails to compile: Either X86, ARM, WASM or XE targets ne...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-19 16:22 UTC by Agostino Sarubbo
Modified: 2024-05-30 19:24 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,48.49 KB, text/plain)
2024-02-19 16:22 UTC, Agostino Sarubbo
Details

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