jdk9_b48 Solaris 5.12 on X86, hotspot/src/share/vm/opto/phase.cpp, Error: dd_fd is not a member of DIR.
Daniel D. Daugherty
daniel.daugherty at oracle.com
Fri Jan 30 19:27:50 UTC 2015
Sergey,
This issue is being tracked by this bug:
JDK-8071501 perfMemory_solaris.cpp failing to compile with "Error:
dd_fd is not a member of DIR."
https://bugs.openjdk.java.net/browse/JDK-8071501
Dan
On 1/29/15 5:45 PM, Sergey Sprogis wrote:
> To test new Oracle Studio C++ compiler on Solaris S12 X86 system I
> downloaded jdk9_b48 and the proper hotspot sources.
> But my build fails as shown below:
>
> =====================
> CC -DSOLARIS -DSPARC_WORKS -DAMD64 -DASSERT
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/closed/share/vm/prims
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/share/vm/prims
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/closed/share/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/share/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/share/vm/precompiled
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/closed/cpu/x86/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/cpu/x86/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/os_cpu/solaris_x86/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/closed/os/solaris/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/os/solaris/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/closed/os/posix/vm
> -I/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/os/posix/vm
> -I../generated -DHOTSPOT_BUILD_USER="\"ssprogis\""
> -DHOTSPOT_LIB_ARCH=\"amd64\" -DHOTSPOT_VM_DISTRO="\"Java
> HotSpot(TM)\"" -DTARGET_OS_FAMILY_solaris -DTARGET_ARCH_x86
> -DTARGET_ARCH_MODEL_x86_64 -DTARGET_OS_ARCH_solaris_x86
> -DTARGET_OS_ARCH_MODEL_solaris_x86_64 -DTARGET_COMPILER_sparcWorks
> -DCOMPILER2 -DCOMPILER1 -DDONT_USE_PRECOMPILED_HEADER -m64 -m64
> /export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/os_cpu/solaris_x86/vm/solaris_x86_64.il
> -features=no%split_init -D_Crun_inline_placement -library=%none -KPIC
> -mt -xO4 -g0 -xs -g0 -xs -DVM_LITTLE_ENDIAN -xwe
> -features=no%except -DHAVE_DTRACE_H -DDTRACE_ENABLED -c -xMMD -xMF
> ../generated/dependencies/phase.o.d -o phase.o
> /export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/share/vm/opto/phase.cpp
>
> "/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp",
> line 337: Error: dd_fd is not a member of DIR.
> "/export/home/jvm_testing_intel/apps/apps_col_run/hotspot_b48/hotspot/src/os/solaris/vm/perfMemory_solaris.cpp",
> line 369: Error: dd_fd is not a member of DIR.
> 2 Error(s) detected.
> ============================
>
> Probably HS developers do not use Solaris S12 systems for their build
> yet, but anyway could
> anyone tell me whether there is any way to workaround that failure.
> Is that dd_fd object the same one which is defined under:
> /usr/include/dirent.h, or it's just a coincidence?
> May be all I need is just to insert
>
> # include <dirent.h>
>
> into hotspot/src/share/vm/opto/phase.cpp?
>
> Thanks,
>
> Sergey
More information about the hotspot-dev
mailing list