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

need to have -fno-omit-frame-pointer gcc option on linux/amd-64

XMLWordPrintable

    • b38
    • x86
    • linux

      -fomit-frame-pointer is default with gcc on linux/amd-64. With this, %rbp is not saved and hence we'll not have frame pointer. Debugging tools will not able to walk the stack without DWARF unwinder machinery. To facilitate debugging, we need to use -fno-omit-frame-pointer option with gcc, while building all shared objects to JDK including libjvm.so. Also, we have to document this for external JNI libraries as well.

      ###@###.### 2003-12-18

            ohair Kelly Ohair (Inactive)
            sundar Sundararajan Athijegannathan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: