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

Revisit the use of gcc option -fno-omit-frame-pointer

XMLWordPrintable

    • 8
    • b06
    • Not verified

        JDK-8022183 introduced a change that added -fno-omit-frame-pointer in gcc.make in response to a change in the default behaviour of gcc as of gcc 4.6

        That change was too broad in a number of respects:

        1. The change in default only affected 32-bit linux/Darwin x86 but we applied it to all platforms
        2. The frame-pointer was already omitted for all files compiled with optimization levels -O, -O2, -O3, -Os, but now we force the frame-pointer in regardless of the optimization level

        This caused unintended changes when building some platforms, and caused unintended changes when applying certain optimization levels.

        We need to restore the behaviour to the way it was pre-8022183 with a pre 4.6 gcc

              dholmes David Holmes
              dholmes David Holmes
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: