Public bug reported:

$ 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.

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: rls-ff-incoming

** Tags added: rls-ff-incoming

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

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to