[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#962457: installation of finclude/math-vector-fortran.h



control: severity -1 normal

On 2020-06-08 13:50, Matthias Klose wrote:
> Package: src:glibc
> Version: 2.30-8
> Severity: important
> Tags: sid bullseye
> 
> 2.30-2 removed the installation of finclude/math-vector-fortran.h, which leads
> to build errors like reported in https://launchpad.net/bugs/1879092

This is not a build error. It's just that the resulting code is not
vectorized, but code can still be built and run. That's barely even a
regression given this file has been shipped only 1 day in unstable.

> glibc (2.30-2) unstable; urgency=medium
> 
>   * debian/rules.d/build.mk: do not install <finclude/math-vector-fortran.h>
>     for now as it is not multiarch safe.
> 
> 
> Forwarded the discussion to
> https://gcc.gnu.org/pipermail/gcc/2020-June/232779.html

The multiarch path for fortrain includes is actually:
/usr/include/finclude/<multiarch>/

> It looks like the current x86 variant of this file is conditionalized and
> installable on any architecture. So instead of dropping the file, just install
> the x86 variant on every architecture.

That will break as soon as another architecture add support for math
vectorization. It's therefore better to use the multiarch path to
install the file.

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net


Reply to: