Gtest os_linux.decoder_get_source_info_valid_vm fails with -ffunction-sections

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 27
    • Component/s: hotspot
    • generic
    • linux

      When building a JVM with -ffunction-sections in the C/C++ compile flags, the gtest os_linux.decoder_get_source_info_valid_vm fails :

      [ RUN ] os_linux.decoder_get_source_info_valid_vm
      test/hotspot/gtest/runtime/test_os_linux.cpp:404: Failure
      Expected equality of these values:
        buf
          Which is: "test_os_linux.cpp"
        "jniCheck.hpp"

      [ FAILED ] os_linux.decoder_get_source_info_valid_vm (20 ms)

            Assignee:
            Unassigned
            Reporter:
            Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: