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

Hotspot doesn't compile on old linuxes after 7060836

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: hs22
    • Fix Version/s: hs22
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b05
    • CPU:
      generic
    • OS:
      linux
    • Verification:
      Not verified

      Backports

        Description

        Compilation failes because of lack of syscall ids definitions and also because of the conflict of definitions of timespec-related structures.

        In file included from /usr/include/asm-x86_64/vsyscall.h:4,
                         from /usr/include/asm/vsyscall.h:4,
                         from /tmp/jprt/P1/010954.coleenp/source/src/os/linux/vm/os_linux.cpp:129:
        /usr/include/linux/time.h:9: redefinition of `struct timespec'
        /usr/include/time.h:107: previous definition of `struct timespec'
        /usr/include/linux/time.h:88: redefinition of `struct timeval'
        /usr/include/bits/time.h:68: previous definition of `struct timeval'
        /usr/include/linux/time.h:93: redefinition of `struct timezone'
        /usr/include/sys/time.h:57: previous definition of `struct timezone'
        /usr/include/linux/time.h:119: redefinition of `struct itimerspec'
        /usr/include/time.h:143: previous definition of `struct itimerspec'
        /usr/include/linux/time.h:124: redefinition of `struct itimerval'
        /usr/include/sys/time.h:108: previous definition of `struct itimerval'
        /tmp/jprt/P1/010954.coleenp/source/src/os/linux/vm/os_linux.cpp: In static
           member function `static int os::Linux::sched_getcpu_syscall()':
        /tmp/jprt/P1/010954.coleenp/source/src/os/linux/vm/os_linux.cpp:2594: `
           __NR_vgetcpu' undeclared (first use this function)
        /tmp/jprt/P1/010954.coleenp/source/src/os/linux/vm/os_linux.cpp:2594: (Each
           undeclared identifier is reported only once for each function it appears
           in.)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  iveresov Igor Veresov
                  Reporter:
                  iveresov Igor Veresov
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: