]> Kevux Git Server - fll/commitdiff
Progress: Continue working on fl_fss_payload_header_map().
authorKevin Day <kevin@kevux.org>
Fri, 2 Feb 2024 04:26:16 +0000 (22:26 -0600)
committerKevin Day <kevin@kevux.org>
Fri, 2 Feb 2024 05:04:26 +0000 (23:04 -0600)
Mostly focus on private_fl_payload_header_map_maps().
There is a lot of similar code design with subtle but key differences.
This is going to be really easy to make an mistake with.
Writing unit tests is going to be the ideal way to ensure the logic here is correct.

I did a lot of back and forth jumping around while trying to remember where I was last and what I need to do.

Make the build settings files more consistent in regards to threads and coverage modes.

76 files changed:
build/level_0/settings
build/level_1/settings
build/level_2/settings
build/monolithic/settings
build/stand_alone/byte_dump.settings
build/stand_alone/fake.settings
build/stand_alone/firewall.settings
build/stand_alone/utf8.settings
level_0/f_abstruse/data/build/settings
level_0/f_account/data/build/settings
level_0/f_capability/data/build/settings
level_0/f_color/data/build/settings
level_0/f_compare/data/build/settings
level_0/f_console/data/build/settings
level_0/f_control_group/data/build/settings
level_0/f_conversion/data/build/settings
level_0/f_directory/data/build/settings
level_0/f_environment/data/build/settings
level_0/f_execute/data/build/settings
level_0/f_file/data/build/settings
level_0/f_fss/data/build/settings
level_0/f_iki/data/build/settings
level_0/f_limit/data/build/settings
level_0/f_memory/data/build/settings
level_0/f_network/data/build/settings
level_0/f_parse/data/build/settings
level_0/f_path/data/build/settings
level_0/f_pipe/data/build/settings
level_0/f_print/data/build/settings
level_0/f_random/data/build/settings
level_0/f_rip/data/build/settings
level_0/f_serialize/data/build/settings
level_0/f_signal/data/build/settings
level_0/f_socket/data/build/settings
level_0/f_status/data/build/settings
level_0/f_status_string/data/build/settings
level_0/f_string/data/build/settings
level_0/f_thread/data/build/settings
level_0/f_time/data/build/settings
level_0/f_type/data/build/settings
level_0/f_type_array/data/build/settings
level_0/f_utf/data/build/settings
level_1/fl_control_group/data/build/settings
level_1/fl_conversion/data/build/settings
level_1/fl_directory/data/build/settings
level_1/fl_environment/data/build/settings
level_1/fl_execute/data/build/settings
level_1/fl_fss/c/fss/payload.c
level_1/fl_fss/c/fss/private-payload.c
level_1/fl_fss/data/build/settings
level_1/fl_iki/data/build/settings
level_1/fl_path/data/build/settings
level_1/fl_print/data/build/settings
level_1/fl_status_string/data/build/settings
level_1/fl_utf_file/data/build/settings
level_2/fll_control_group/data/build/settings
level_2/fll_error/data/build/settings
level_2/fll_execute/data/build/settings
level_2/fll_file/data/build/settings
level_2/fll_fss/data/build/settings
level_2/fll_fss_status_string/data/build/settings
level_2/fll_iki/data/build/settings
level_2/fll_print/data/build/settings
level_2/fll_program/data/build/settings
level_3/byte_dump/data/build/settings
level_3/control/data/build/settings
level_3/controller/data/build/settings
level_3/fake/data/build/settings
level_3/firewall/data/build/settings
level_3/fss_identify/data/build/settings
level_3/fss_read/data/build/settings
level_3/fss_write/data/build/settings
level_3/iki_read/data/build/settings
level_3/iki_write/data/build/settings
level_3/status_code/data/build/settings
level_3/utf8/data/build/settings

index 23624e2..72a9b31 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default level thread
 
 build_compiler gcc
index 4ce1564..36c0d65 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default level thread
 
 build_compiler gcc
index 08ac749..f928ceb 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default level thread
 
 build_compiler gcc
index bf7fde0..b4c2c43 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index 51a2edb..02f7a64 100644 (file)
@@ -12,8 +12,8 @@ version_micro 2
 version_file micro
 version_target minor
 
-modes stand_alone clang fanalyzer
-modes_default stand_alone
+modes stand_alone clang test fanalyzer coverage thread threadless
+modes_default stand_alone thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -74,17 +74,24 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-#defines -D_f_file_rename_use_renameat2_
 defines -include sources/c/config.h -I sources/c/
-defines -D_di_libcap_ -D_di_pthread_support_
+#defines -D_f_file_rename_use_renameat2_
+#defines -D_di_libcap_
+defines -D_libcap_legacy_only_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
+flags-thread -pthread
+flags-test -O0 -fstack-protector-strong -Wall
 flags-fanalyzer -fanalyzer
+flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 
 flags_library -fPIC
 flags_object -fPIC
index 0d14dd0..a97b7ea 100644 (file)
@@ -20,7 +20,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes stand_alone clang test fanalyzer thread threadless
+modes stand_alone clang test fanalyzer coverage thread threadless
 modes_default stand_alone thread
 
 build_compiler gcc
index 9b1e593..4354860 100644 (file)
@@ -12,8 +12,8 @@ version_micro 2
 version_file micro
 version_target minor
 
-modes stand_alone clang fanalyzer
-modes_default stand_alone
+modes stand_alone clang test fanalyzer coverage thread threadless
+modes_default stand_alone thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -92,16 +92,23 @@ environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
 defines -include sources/c/config.h -I sources/c/
-#defines -D_di_libcap_ -D_di_thread_support_
-defines -D_libcap_legacy_only_ -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+#defines -D_f_file_rename_use_renameat2_
+#defines -D_di_libcap_
+defines -D_libcap_legacy_only_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
+flags-thread -pthread
+flags-test -O0 -fstack-protector-strong -Wall
 flags-fanalyzer -fanalyzer
+flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 
 flags_library -fPIC
 flags_object -fPIC
index 428ac0c..60e92cf 100644 (file)
@@ -12,8 +12,8 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes stand_alone clang fanalyzer
-modes_default stand_alone
+modes stand_alone clang test fanalyzer coverage thread threadless
+modes_default stand_alone thread
 
 build_compiler gcc
 build_compiler-clang clang
@@ -76,17 +76,24 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-#defines -D_f_file_rename_use_renameat2_
 defines -include sources/c/config.h -I sources/c/
-defines -D_di_libcap_ -D_di_pthread_support_
+#defines -D_f_file_rename_use_renameat2_
+#defines -D_di_libcap_
+defines -D_libcap_legacy_only_
 defines-clang -D_clang_not_a_compile_time_constant_workaround_
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
+flags-thread -pthread
+flags-test -O0 -fstack-protector-strong -Wall
 flags-fanalyzer -fanalyzer
+flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
 
 flags_library -fPIC
 flags_object -fPIC
index dc35106..ed0edf2 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -60,10 +61,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 37d924e..9b654a3 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 7cdf3e9..f967d74 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -68,6 +69,7 @@ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parent
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index e5db0fd..0abe662 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 338eb3e..4779376 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 7515c7e..2383345 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 81639b8..e82f5e8 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 602e36a..6a797bf 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 3e7d90f..a7c8cdf 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -62,10 +63,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 0afce06..7aa0b98 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -67,6 +68,7 @@ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parent
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 735dea8..dff24da 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index c893ca0..4d0d29e 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 989d46c..664b372 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -60,10 +61,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 71d8042..9b371fd 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 1ae147c..d3f335f 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 5093953..70be3db 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 490563b..eaf6f0e 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index aa9217b..0c99562 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 2adea9c..c15661a 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 519eac2..4e29ead 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index d8dec3f..16b3fc3 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -67,6 +68,7 @@ flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parent
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index f7d55a6..4b59895 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index d1a28b3..a578aff 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index cf307f2..67a9b25 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -52,10 +53,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index efe8bca..b1a829a 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -60,10 +61,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
-flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
+flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall -Wno-missing-braces
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 590858a..018b7a5 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 1580818..40793be 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -58,10 +59,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 4ad28e4..77ac23b 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 748559b..c051c73 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -74,10 +75,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 79d4f39..51f1255 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
index e81209d..0a831c2 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 57f1eb6..c033a5b 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -58,10 +59,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 9cc2d19..38b960a 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 1c5a85f..1a626a6 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -63,10 +64,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index ec2a4c5..e20313a 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 5a04bbf..bb6778b 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 94850fe..73e7b82 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 5f9aa95..9c78933 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -60,10 +61,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 56bf714..c1f00d6 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
index 4974adc..7a9a5d0 100644 (file)
@@ -255,16 +255,11 @@ extern "C" {
               if (headers.array[internal.i].value.is.a_maps.used) {
                 private_fl_payload_header_map_maps(data, state, &internal, &headers.array[internal.i].value.is.a_maps, destinations);
               }
-              else if (data->flag & f_fss_payload_header_map_flag_null_map_name_value_e) {
-                if (data->flag & f_fss_payload_header_map_flag_join_maps_e) {
-                  state->status = f_string_dynamic_append(internal.quote_null, &destinations->array[destinations->used].value);
-                  if (F_status_is_error(state->status)) break;
+              else if (data->flag & f_fss_payload_header_map_flag_join_maps_e) {
+                state->status = f_string_dynamic_append(internal.quote_null, &destinations->array[destinations->used].value);
+                if (F_status_is_error(state->status)) break;
 
-                  ++destinations->used;
-                }
-                else {
-                  private_fl_payload_header_map_map_name_value_null(data, state, &internal, destinations);
-                }
+                ++destinations->used;
               }
               else if (data->flag & f_fss_payload_header_map_flag_null_e) {
                 ++destinations->used;
index a32df60..47b4a27 100644 (file)
@@ -61,7 +61,7 @@ extern "C" {
     if (F_status_is_error(state->status)) return F_true;
 
     if (data->flag & f_fss_payload_header_map_flag_join_dynamics_e) {
-      state->status = f_memory_array_increase_by(buffers->used + ((f_fss_extended_next_s.used + internal->quote_null.used) * buffers->used), sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size);
+      state->status = f_memory_array_increase_by(buffers->used + ((f_fss_space_s.used + internal->quote_null.used) * buffers->used), sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size);
       if (F_status_is_error(state->status)) return F_true;
     }
 
@@ -87,7 +87,7 @@ extern "C" {
           private_fl_fss_basic_write(F_false, buffers->array[internal->j], internal->quote, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal);
           if (F_status_is_error(state->status)) return F_true;
 
-          state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache);
+          state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value);
           if (F_status_is_error(state->status)) return F_true;
         }
         else if (data->flag & f_fss_payload_header_map_flag_null_string_e) {
@@ -100,7 +100,7 @@ extern "C" {
     if (data->flag & f_fss_payload_header_map_flag_join_dynamics_e) {
       if (data->cache->used) {
 
-        // Do not include the f_string_space_s that is always added at the end of the loop.
+        // Remove the always added trailing space.
         data->cache->used -= f_string_space_s.used;
 
         internal->range.start = 0;
@@ -136,12 +136,15 @@ extern "C" {
 
       data->cache->used = 0;
 
+      state->status = f_memory_array_increase_by(map->name.used + map->value.used + f_string_space_s.used, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size);
+      if (F_status_is_error(state->status)) return F_true;
+
       if (map->name.used) {
         f_string_dynamic_append(map->name, data->cache);
         if (F_status_is_error(state->status)) return F_true;
 
         if (map->value.used) {
-          f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache);
+          f_string_dynamic_append_assure(f_fss_space_s, data->cache);
           if (F_status_is_error(state->status)) return F_true;
         }
       }
@@ -163,7 +166,7 @@ extern "C" {
         if (F_status_is_error(state->status)) return F_true;
 
         if (map->value.used) {
-          f_string_dynamic_append_assure(f_string_space_s, &destinations->array[destinations->used].value);
+          f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value);
           if (F_status_is_error(state->status)) return F_true;
         }
       }
@@ -212,83 +215,151 @@ extern "C" {
 #if !defined(_di_fl_fss_payload_header_maps_)
   uint8_t private_fl_payload_header_map_maps(f_fss_payload_header_state_t * const data, f_state_t * const state, f_fss_payload_header_internal_t * const internal, f_string_maps_t * const maps, f_string_maps_t * const destinations) {
 
+    internal->k = 0;
+
+    for (internal->l = 0; internal->l < maps->used; ++internal->k) {
+
+      if (maps->array[internal->l].name.used) {
+        internal->k += maps->array[internal->k].name.used + f_fss_extended_next_s.used + internal->quote_null.used;
+      }
+      else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) {
+        internal->k += f_fss_extended_next_s.used + internal->quote_null.used;
+      }
+
+      if (maps->array[internal->l].value.used) {
+        internal->k += maps->array[internal->l].value.used + f_fss_extended_next_s.used + internal->quote_null.used;
+      }
+      else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) {
+        internal->k += f_fss_extended_next_s.used + internal->quote_null.used;
+      }
+    } // for
+
     if (data->flag & f_fss_payload_header_map_flag_join_maps_e) {
-      // @todo
-    }
-    else if (data->flag & f_fss_payload_header_map_flag_null_map_name_value_e) {
-      // @todo
-    }
-    else {
-      for (internal->k = 0; internal->k < maps->used; ++internal->k) {
+      data->cache->used = 0;
 
-        if (maps->array[internal->k].name.used) {
-          internal->k += maps->array[internal->k].name.used + f_fss_extended_next_s.used + internal->quote_null.used;
-        }
-        else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) {
-          internal->k += f_fss_extended_next_s.used + internal->quote_null.used;
+      state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size);
+      if (F_status_is_error(state->status)) return F_true;
+
+      for (internal->l = 0; internal->l < maps->used; ++internal->l) {
+
+        if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) {
+          if (maps->array[internal->l].name.used) {
+            f_string_dynamic_append(maps->array[internal->l].name, data->cache);
+          }
+          else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) {
+            state->status = f_string_dynamic_append(internal->quote_null, data->cache);
+          }
+
+          if (F_status_is_error(state->status)) return F_true;
+
+          if (maps->array[internal->l].value.used || (data->flag & f_fss_payload_header_map_flag_null_map_value_e)) {
+            f_string_dynamic_append_assure(f_fss_space_s, data->cache);
+            if (F_status_is_error(state->status)) return F_true;
+          }
         }
 
-        if (maps->array[internal->k].value.used) {
-          internal->k += maps->array[internal->k].value.used + f_fss_extended_next_s.used + internal->quote_null.used;
+        if (maps->array[internal->l].value.used) {
+          f_string_dynamic_append(maps->array[internal->l].value, data->cache);
         }
         else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) {
-          internal->k += f_fss_extended_next_s.used + internal->quote_null.used;
+          state->status = f_string_dynamic_append(internal->quote_null, data->cache);
         }
-      } // for
 
-      // @todo all of this below.
-
-      if (data->flag & f_fss_payload_header_map_flag_join_map_e) {
-        data->cache->used = 0;
+        if (F_status_is_error(state->status)) return F_true;
 
-        state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size);
+        state->status = f_string_dynamic_append_assure(f_fss_space_s, data->cache);
         if (F_status_is_error(state->status)) return F_true;
+      } // for
 
-        for (internal->l = 0; internal->l < maps->used; ++internal->l) {
+      // Remove the always added trailing space.
+      if (data->cache->used) {
+        data->cache->used -= f_fss_space_s.used;
+      }
 
-          if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) {
-            if (maps->array[internal->l].name.used) {
-              f_string_dynamic_append(maps->array[internal->l].name, data->cache);
-            }
-            else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) {
-              state->status = f_string_dynamic_append(internal->quote_null, data->cache);
-            }
+      private_fl_fss_basic_write(F_false, *data->cache, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal);
+      if (F_status_is_error(state->status)) return F_true;
+    }
+    else if (data->flag & f_fss_payload_header_map_flag_join_map_e) {
+      data->cache->used = 0;
 
-            if (F_status_is_error(state->status)) return F_true;
+      state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &data->cache->string, &data->cache->used, &data->cache->size);
+      if (F_status_is_error(state->status)) return F_true;
 
-            if (maps->array[internal->l].value.used) {
-              f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache);
-              if (F_status_is_error(state->status)) return F_true;
-            }
-          }
+      for (internal->l = 0; internal->l < maps->used; ++internal->l) {
 
-          if (maps->array[internal->l].value.used) {
-            f_string_dynamic_append(maps->array[internal->l].value, data->cache);
+        data->cache->used = 0;
+
+        if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) {
+          if (maps->array[internal->l].name.used) {
+            f_string_dynamic_append(maps->array[internal->l].name, data->cache);
           }
-          else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) {
+          else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) {
             state->status = f_string_dynamic_append(internal->quote_null, data->cache);
           }
 
           if (F_status_is_error(state->status)) return F_true;
 
-          state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, data->cache);
-          if (F_status_is_error(state->status)) return F_true;
-        } // for
+          if (maps->array[internal->l].value.used || (data->flag & f_fss_payload_header_map_flag_null_map_value_e)) {
+            f_string_dynamic_append_assure(f_fss_space_s, data->cache);
+            if (F_status_is_error(state->status)) return F_true;
+          }
+        }
 
-        // Remove any trailing "extended_next".
-        if (data->cache->used) {
-          data->cache->used -= f_fss_extended_next_s.used;
+        if (maps->array[internal->l].value.used) {
+          f_string_dynamic_append(maps->array[internal->l].value, data->cache);
+        }
+        else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) {
+          state->status = f_string_dynamic_append(internal->quote_null, data->cache);
         }
 
-        private_fl_fss_basic_write(F_false, *data->cache, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal);
         if (F_status_is_error(state->status)) return F_true;
-      }
-      else {
-        state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &destinations->array[destinations->used].value.string, &destinations->array[destinations->used].value.used, &destinations->array[destinations->used].value.size);
+
+        private_fl_fss_basic_write(F_false, *data->cache, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal);
         if (F_status_is_error(state->status)) return F_true;
 
-        // @todo
-      }
+        if (internal->l + 1 < maps->used) {
+          state->status = f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value);
+          if (F_status_is_error(state->status)) return F_true;
+        }
+      } // for
+    }
+    else {
+      state->status = f_memory_array_increase_by(internal->k, sizeof(f_char_t), (void **) &destinations->array[destinations->used].value.string, &destinations->array[destinations->used].value.used, &destinations->array[destinations->used].value.size);
+      if (F_status_is_error(state->status)) return F_true;
+
+      for (internal->l = 0; internal->l < maps->used; ++internal->l) {
+
+        if (maps->array[internal->l].name.used || (data->flag & f_fss_payload_header_map_flag_null_map_name_e)) {
+          if (maps->array[internal->l].name.used) {
+            internal->range.start = 0;
+            internal->range.stop = maps->array[internal->l].name.used - 1;
+
+            private_fl_fss_basic_write(F_false, maps->array[internal->l].name, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal);
+            if (F_status_is_error(state->status)) return F_true;
+          }
+          else if (data->flag & f_fss_payload_header_map_flag_null_map_name_e) {
+            state->status = f_string_dynamic_append(internal->quote_null, &destinations->array[destinations->used].value);
+            if (F_status_is_error(state->status)) return F_true;
+          }
+
+          if (maps->array[internal->l].value.used) {
+            f_string_dynamic_append_assure(f_fss_extended_next_s, &destinations->array[destinations->used].value);
+            if (F_status_is_error(state->status)) return F_true;
+          }
+        }
+
+        if (maps->array[internal->l].value.used) {
+          internal->range.start = 0;
+          internal->range.stop = maps->array[internal->l].value.used - 1;
+
+          private_fl_fss_basic_write(F_true, maps->array[internal->l].value, 0, &internal->range, &destinations->array[destinations->used].value, state, (void * const) internal);
+          if (F_status_is_error(state->status)) return F_true;
+        }
+        else if (data->flag & f_fss_payload_header_map_flag_null_map_value_e) {
+          state->status = f_string_dynamic_append(internal->quote_null, &destinations->array[destinations->used].value);
+          if (F_status_is_error(state->status)) return F_true;
+        }
+      } // for
     }
 
     state->status = f_string_dynamic_strip_null(&destinations->array[destinations->used].value);
index d4d4ca8..f95ddf7 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index ff0c678..efa84ba 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 45e7a47..d8fc114 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 5b2435d..ad29448 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 56afbb6..af5a811 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 884d3d2..2936e09 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 345c128..3d0dc20 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -60,10 +61,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index bf752c4..e6c916a 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index ad7aca7..6749b7a 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
index 3ce9e86..6f576f2 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 56fab1d..cb0835b 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index 41fa3e3..b2cde19 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index cbed363..f4396b8 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index aa6cb55..c700289 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index ce236e2..de3983f 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default individual individual_thread thread
 
 build_compiler gcc
@@ -61,10 +62,14 @@ search_static yes
 environment PATH LD_LIBRARY_PATH
 environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME LOCPATH NLSPATH
 
+defines-threadless -D_di_thread_support_
+defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
+
 flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
+flags-thread -pthread
 flags-clang -Wno-logical-op-parentheses
 flags-test -O0 -fstack-protector-strong -Wall
 flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/
index ebe63c3..f88f431 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index c503f6d..5a21000 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index 78ba70f..48591ab 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless as_init
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless as_init
 modes_default monolithic thread
 
 build_compiler gcc
index 304b3f1..d36c7fc 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -23,7 +24,7 @@ version_target minor
 process_pre process_pre.sh
 process_post process_post.sh
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
@@ -86,7 +87,7 @@ defines -D_libcap_legacy_only_
 defines-threadless -D_di_thread_support_
 defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_
 
-flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-main
+flags -O2 -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main
 flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3
 flags -D_FORTIFY_SOURCE=3
 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now
index 85af80a..300008f 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index 30e5462..5cad4ee 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index 984fdc0..c0a1dc3 100644 (file)
@@ -7,9 +7,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index 5935921..89ab5d3 100644 (file)
@@ -7,9 +7,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index 315822f..fec8946 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index 80c2e5e..11c4ede 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index bfa8c75..65f793f 100644 (file)
@@ -7,9 +7,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -22,7 +23,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc
index ed23854..613d99f 100644 (file)
@@ -5,9 +5,10 @@
 #   - individual_thread: This is required when compiling in individual mode with "thread" mode.
 #   - level:             Compile using per level libraries.
 #   - monolithic:        Compile using per monolithic libraries.
-#   - clang:             Use clang rather than the default, which is generally gcc.
+#   - clang:             Use clang rather than the default, which is generally gcc
 #   - test:              Compile for a test, such as unit testing.
 #   - fanalyzer:         Compile using GCC's -fanalyzer compile time option.
+#   - coverage:          Compile for building coverage.
 #   - thread:            Compile with thread support.
 #   - threadless:        Compile without thread support.
 #
@@ -20,7 +21,7 @@ version_micro 0
 version_file micro
 version_target minor
 
-modes individual individual_thread level monolithic clang test fanalyzer thread threadless
+modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless
 modes_default monolithic thread
 
 build_compiler gcc