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

BSD build failures due to undefined macros

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 8u60, 9
    • hotspot
    • b64
    • os_x

        Martijn Verburg reports:

        On Mac OS X 10.10.2 using gcc 4.8 run make clean images

        When compiling either jdk8 or jdk9 from scratch I get the following BSD
        undefined errors:

        Compiling
        /Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk8/hotspot/src/os/bsd/vm/os_bsd.cpp
        /Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk8/hotspot/src/os/bsd/vm/os_bsd.cpp:1150:7:
        error: "__FreeBSD__" is not defined [-Werror=undef]
         #elif __FreeBSD__
               ^
        /Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk8/hotspot/src/os/bsd/vm/os_bsd.cpp:1152:7:
        error: "__OpenBSD__" is not defined [-Werror=undef]
         #elif __OpenBSD__
               ^
        /Users/karianna/Documents/workspace/AdoptOpenJDK_projects/jdk8/hotspot/src/os/bsd/vm/os_bsd.cpp:1154:7:
        error: "__NetBSD__" is not defined [-Werror=undef]
         #elif __NetBSD__
               ^

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

                Created:
                Updated:
                Resolved: