Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849941 - dev-libs/imath-3.1.4-r3 fails to compile on stable x86: half.h:293:12: error: ‘_cvtsh_ss’ was not declared in this scope
Summary: dev-libs/imath-3.1.4-r3 fails to compile on stable x86: half.h:293:12: error:...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernd
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-06 07:44 UTC by Agostino Sarubbo
Modified: 2023-05-06 10:06 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,81.29 KB, text/plain)
2022-06-06 07:44 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 2022-06-06 07:44:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/imath-3.1.4-r3 fails to compile on stable x86.
Discovered on: x86 (internal ref: x86_at)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-06 07:44:32 UTC
Created attachment 783056 [details]
build.log

build log and emerge --info
Comment 2 Bernd 2022-06-06 11:58:52 UTC
It's like in bug #840580. The build works with -march=i686 and fails with -march=native. Additionally, the 3.1.4-r4 and 3.1.5 build with either setting. Stabilization for x86 of 3.1.5 has stalled for some time[1].

Maybe we could stick to not using native arch flags inside a container of some sorts, when actually runnig on a native 64bit arch? At least until it's sorted out, whether this is some issue with gcc or if it's by design.

[1] bug #839582
Comment 3 Bernd 2022-12-21 07:36:30 UTC
Does this still happen with current imath versions?
Comment 4 Bernd 2023-05-06 10:04:50 UTC
Seems to be solved in current v3.1.7 (see bug #905800).
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-06 10:06:51 UTC
(In reply to Bernd from comment #2)
> It's like in bug #840580. The build works with -march=i686 and fails with
> -march=native. Additionally, the 3.1.4-r4 and 3.1.5 build with either
> setting. Stabilization for x86 of 3.1.5 has stalled for some time[1].
> 
> Maybe we could stick to not using native arch flags inside a container of
> some sorts, when actually runnig on a native 64bit arch? At least until it's
> sorted out, whether this is some issue with gcc or if it's by design.
> 
> [1] bug #839582

fwiw I've started doing just -march=i686/default now as it's not worth these bugs. Similar settings would be welcome but I wouldn't recommend native.

They're real bugs but ultimately not very important at all.