[Bug 3286] New: [IcedTea8] -ffp-contract not available on older GCCs

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon Jan 16 12:17:35 UTC 2017


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3286

            Bug ID: 3286
           Summary: [IcedTea8] -ffp-contract not available on older GCCs
           Product: IcedTea
           Version: 8-hg
          Hardware: all
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: IcedTea
          Assignee: gnu.andrew at redhat.com
          Reporter: gnu.andrew at redhat.com
                CC: unassigned at icedtea.classpath.org

The -ffp-contract option introduced in "8170873: PPC64/aarch64: Poor StrictMath
performance due to non-optimized compilation" is not available on older
versions of GCC, but the build does not check for its availability:

/usr/bin/gcc -W -Wall -Wno-unused -Wno-parentheses -pipe -D_GNU_SOURCE
-D_REENTRANT -D_LARGEFILE64_SOURCE -D_LP64=1 -D_BIG_ENDIAN -DLINUX -DNDEBUG
'-DARCH="ppc64"' -Dppc64 '-DRELEASE="1.8.0_111"'
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/build/jdk8.build/jdk/include
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/build/jdk8.build/jdk/include/linux
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/jdk/src/share/javavm/export
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/jdk/src/solaris/javavm/export
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/jdk/src/share/native/common
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/jdk/src/solaris/native/common
-g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector
--param=ssp-buffer-size=4 -m64 -mminimal-toc -fno-tree-vectorize
-fno-strict-aliasing -fPIC
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/build/jdk8.build/jdk/gensrc_headers
-I/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/jdk/src/share/native/java/lang/fdlibm/include
-ffp-contract=off -g -O3 '-DTHIS_FILE="e_fmod.c"' -c -MMD -MF
/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/build/jdk8.build/jdk/objs/libfdlibm/e_fmod.d
-o
/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/build/jdk8.build/jdk/objs/libfdlibm/e_fmod.o
/builddir/build/BUILD/java-1.8.0-openjdk-1.8.0.111-5.b18.el6.ppc64/openjdk/jdk/src/share/native/java/lang/fdlibm/src/e_fmod.c
cc1: error: unrecognized command line option "-ffp-contract=off"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20170116/9ae6b728/attachment.html>


More information about the distro-pkg-dev mailing list