Bug#1042557: xtensor builds with -march=native

Matthias Klose doko at debian.org
Sun Jul 30 09:53:15 BST 2023


Package: src:xtensor
Version: 0.24.3-2
Severity: serious
Tags: sid trixie

xtensor builds with -march=native.  I didn't check if there are code paths that 
work with the default baseline on amd64.  If there isn't such a code path, then 
it is another bug report.

However building -march=native is not deterministic, you never can say if the 
package works on your machine or, because it's just dependent on the buildd. 
 From my point of view, no package should be built with -march=native.

At least GCC has -march=x86-64-v[1-4] for such settings, so please use that 
instead, and look for other appropriate settings on the other architectures.



More information about the debian-science-maintainers mailing list