[Bug 1861353] Re: libc6-dev:amd64 is not co-installable with libc6-dev:s390x

Matthias Klose doko at ubuntu.com
Wed Mar 11 15:48:34 UTC 2020


which tools look into /usr/include/finclude by default?  I assume we
have to patch these to look into /usr/include/<multiarch>/finclude as
well.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/1861353

Title:
  libc6-dev:amd64 is not co-installable with libc6-dev:s390x

Status in glibc package in Ubuntu:
  New
Status in glibc source package in Focal:
  New

Bug description:
  $ diff -ru amd64/usr/include/ s390x/usr/include/
  diff -ru amd64/usr/include/finclude/math-vector-fortran.h s390x/usr/include/finclude/math-vector-fortran.h
  --- amd64/usr/include/finclude/math-vector-fortran.h	2019-11-29 14:19:57.000000000 +0000
  +++ s390x/usr/include/finclude/math-vector-fortran.h	2019-11-29 14:19:57.000000000 +0000
  @@ -16,28 +16,4 @@
   !   License along with the GNU C Library; if not, see
   !   <http://www.gnu.org/licenses/>.
   
  -!GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (sin) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (sinf) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (sincos) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (sincosf) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (log) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (logf) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (exp) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (expf) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (pow) attributes simd (notinbranch) if('x86_64')
  -!GCC$ builtin (powf) attributes simd (notinbranch) if('x86_64')
  -
  -!GCC$ builtin (cos) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (cosf) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (sin) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (sinf) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (sincos) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (sincosf) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (log) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (logf) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (exp) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (expf) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (pow) attributes simd (notinbranch) if('x32')
  -!GCC$ builtin (powf) attributes simd (notinbranch) if('x32')
  +! No SIMD math functions are available for this platform.
  Only in s390x/usr/include/: s390x-linux-gnu
  Only in amd64/usr/include/: x86_64-linux-gnu

  
  Not sure if the header should move to like libc6-dev-amd64|s390x packages, or in arch specific subdirectory.

  Also, slightly surpised that SIMD math functions are not available for
  s390x, as we now target z13 minimum, and there should be SIMD
  instructions available as built-ins.

  Thus at the moment I cannot cross build s390x packages on amd64.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1861353/+subscriptions



More information about the foundations-bugs mailing list