Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8157758

JDK9 does not compile on Linux with GCC 6.1 because left-shifting a negative number has undefined behavior

    XMLWordPrintable

Details

    • b127
    • linux

    Description

      I have a fully updated copy of Arch Linux and these are the commands I'm using to build the JDK:

      $ hg clone http://hg.openjdk.java.net/jdk9/hs/ jdk9-hs
      $ cd jdk9-hs
      $ sh get_source.sh
      $ bash configure
      $ make

      The output from `make` is attached. As you can see, there are multiple failures. This bug report is specifically for the failures caused by left-shifting a negative number.

      Attachments

        Issue Links

          Activity

            People

              ahenrie Alex Henrie
              ahenrie Alex Henrie
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: