Configure command:
bash configure --with-extra-cflags="-DLOG_PLEASE" --with-extra-cxxflags="-DLOG_PLEASE" --with-debug-level=fastdebug
Make command:
make CONF=linux-x86_64-server-fastdebug LOG=debug images test-image
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_test_blocktree.o:
In file included from test/hotspot/gtest/metaspace/test_blocktree.cpp:31:
test/hotspot/gtest/metaspace/test_blocktree.cpp: In function ‘void test_find_nearest_fit_with_tree(const size_t*, size_t)’:
test/hotspot/gtest/metaspace/test_blocktree.cpp:146:7: error: ‘SIZE_FORMAT’ was not declared in this scope
146 | LOG(SIZE_FORMAT ": %zu.", request_size, real_size);
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp:167:29: note: in definition of macro ‘LOG’
167 | #define LOG(...) { printf(__VA_ARGS__); printf("\n"); fflush(stdout); }
| ^~~~~~~~~~~
* For target hotspot_variant-server_libjvm_gtest_objs_test_clms.o:
test/hotspot/gtest/metaspace/test_clms.cpp:41:9: error: "LOG_PLEASE" redefined [-Werror]
41 | #define LOG_PLEASE
| ^~~~~~~~~~
<command-line>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
* For target hotspot_variant-server_libjvm_gtest_objs_test_metaspace_misc.o:
In file included from test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:32:
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp: In member function ‘virtual void metaspace_chunklevel_utils_vm_Test::TestBody()’:
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:77:7: error: ‘SIZE_FORMAT’ was not declared in this scope
77 | LOG(SIZE_FORMAT, MAX_CHUNK_BYTE_SIZE);
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp:167:29: note: in definition of macro ‘LOG’
167 | #define LOG(...) { printf(__VA_ARGS__); printf("\n"); fflush(stdout); }
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:78:7: error: ‘SIZE_FORMAT’ was not declared in this scope
78 | LOG(SIZE_FORMAT, MIN_CHUNK_BYTE_SIZE);
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp:167:29: note: in definition of macro ‘LOG’
167 | #define LOG(...) { printf(__VA_ARGS__); printf("\n"); fflush(stdout); }
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:79:7: error: ‘SIZE_FORMAT’ was not declared in this scope
... (rest of output omitted)
* For target hotspot_variant-server_libjvm_gtest_objs_test_metaspacearena.o:
test/hotspot/gtest/metaspace/test_metaspacearena.cpp:43:9: error: "LOG_PLEASE" redefined [-Werror]
43 | #define LOG_PLEASE
| ^~~~~~~~~~
<command-line>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
* For target hotspot_variant-server_libjvm_gtest_objs_test_os_reserve_between.o:
test/hotspot/gtest/runtime/test_os_reserve_between.cpp:33:9: error: "LOG_PLEASE" redefined [-Werror]
33 | #define LOG_PLEASE
| ^~~~~~~~~~
bash configure --with-extra-cflags="-DLOG_PLEASE" --with-extra-cxxflags="-DLOG_PLEASE" --with-debug-level=fastdebug
Make command:
make CONF=linux-x86_64-server-fastdebug LOG=debug images test-image
=== Output from failing command(s) repeated here ===
* For target hotspot_variant-server_libjvm_gtest_objs_test_blocktree.o:
In file included from test/hotspot/gtest/metaspace/test_blocktree.cpp:31:
test/hotspot/gtest/metaspace/test_blocktree.cpp: In function ‘void test_find_nearest_fit_with_tree(const size_t*, size_t)’:
test/hotspot/gtest/metaspace/test_blocktree.cpp:146:7: error: ‘SIZE_FORMAT’ was not declared in this scope
146 | LOG(SIZE_FORMAT ": %zu.", request_size, real_size);
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp:167:29: note: in definition of macro ‘LOG’
167 | #define LOG(...) { printf(__VA_ARGS__); printf("\n"); fflush(stdout); }
| ^~~~~~~~~~~
* For target hotspot_variant-server_libjvm_gtest_objs_test_clms.o:
test/hotspot/gtest/metaspace/test_clms.cpp:41:9: error: "LOG_PLEASE" redefined [-Werror]
41 | #define LOG_PLEASE
| ^~~~~~~~~~
<command-line>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
* For target hotspot_variant-server_libjvm_gtest_objs_test_metaspace_misc.o:
In file included from test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:32:
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp: In member function ‘virtual void metaspace_chunklevel_utils_vm_Test::TestBody()’:
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:77:7: error: ‘SIZE_FORMAT’ was not declared in this scope
77 | LOG(SIZE_FORMAT, MAX_CHUNK_BYTE_SIZE);
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp:167:29: note: in definition of macro ‘LOG’
167 | #define LOG(...) { printf(__VA_ARGS__); printf("\n"); fflush(stdout); }
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:78:7: error: ‘SIZE_FORMAT’ was not declared in this scope
78 | LOG(SIZE_FORMAT, MIN_CHUNK_BYTE_SIZE);
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/metaspaceGtestCommon.hpp:167:29: note: in definition of macro ‘LOG’
167 | #define LOG(...) { printf(__VA_ARGS__); printf("\n"); fflush(stdout); }
| ^~~~~~~~~~~
test/hotspot/gtest/metaspace/test_metaspace_misc.cpp:79:7: error: ‘SIZE_FORMAT’ was not declared in this scope
... (rest of output omitted)
* For target hotspot_variant-server_libjvm_gtest_objs_test_metaspacearena.o:
test/hotspot/gtest/metaspace/test_metaspacearena.cpp:43:9: error: "LOG_PLEASE" redefined [-Werror]
43 | #define LOG_PLEASE
| ^~~~~~~~~~
<command-line>: note: this is the location of the previous definition
cc1plus: all warnings being treated as errors
* For target hotspot_variant-server_libjvm_gtest_objs_test_os_reserve_between.o:
test/hotspot/gtest/runtime/test_os_reserve_between.cpp:33:9: error: "LOG_PLEASE" redefined [-Werror]
33 | #define LOG_PLEASE
| ^~~~~~~~~~
- links to
-
Commit(master) openjdk/jdk/e1081cff
-
Review(master) openjdk/jdk/23290