Public bug reported: This program does not work as expected:
#include <altivec.h> #include <math.h> #include <stdio.h> int main(int argc) { vector float o = {4, 3, 2, 0}; printf("%f %f %f %f\n", o[0], logf(argc), logf(4.0), logf(o[0])); } logf always returns -inf when it is run (gcc is analyzing the constant, logf(4.0)). ProblemType: Bug DistroRelease: Ubuntu 19.04 Package: libc6:ppc64el 2.29-0ubuntu2 ProcVersionSignature: Ubuntu 5.0.0-13.14-generic 5.0.6 Uname: Linux 5.0.0-13-generic x86_64 ApportVersion: 2.20.10-0ubuntu27 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Fri May 3 09:20:00 2019 Dependencies: gcc-9-base 9-20190402-1ubuntu1 libc6 2.29-0ubuntu2 libgcc1 1:9-20190402-1ubuntu1 libidn2-0 2.0.5-1 libunistring2 0.9.10-1ubuntu2 InstallationDate: Installed on 2019-02-23 (69 days ago) InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190203) PackageArchitecture: ppc64el SourcePackage: glibc UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: glibc (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug disco ppc64el wayland-session -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827523 Title: logf -lm ppc64el broken under qemu To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1827523/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs