$ bash configure --with-jvm-variants='minimal'
$ cd build/linux-x64
$ make test
....
Building target 'test' in configuration 'linux-x64'
Compiling 315 files for BUILD_JDK_MICROBENCHMARK
Compiling 1 files for BUILD_INDIFY
Creating support/test/micro/native/lib/libJNIPoint.so from 1 file(s)
/bin/cat: '*.d': No such file or directory
test/JtregNativeHotspot.gmk:1516: recipe for target '/jdk2/jem/build/linux-x64/support/test/hotspot/jtreg/native/support/libem02t008/BUILD_TEST_libem02t008.d' failed
make[3]: *** [/jdk2/jem/build/linux-x64/support/test/hotspot/jtreg/native/support/libem02t008/BUILD_TEST_libem02t008.d] Error 1
$ cd build/linux-x64
$ make test
....
Building target 'test' in configuration 'linux-x64'
Compiling 315 files for BUILD_JDK_MICROBENCHMARK
Compiling 1 files for BUILD_INDIFY
Creating support/test/micro/native/lib/libJNIPoint.so from 1 file(s)
/bin/cat: '*.d': No such file or directory
test/JtregNativeHotspot.gmk:1516: recipe for target '/jdk2/jem/build/linux-x64/support/test/hotspot/jtreg/native/support/libem02t008/BUILD_TEST_libem02t008.d' failed
make[3]: *** [/jdk2/jem/build/linux-x64/support/test/hotspot/jtreg/native/support/libem02t008/BUILD_TEST_libem02t008.d] Error 1