From a850c4fc237e346cecc70bf3ed87b958299ceca2 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Mon, 19 Feb 2024 22:39:13 -0600 Subject: [PATCH] Update: Get clang working by separating out gcc specific settings, such as -fstrict-flex-arrays=3, and related changes. The "-fstrict-flex-arrays=3" flag is not supported by clang. Create a new mode call "gcc", make that the default, and move the "-fstrict-flex-arrays=3" into the gcc-specific setting. Update the unit tests and mocks with these changes. Make the unit tests and mocks more consistent by having these same settings. Add a missing period at the end of the clang specific mode documentation comment. The example bootstrap script handling of threads is improved. --- build/level_0/settings | 10 ++++++---- build/level_1/settings | 10 ++++++---- build/level_2/settings | 10 ++++++---- build/monolithic/settings | 10 ++++++---- build/scripts/bootstrap-example.sh | 19 ++++++++++--------- build/stand_alone/byte_dump.settings | 7 ++++--- build/stand_alone/example.settings | 8 +++++--- build/stand_alone/fake.settings | 8 +++++--- build/stand_alone/firewall.settings | 8 +++++--- build/stand_alone/utf8.settings | 7 ++++--- level_0/f_abstruse/data/build/settings | 8 +++++--- level_0/f_abstruse/data/build/settings-mocks | 6 ++++-- level_0/f_abstruse/data/build/settings-tests | 6 ++++-- level_0/f_account/data/build/settings | 8 +++++--- level_0/f_account/data/build/settings-mocks | 6 ++++-- level_0/f_account/data/build/settings-tests | 6 ++++-- level_0/f_capability/data/build/settings | 8 +++++--- .../f_capability/data/build/settings-mocks | 6 ++++-- .../f_capability/data/build/settings-tests | 6 ++++-- level_0/f_color/data/build/settings | 8 +++++--- level_0/f_color/data/build/settings-mocks | 6 ++++-- level_0/f_color/data/build/settings-tests | 6 ++++-- level_0/f_compare/data/build/settings | 8 +++++--- level_0/f_compare/data/build/settings-tests | 6 ++++-- level_0/f_console/data/build/settings | 8 +++++--- level_0/f_console/data/build/settings-tests | 6 ++++-- level_0/f_control_group/data/build/settings | 8 +++++--- .../f_control_group/data/build/settings-tests | 6 ++++-- level_0/f_conversion/data/build/settings | 8 +++++--- .../f_conversion/data/build/settings-mocks | 6 ++++-- .../f_conversion/data/build/settings-tests | 6 ++++-- level_0/f_directory/data/build/settings | 8 +++++--- level_0/f_directory/data/build/settings-mocks | 6 ++++-- level_0/f_directory/data/build/settings-tests | 6 ++++-- level_0/f_environment/data/build/settings | 8 +++++--- .../f_environment/data/build/settings-mocks | 6 ++++-- .../f_environment/data/build/settings-tests | 6 ++++-- level_0/f_execute/data/build/settings | 8 +++++--- level_0/f_execute/data/build/settings-tests | 6 ++++-- level_0/f_file/data/build/settings | 8 +++++--- level_0/f_file/data/build/settings-mocks | 6 ++++-- level_0/f_file/data/build/settings-tests | 6 ++++-- level_0/f_fss/data/build/settings | 8 +++++--- level_0/f_fss/data/build/settings-mocks | 6 ++++-- level_0/f_fss/data/build/settings-tests | 6 ++++-- level_0/f_iki/data/build/settings | 8 +++++--- level_0/f_iki/data/build/settings-mocks | 6 ++++-- level_0/f_iki/data/build/settings-tests | 6 ++++-- level_0/f_limit/data/build/settings | 8 +++++--- level_0/f_limit/data/build/settings-mocks | 6 ++++-- level_0/f_limit/data/build/settings-tests | 6 ++++-- level_0/f_memory/data/build/settings | 8 +++++--- level_0/f_memory/data/build/settings-tests | 6 ++++-- level_0/f_network/data/build/settings | 8 +++++--- level_0/f_network/data/build/settings-mocks | 6 ++++-- level_0/f_network/data/build/settings-tests | 6 ++++-- level_0/f_parse/data/build/settings | 8 +++++--- level_0/f_path/data/build/settings | 8 +++++--- level_0/f_path/data/build/settings-mocks | 6 ++++-- level_0/f_path/data/build/settings-tests | 6 ++++-- level_0/f_pipe/data/build/settings | 8 +++++--- level_0/f_pipe/data/build/settings-mocks | 6 ++++-- level_0/f_pipe/data/build/settings-tests | 6 ++++-- level_0/f_print/data/build/settings | 8 +++++--- level_0/f_print/data/build/settings-mocks | 4 +++- level_0/f_print/data/build/settings-tests | 4 +++- level_0/f_random/data/build/settings | 8 +++++--- level_0/f_random/data/build/settings-mocks | 6 ++++-- level_0/f_random/data/build/settings-tests | 6 ++++-- level_0/f_rip/data/build/settings | 8 +++++--- level_0/f_serialize/data/build/settings | 8 +++++--- level_0/f_serialize/data/build/settings-mocks | 6 ++++-- level_0/f_serialize/data/build/settings-tests | 6 ++++-- level_0/f_signal/data/build/settings | 8 +++++--- level_0/f_signal/data/build/settings-mocks | 6 ++++-- level_0/f_signal/data/build/settings-tests | 6 ++++-- level_0/f_socket/data/build/settings | 8 +++++--- level_0/f_socket/data/build/settings-mocks | 5 +++-- level_0/f_socket/data/build/settings-tests | 5 +++-- level_0/f_status/data/build/settings | 8 +++++--- level_0/f_status/data/build/settings-tests | 6 ++++-- level_0/f_status_string/data/build/settings | 8 +++++--- .../f_status_string/data/build/settings-tests | 6 ++++-- level_0/f_string/data/build/settings | 8 +++++--- level_0/f_string/data/build/settings-mocks | 6 ++++-- level_0/f_string/data/build/settings-tests | 6 ++++-- level_0/f_thread/data/build/settings | 8 +++++--- level_0/f_thread/data/build/settings-mocks | 6 ++++-- level_0/f_thread/data/build/settings-tests | 6 ++++-- level_0/f_time/data/build/settings | 8 +++++--- level_0/f_time/data/build/settings-tests | 6 ++++-- level_0/f_type/data/build/settings | 8 +++++--- level_0/f_type_array/data/build/settings | 8 +++++--- .../f_type_array/data/build/settings-mocks | 6 ++++-- .../f_type_array/data/build/settings-tests | 6 ++++-- level_0/f_utf/data/build/settings | 8 +++++--- level_0/f_utf/data/build/settings-mocks | 6 ++++-- level_0/f_utf/data/build/settings-tests | 6 ++++-- level_1/fl_control_group/data/build/settings | 8 +++++--- level_1/fl_conversion/data/build/settings | 8 +++++--- level_1/fl_directory/data/build/settings | 8 +++++--- level_1/fl_environment/data/build/settings | 8 +++++--- level_1/fl_execute/data/build/settings | 8 +++++--- level_1/fl_fss/data/build/settings | 8 +++++--- level_1/fl_fss/data/build/settings-tests | 7 ++++--- level_1/fl_iki/data/build/settings | 8 +++++--- level_1/fl_path/data/build/settings | 8 +++++--- level_1/fl_path/data/build/settings-tests | 6 ++++-- level_1/fl_print/data/build/settings | 8 +++++--- level_1/fl_status_string/data/build/settings | 8 +++++--- .../data/build/settings-tests | 6 ++++-- level_1/fl_utf_file/data/build/settings | 8 +++++--- level_2/fll_control_group/data/build/settings | 8 +++++--- level_2/fll_error/data/build/settings | 8 +++++--- level_2/fll_execute/data/build/settings | 8 +++++--- level_2/fll_file/data/build/settings | 8 +++++--- level_2/fll_fss/data/build/settings | 8 +++++--- .../fll_fss_status_string/data/build/settings | 8 +++++--- level_2/fll_iki/data/build/settings | 8 +++++--- level_2/fll_print/data/build/settings | 8 +++++--- level_2/fll_program/data/build/settings | 8 +++++--- level_3/byte_dump/data/build/settings | 10 ++++++---- level_3/control/data/build/settings | 10 ++++++---- level_3/controller/data/build/settings | 10 ++++++---- level_3/example/data/build/settings | 10 ++++++---- level_3/fake/data/build/settings | 10 ++++++---- level_3/firewall/data/build/settings | 10 ++++++---- level_3/fss_identify/data/build/settings | 10 ++++++---- level_3/fss_read/data/build/settings | 10 ++++++---- level_3/fss_read/data/build/settings.basic | 5 +++-- .../fss_read/data/build/settings.basic_list | 5 +++-- .../data/build/settings.embedded_list | 5 +++-- level_3/fss_read/data/build/settings.extended | 5 +++-- .../data/build/settings.extended_list | 5 +++-- level_3/fss_read/data/build/settings.main | 5 +++-- level_3/fss_read/data/build/settings.payload | 5 +++-- level_3/fss_write/data/build/settings | 10 ++++++---- level_3/fss_write/data/build/settings.basic | 5 +++-- .../fss_write/data/build/settings.basic_list | 5 +++-- .../data/build/settings.embedded_list | 5 +++-- .../fss_write/data/build/settings.extended | 5 +++-- .../data/build/settings.extended_list | 5 +++-- level_3/fss_write/data/build/settings.main | 5 +++-- level_3/fss_write/data/build/settings.payload | 5 +++-- level_3/iki_read/data/build/settings | 10 ++++++---- level_3/iki_write/data/build/settings | 10 ++++++---- level_3/status_code/data/build/settings | 10 ++++++---- level_3/status_code/data/build/settings.fss | 5 +++-- level_3/status_code/data/build/settings.main | 5 +++-- level_3/utf8/data/build/settings | 10 ++++++---- 150 files changed, 677 insertions(+), 399 deletions(-) diff --git a/build/level_0/settings b/build/level_0/settings index ba4a0c00f..5287040a2 100644 --- a/build/level_0/settings +++ b/build/level_0/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default level thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default level thread gcc build_compiler gcc build_compiler-clang clang @@ -158,11 +159,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/level_1/settings b/build/level_1/settings index d898e8b2a..53e3a4747 100644 --- a/build/level_1/settings +++ b/build/level_1/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default level thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default level thread gcc build_compiler gcc build_compiler-clang clang @@ -89,11 +90,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/level_2/settings b/build/level_2/settings index f928ceb9f..7b7e79b31 100644 --- a/build/level_2/settings +++ b/build/level_2/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default level thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default level thread gcc build_compiler gcc build_compiler-clang clang @@ -86,11 +87,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/monolithic/settings b/build/monolithic/settings index c8ea6cab3..586d9eb54 100644 --- a/build/monolithic/settings +++ b/build/monolithic/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -201,11 +202,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/scripts/bootstrap-example.sh b/build/scripts/bootstrap-example.sh index ddaefb407..930400020 100644 --- a/build/scripts/bootstrap-example.sh +++ b/build/scripts/bootstrap-example.sh @@ -52,7 +52,8 @@ color= shared= static= version=0.7.0 -clang= +mode_compiler_param="-m" +mode_compiler_value="gcc" mode_part= mode_parameter= mode_path= @@ -112,7 +113,7 @@ while [[ ${i} -le $# ]] ; do elif [[ ${p} == "--disable-shared" ]] ; then shared="--disable-shared" elif [[ ${p} == "clang" ]] ; then - clang="-m clang" + mode_compiler_value="clang" elif [[ ${p} == "-w" || ${p} == "--work" ]] ; then let i++ @@ -139,7 +140,7 @@ if [[ ${1} == "individual" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m individual -m individual_thread ${mode_thread_param} ${mode_thread_value} ${clang} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m individual -m individual_thread ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} && @@ -155,7 +156,7 @@ if [[ ${1} == "level" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${clang} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} && @@ -165,7 +166,7 @@ if [[ ${1} == "level" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} && @@ -175,7 +176,7 @@ if [[ ${1} == "level" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m level ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} fi @@ -187,7 +188,7 @@ if [[ ${1} == "monolithic" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m monolithic ${mode_thread_param} ${mode_thread_value} ${clang} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m monolithic ${mode_thread_param} ${mode_thread_value} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${shared} ${suppress_first} ${static} -w ${path_work} fi @@ -243,7 +244,7 @@ if [[ ${mode_part} != "" ]] ; then ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${mode_thread_param} ${mode_thread_value} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} @@ -286,7 +287,7 @@ elif [[ ${1} == "programs-individual" || ${1} == "programs-level" || ${1} == "pr ${shell_command} ./bootstrap.sh clean ${verbose} ${color} ${suppress_first} && - ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} && + ${shell_command} ./bootstrap.sh build ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} -m ${build_mode} ${build_mode_extra_param_1} ${build_mode_extra_value_1} ${build_mode_extra_param_2} ${build_mode_extra_value_2} ${mode_compiler_param} ${mode_compiler_value} && ${shell_command} ./install.sh ${verbose} ${color} ${suppress_first} ${shared} ${static} -w ${path_work} || diff --git a/build/stand_alone/byte_dump.settings b/build/stand_alone/byte_dump.settings index 846c0392e..3b2d2d323 100644 --- a/build/stand_alone/byte_dump.settings +++ b/build/stand_alone/byte_dump.settings @@ -12,8 +12,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -83,11 +83,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-thread -pthread flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/example.settings b/build/stand_alone/example.settings index 87fa6c775..d4e6fa71c 100644 --- a/build/stand_alone/example.settings +++ b/build/stand_alone/example.settings @@ -6,6 +6,7 @@ # Modes: # - stand_alone: The stand alone build mode, which in general should always be used. # - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - thread: Compile with thread support. @@ -20,8 +21,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -100,11 +101,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/fake.settings b/build/stand_alone/fake.settings index c06bc3d7f..e49aadea2 100644 --- a/build/stand_alone/fake.settings +++ b/build/stand_alone/fake.settings @@ -6,6 +6,7 @@ # Modes: # - stand_alone: The stand alone build mode, which in general should always be used. # - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - thread: Compile with thread support. @@ -20,8 +21,8 @@ version_micro 0 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -124,11 +125,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/firewall.settings b/build/stand_alone/firewall.settings index 8d4ac3af9..e158e3dc7 100644 --- a/build/stand_alone/firewall.settings +++ b/build/stand_alone/firewall.settings @@ -6,6 +6,7 @@ # Modes: # - stand_alone: The stand alone build mode, which in general should always be used. # - clang: Use clang rather than the default, which is generally gcc. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - thread: Compile with thread support. @@ -20,8 +21,8 @@ version_micro 2 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -118,11 +119,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/build/stand_alone/utf8.settings b/build/stand_alone/utf8.settings index 708890347..ea6d6d5d8 100644 --- a/build/stand_alone/utf8.settings +++ b/build/stand_alone/utf8.settings @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes stand_alone clang test fanalyzer coverage thread threadless -modes_default stand_alone thread +modes stand_alone clang gcc test fanalyzer coverage thread threadless +modes_default stand_alone thread gcc build_compiler gcc build_compiler-clang clang @@ -85,11 +85,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-thread -pthread flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer diff --git a/level_0/f_abstruse/data/build/settings b/level_0/f_abstruse/data/build/settings index ed0edf277..ffea4b080 100644 --- a/level_0/f_abstruse/data/build/settings +++ b/level_0/f_abstruse/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_abstruse/data/build/settings-mocks b/level_0/f_abstruse/data/build/settings-mocks index bdf28dcd4..d850893a2 100644 --- a/level_0/f_abstruse/data/build/settings-mocks +++ b/level_0/f_abstruse/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -58,7 +58,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_pthread_sigqueue_unsupported_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_abstruse/data/build/settings-tests b/level_0/f_abstruse/data/build/settings-tests index 5bc01ca9e..22f4f83eb 100644 --- a/level_0/f_abstruse/data/build/settings-tests +++ b/level_0/f_abstruse/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_account/data/build/settings b/level_0/f_account/data/build/settings index 9b654a3db..ff7b007ca 100644 --- a/level_0/f_account/data/build/settings +++ b/level_0/f_account/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_account/data/build/settings-mocks b/level_0/f_account/data/build/settings-mocks index 2058d4522..7b720fa9d 100644 --- a/level_0/f_account/data/build/settings-mocks +++ b/level_0/f_account/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -55,7 +55,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_account/data/build/settings-tests b/level_0/f_account/data/build/settings-tests index 0f9c8773a..fbaca63e5 100644 --- a/level_0/f_account/data/build/settings-tests +++ b/level_0/f_account/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_capability/data/build/settings b/level_0/f_capability/data/build/settings index f967d7471..809094148 100644 --- a/level_0/f_capability/data/build/settings +++ b/level_0/f_capability/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_libcap_legacy_only_ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_capability/data/build/settings-mocks b/level_0/f_capability/data/build/settings-mocks index 84bec2fb4..169d3d21b 100644 --- a/level_0/f_capability/data/build/settings-mocks +++ b/level_0/f_capability/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -57,7 +57,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_libcap_legacy_only_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_capability/data/build/settings-tests b/level_0/f_capability/data/build/settings-tests index c5a9d8b65..185cdd6a3 100644 --- a/level_0/f_capability/data/build/settings-tests +++ b/level_0/f_capability/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_color/data/build/settings b/level_0/f_color/data/build/settings index 0abe66268..3b2091706 100644 --- a/level_0/f_color/data/build/settings +++ b/level_0/f_color/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_color/data/build/settings-mocks b/level_0/f_color/data/build/settings-mocks index c59f03698..45926ca23 100644 --- a/level_0/f_color/data/build/settings-mocks +++ b/level_0/f_color/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ flags_library -fPIC diff --git a/level_0/f_color/data/build/settings-tests b/level_0/f_color/data/build/settings-tests index 93a8be5e1..1802cdeb1 100644 --- a/level_0/f_color/data/build/settings-tests +++ b/level_0/f_color/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_compare/data/build/settings b/level_0/f_compare/data/build/settings index 477937644..1f4b2d4c0 100644 --- a/level_0/f_compare/data/build/settings +++ b/level_0/f_compare/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_compare/data/build/settings-tests b/level_0/f_compare/data/build/settings-tests index 3c6e1e228..a557e69e7 100644 --- a/level_0/f_compare/data/build/settings-tests +++ b/level_0/f_compare/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -67,7 +67,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_console/data/build/settings b/level_0/f_console/data/build/settings index 23833452a..b249856b5 100644 --- a/level_0/f_console/data/build/settings +++ b/level_0/f_console/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_console/data/build/settings-tests b/level_0/f_console/data/build/settings-tests index 8c1b33366..ad678ad03 100644 --- a/level_0/f_console/data/build/settings-tests +++ b/level_0/f_console/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_control_group/data/build/settings b/level_0/f_control_group/data/build/settings index e82f5e849..ef7f04307 100644 --- a/level_0/f_control_group/data/build/settings +++ b/level_0/f_control_group/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_control_group/data/build/settings-tests b/level_0/f_control_group/data/build/settings-tests index 3a3218ca3..cf2d18662 100644 --- a/level_0/f_control_group/data/build/settings-tests +++ b/level_0/f_control_group/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_conversion/data/build/settings b/level_0/f_conversion/data/build/settings index 6a797bf28..27718665d 100644 --- a/level_0/f_conversion/data/build/settings +++ b/level_0/f_conversion/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_conversion/data/build/settings-mocks b/level_0/f_conversion/data/build/settings-mocks index aabf04dc2..c731081ae 100644 --- a/level_0/f_conversion/data/build/settings-mocks +++ b/level_0/f_conversion/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_conversion/data/build/settings-tests b/level_0/f_conversion/data/build/settings-tests index bb715e06a..7c7590790 100644 --- a/level_0/f_conversion/data/build/settings-tests +++ b/level_0/f_conversion/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_directory/data/build/settings b/level_0/f_directory/data/build/settings index a7c8cdfdf..6ac03c6b0 100644 --- a/level_0/f_directory/data/build/settings +++ b/level_0/f_directory/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,11 +68,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_directory/data/build/settings-mocks b/level_0/f_directory/data/build/settings-mocks index 475e9dfc6..6ee317be3 100644 --- a/level_0/f_directory/data/build/settings-mocks +++ b/level_0/f_directory/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_directory/data/build/settings-tests b/level_0/f_directory/data/build/settings-tests index 49eba7ae1..30a7619e5 100644 --- a/level_0/f_directory/data/build/settings-tests +++ b/level_0/f_directory/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -52,7 +52,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_environment/data/build/settings b/level_0/f_environment/data/build/settings index 7aa0b98e1..d44b50764 100644 --- a/level_0/f_environment/data/build/settings +++ b/level_0/f_environment/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_environment/data/build/settings-mocks b/level_0/f_environment/data/build/settings-mocks index 229f1645d..2acef6b5b 100644 --- a/level_0/f_environment/data/build/settings-mocks +++ b/level_0/f_environment/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L #defines -D_di_libcap_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_environment/data/build/settings-tests b/level_0/f_environment/data/build/settings-tests index fb812beea..0b1d0a5e7 100644 --- a/level_0/f_environment/data/build/settings-tests +++ b/level_0/f_environment/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_execute/data/build/settings b/level_0/f_execute/data/build/settings index dff24da58..f06420a08 100644 --- a/level_0/f_execute/data/build/settings +++ b/level_0/f_execute/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_execute/data/build/settings-tests b/level_0/f_execute/data/build/settings-tests index 8259aed82..7c19ced50 100644 --- a/level_0/f_execute/data/build/settings-tests +++ b/level_0/f_execute/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_file/data/build/settings b/level_0/f_file/data/build/settings index 4d0d29e90..e77f312e2 100644 --- a/level_0/f_file/data/build/settings +++ b/level_0/f_file/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_file/data/build/settings-mocks b/level_0/f_file/data/build/settings-mocks index 515134c62..17cc7e431 100644 --- a/level_0/f_file/data/build/settings-mocks +++ b/level_0/f_file/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_file/data/build/settings-tests b/level_0/f_file/data/build/settings-tests index c7d7c1338..9eb22d8a4 100644 --- a/level_0/f_file/data/build/settings-tests +++ b/level_0/f_file/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_fss/data/build/settings b/level_0/f_fss/data/build/settings index 664b37222..ada2f8ca5 100644 --- a/level_0/f_fss/data/build/settings +++ b/level_0/f_fss/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_fss/data/build/settings-mocks b/level_0/f_fss/data/build/settings-mocks index d2815f206..9f04a221e 100644 --- a/level_0/f_fss/data/build/settings-mocks +++ b/level_0/f_fss/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -55,7 +55,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_fss/data/build/settings-tests b/level_0/f_fss/data/build/settings-tests index b04aaf08f..8a9643caf 100644 --- a/level_0/f_fss/data/build/settings-tests +++ b/level_0/f_fss/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -64,7 +64,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_iki/data/build/settings b/level_0/f_iki/data/build/settings index 9b371fd11..d887e919c 100644 --- a/level_0/f_iki/data/build/settings +++ b/level_0/f_iki/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_iki/data/build/settings-mocks b/level_0/f_iki/data/build/settings-mocks index 779a8275b..8261b6a01 100644 --- a/level_0/f_iki/data/build/settings-mocks +++ b/level_0/f_iki/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -58,7 +58,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_pthread_sigqueue_unsupported_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_iki/data/build/settings-tests b/level_0/f_iki/data/build/settings-tests index 1eebd6264..8bd8ca967 100644 --- a/level_0/f_iki/data/build/settings-tests +++ b/level_0/f_iki/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -52,7 +52,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_limit/data/build/settings b/level_0/f_limit/data/build/settings index d3f335f8d..3e4bbd597 100644 --- a/level_0/f_limit/data/build/settings +++ b/level_0/f_limit/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_limit/data/build/settings-mocks b/level_0/f_limit/data/build/settings-mocks index 6c27bdc6d..585e6a925 100644 --- a/level_0/f_limit/data/build/settings-mocks +++ b/level_0/f_limit/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -45,7 +45,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_limit/data/build/settings-tests b/level_0/f_limit/data/build/settings-tests index 30b6858a0..3ee4cfea4 100644 --- a/level_0/f_limit/data/build/settings-tests +++ b/level_0/f_limit/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -52,7 +52,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_memory/data/build/settings b/level_0/f_memory/data/build/settings index 70be3db73..a4c11f2c4 100644 --- a/level_0/f_memory/data/build/settings +++ b/level_0/f_memory/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_memory/data/build/settings-tests b/level_0/f_memory/data/build/settings-tests index 21779e525..b675fadfb 100644 --- a/level_0/f_memory/data/build/settings-tests +++ b/level_0/f_memory/data/build/settings-tests @@ -11,8 +11,8 @@ version_major 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_network/data/build/settings b/level_0/f_network/data/build/settings index eaf6f0e1c..b372ea7ab 100644 --- a/level_0/f_network/data/build/settings +++ b/level_0/f_network/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_network/data/build/settings-mocks b/level_0/f_network/data/build/settings-mocks index 2dedff736..4e3b7c411 100644 --- a/level_0/f_network/data/build/settings-mocks +++ b/level_0/f_network/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -44,7 +44,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_network/data/build/settings-tests b/level_0/f_network/data/build/settings-tests index ed1c664e8..69c483c69 100644 --- a/level_0/f_network/data/build/settings-tests +++ b/level_0/f_network/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_parse/data/build/settings b/level_0/f_parse/data/build/settings index 0c995624e..47eef8e4a 100644 --- a/level_0/f_parse/data/build/settings +++ b/level_0/f_parse/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_path/data/build/settings b/level_0/f_path/data/build/settings index c15661afb..248db2766 100644 --- a/level_0/f_path/data/build/settings +++ b/level_0/f_path/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_path/data/build/settings-mocks b/level_0/f_path/data/build/settings-mocks index 4e576925d..01d0eb897 100644 --- a/level_0/f_path/data/build/settings-mocks +++ b/level_0/f_path/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_path/data/build/settings-tests b/level_0/f_path/data/build/settings-tests index 417ee80a5..f9ac89b06 100644 --- a/level_0/f_path/data/build/settings-tests +++ b/level_0/f_path/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_pipe/data/build/settings b/level_0/f_pipe/data/build/settings index 4e29ead57..9280cdb1e 100644 --- a/level_0/f_pipe/data/build/settings +++ b/level_0/f_pipe/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_pipe/data/build/settings-mocks b/level_0/f_pipe/data/build/settings-mocks index 4cb48a3ae..4df7bcdd8 100644 --- a/level_0/f_pipe/data/build/settings-mocks +++ b/level_0/f_pipe/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -44,7 +44,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_pipe/data/build/settings-tests b/level_0/f_pipe/data/build/settings-tests index b7c0a1338..35cbbc4bb 100644 --- a/level_0/f_pipe/data/build/settings-tests +++ b/level_0/f_pipe/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_print/data/build/settings b/level_0/f_print/data/build/settings index 16b3fc390..bf937a38a 100644 --- a/level_0/f_print/data/build/settings +++ b/level_0/f_print/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines-clang -D_clang_not_a_compile_time_constant_workaround_ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_print/data/build/settings-mocks b/level_0/f_print/data/build/settings-mocks index 13c514d7c..c6aa366e5 100644 --- a/level_0/f_print/data/build/settings-mocks +++ b/level_0/f_print/data/build/settings-mocks @@ -18,7 +18,7 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage +modes individual clang gcc test coverage modes_default individual build_compiler gcc @@ -56,7 +56,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines-clang -D_clang_not_a_compile_time_constant_workaround_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_print/data/build/settings-tests b/level_0/f_print/data/build/settings-tests index 991c2f19a..359c9a80f 100644 --- a/level_0/f_print/data/build/settings-tests +++ b/level_0/f_print/data/build/settings-tests @@ -13,7 +13,7 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage +modes individual clang gcc test coverage modes_default individual build_compiler gcc @@ -70,7 +70,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_random/data/build/settings b/level_0/f_random/data/build/settings index 4b598952b..755c01188 100644 --- a/level_0/f_random/data/build/settings +++ b/level_0/f_random/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_random/data/build/settings-mocks b/level_0/f_random/data/build/settings-mocks index 4ee45333a..3b1697a12 100644 --- a/level_0/f_random/data/build/settings-mocks +++ b/level_0/f_random/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -45,7 +45,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_random/data/build/settings-tests b/level_0/f_random/data/build/settings-tests index db0efd7c6..0acac0c69 100644 --- a/level_0/f_random/data/build/settings-tests +++ b/level_0/f_random/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_rip/data/build/settings b/level_0/f_rip/data/build/settings index a578aff2e..618820034 100644 --- a/level_0/f_rip/data/build/settings +++ b/level_0/f_rip/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_serialize/data/build/settings b/level_0/f_serialize/data/build/settings index 67a9b2561..0bbc146f2 100644 --- a/level_0/f_serialize/data/build/settings +++ b/level_0/f_serialize/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -57,11 +58,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_serialize/data/build/settings-mocks b/level_0/f_serialize/data/build/settings-mocks index 29533935f..d03c7ab58 100644 --- a/level_0/f_serialize/data/build/settings-mocks +++ b/level_0/f_serialize/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_serialize/data/build/settings-tests b/level_0/f_serialize/data/build/settings-tests index fecf350ed..6641e8f42 100644 --- a/level_0/f_serialize/data/build/settings-tests +++ b/level_0/f_serialize/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_signal/data/build/settings b/level_0/f_signal/data/build/settings index b1a829ac0..bc33cca3d 100644 --- a/level_0/f_signal/data/build/settings +++ b/level_0/f_signal/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall -Wno-missing-braces flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_signal/data/build/settings-mocks b/level_0/f_signal/data/build/settings-mocks index 6213df1c5..40b9506d4 100644 --- a/level_0/f_signal/data/build/settings-mocks +++ b/level_0/f_signal/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,7 +54,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall -Wno-missing-braces flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_signal/data/build/settings-tests b/level_0/f_signal/data/build/settings-tests index d800ff8ae..b64ccecdd 100644 --- a/level_0/f_signal/data/build/settings-tests +++ b/level_0/f_signal/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall -Wno-missing-braces flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_socket/data/build/settings b/level_0/f_socket/data/build/settings index 018b7a5a0..80f77f671 100644 --- a/level_0/f_socket/data/build/settings +++ b/level_0/f_socket/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_socket/data/build/settings-mocks b/level_0/f_socket/data/build/settings-mocks index 9643c1439..6c827aa05 100644 --- a/level_0/f_socket/data/build/settings-mocks +++ b/level_0/f_socket/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,6 +56,7 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_socket/data/build/settings-tests b/level_0/f_socket/data/build/settings-tests index ff781c604..c035dd5a3 100644 --- a/level_0/f_socket/data/build/settings-tests +++ b/level_0/f_socket/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -54,6 +54,7 @@ defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status/data/build/settings b/level_0/f_status/data/build/settings index 40793bed7..953afe94d 100644 --- a/level_0/f_status/data/build/settings +++ b/level_0/f_status/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -63,11 +64,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status/data/build/settings-tests b/level_0/f_status/data/build/settings-tests index e19544c0b..54db67610 100644 --- a/level_0/f_status/data/build/settings-tests +++ b/level_0/f_status/data/build/settings-tests @@ -11,8 +11,8 @@ version_major 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -49,7 +49,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status_string/data/build/settings b/level_0/f_status_string/data/build/settings index 77ac23b40..fbae72fcf 100644 --- a/level_0/f_status_string/data/build/settings +++ b/level_0/f_status_string/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_status_string/data/build/settings-tests b/level_0/f_status_string/data/build/settings-tests index 12868f540..ded26ec57 100644 --- a/level_0/f_status_string/data/build/settings-tests +++ b/level_0/f_status_string/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_string/data/build/settings b/level_0/f_string/data/build/settings index 829f19347..7fded20ba 100644 --- a/level_0/f_string/data/build/settings +++ b/level_0/f_string/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -77,11 +78,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_string/data/build/settings-mocks b/level_0/f_string/data/build/settings-mocks index 43e3b9d17..1e1446b48 100644 --- a/level_0/f_string/data/build/settings-mocks +++ b/level_0/f_string/data/build/settings-mocks @@ -8,8 +8,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -56,7 +56,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_string/data/build/settings-tests b/level_0/f_string/data/build/settings-tests index d59746314..cef007f4a 100644 --- a/level_0/f_string/data/build/settings-tests +++ b/level_0/f_string/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -77,7 +77,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_thread/data/build/settings b/level_0/f_thread/data/build/settings index 51f125506..43c770ff3 100644 --- a/level_0/f_thread/data/build/settings +++ b/level_0/f_thread/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,7 +24,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,11 +68,12 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -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 -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_thread/data/build/settings-mocks b/level_0/f_thread/data/build/settings-mocks index d1fb85c10..9138e92e2 100644 --- a/level_0/f_thread/data/build/settings-mocks +++ b/level_0/f_thread/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -58,7 +58,9 @@ environment LANG LC_ALL LC_COLLATE LC_CTYPE LC_FASTMSG LC_MESSAGES LC_MONETARY L defines -D_pthread_sigqueue_unsupported_ flags -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_thread/data/build/settings-tests b/level_0/f_thread/data/build/settings-tests index ae8a292a5..8a4a6cc51 100644 --- a/level_0/f_thread/data/build/settings-tests +++ b/level_0/f_thread/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -126,7 +126,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_time/data/build/settings b/level_0/f_time/data/build/settings index 0a831c28d..722cf0274 100644 --- a/level_0/f_time/data/build/settings +++ b/level_0/f_time/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_time/data/build/settings-tests b/level_0/f_time/data/build/settings-tests index 3f1ad4fd1..89fd7e0dc 100644 --- a/level_0/f_time/data/build/settings-tests +++ b/level_0/f_time/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -50,7 +50,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type/data/build/settings b/level_0/f_type/data/build/settings index d769cf1a9..3530ad060 100644 --- a/level_0/f_type/data/build/settings +++ b/level_0/f_type/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -63,11 +64,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type_array/data/build/settings b/level_0/f_type_array/data/build/settings index 48a82c44c..c8644ca2b 100644 --- a/level_0/f_type_array/data/build/settings +++ b/level_0/f_type_array/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type_array/data/build/settings-mocks b/level_0/f_type_array/data/build/settings-mocks index 2bfe367c2..f8bc8dd23 100644 --- a/level_0/f_type_array/data/build/settings-mocks +++ b/level_0/f_type_array/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -55,7 +55,9 @@ 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 -O0 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall -Wno-missing-braces flags-coverage --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_type_array/data/build/settings-tests b/level_0/f_type_array/data/build/settings-tests index f1bc7a792..5b8ee98d3 100644 --- a/level_0/f_type_array/data/build/settings-tests +++ b/level_0/f_type_array/data/build/settings-tests @@ -11,8 +11,8 @@ version_major 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -72,7 +72,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_utf/data/build/settings b/level_0/f_utf/data/build/settings index 1a626a6f5..a2177985f 100644 --- a/level_0/f_utf/data/build/settings +++ b/level_0/f_utf/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -68,11 +69,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_utf/data/build/settings-mocks b/level_0/f_utf/data/build/settings-mocks index 04eafb178..421b15356 100644 --- a/level_0/f_utf/data/build/settings-mocks +++ b/level_0/f_utf/data/build/settings-mocks @@ -18,8 +18,8 @@ version_micro 0 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -57,7 +57,9 @@ 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 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_0/f_utf/data/build/settings-tests b/level_0/f_utf/data/build/settings-tests index 21ae89878..cdab01505 100644 --- a/level_0/f_utf/data/build/settings-tests +++ b/level_0/f_utf/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -99,7 +99,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_control_group/data/build/settings b/level_1/fl_control_group/data/build/settings index e20313a76..90041a4e8 100644 --- a/level_1/fl_control_group/data/build/settings +++ b/level_1/fl_control_group/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_conversion/data/build/settings b/level_1/fl_conversion/data/build/settings index bb6778b54..01751d1fc 100644 --- a/level_1/fl_conversion/data/build/settings +++ b/level_1/fl_conversion/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_directory/data/build/settings b/level_1/fl_directory/data/build/settings index 73e7b8230..abe8f5095 100644 --- a/level_1/fl_directory/data/build/settings +++ b/level_1/fl_directory/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_environment/data/build/settings b/level_1/fl_environment/data/build/settings index 9c78933a6..72e032d37 100644 --- a/level_1/fl_environment/data/build/settings +++ b/level_1/fl_environment/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_execute/data/build/settings b/level_1/fl_execute/data/build/settings index c1f00d64b..6e8ce868f 100644 --- a/level_1/fl_execute/data/build/settings +++ b/level_1/fl_execute/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -67,11 +68,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_fss/data/build/settings b/level_1/fl_fss/data/build/settings index 2de5d93c2..0a45a4cae 100644 --- a/level_1/fl_fss/data/build/settings +++ b/level_1/fl_fss/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_fss/data/build/settings-tests b/level_1/fl_fss/data/build/settings-tests index e46142988..6a7100dfe 100644 --- a/level_1/fl_fss/data/build/settings-tests +++ b/level_1/fl_fss/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 4 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -57,10 +57,11 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared 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 -fstack-clash-protection -fno-delete-null-pointer-checks flags -D_FORTIFY_SOURCE=3 flags -Wl,-z,nodlopen -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_iki/data/build/settings b/level_1/fl_iki/data/build/settings index efa84ba6c..444656715 100644 --- a/level_1/fl_iki/data/build/settings +++ b/level_1/fl_iki/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_path/data/build/settings b/level_1/fl_path/data/build/settings index d8fc114ee..09b0a0ca7 100644 --- a/level_1/fl_path/data/build/settings +++ b/level_1/fl_path/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_path/data/build/settings-tests b/level_1/fl_path/data/build/settings-tests index 8f6464cee..57c2a5985 100644 --- a/level_1/fl_path/data/build/settings-tests +++ b/level_1/fl_path/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 4 version_file micro version_target minor -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_print/data/build/settings b/level_1/fl_print/data/build/settings index ad294480c..514e07b1f 100644 --- a/level_1/fl_print/data/build/settings +++ b/level_1/fl_print/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_status_string/data/build/settings b/level_1/fl_status_string/data/build/settings index 9220a1ce0..10b54ac7d 100644 --- a/level_1/fl_status_string/data/build/settings +++ b/level_1/fl_status_string/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_status_string/data/build/settings-tests b/level_1/fl_status_string/data/build/settings-tests index ac28a61f6..ac79e9e40 100644 --- a/level_1/fl_status_string/data/build/settings-tests +++ b/level_1/fl_status_string/data/build/settings-tests @@ -13,8 +13,8 @@ version_micro 0 version_file major version_target major -modes individual clang test coverage -modes_default individual test +modes individual clang gcc test coverage +modes_default individual test gcc build_compiler gcc build_compiler-clang clang @@ -51,7 +51,9 @@ defines_static -Lbuild/libraries/static defines_shared -Lbuild/libraries/shared flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses +flags -fstack-clash-protection -fno-delete-null-pointer-checks flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_1/fl_utf_file/data/build/settings b/level_1/fl_utf_file/data/build/settings index 2936e0933..4f90da2bd 100644 --- a/level_1/fl_utf_file/data/build/settings +++ b/level_1/fl_utf_file/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_control_group/data/build/settings b/level_2/fll_control_group/data/build/settings index 3d0dc2087..773daa135 100644 --- a/level_2/fll_control_group/data/build/settings +++ b/level_2/fll_control_group/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -65,11 +66,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_error/data/build/settings b/level_2/fll_error/data/build/settings index e6c916a67..81f0a5988 100644 --- a/level_2/fll_error/data/build/settings +++ b/level_2/fll_error/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_execute/data/build/settings b/level_2/fll_execute/data/build/settings index 41a3b9590..f58996704 100644 --- a/level_2/fll_execute/data/build/settings +++ b/level_2/fll_execute/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -69,11 +70,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_file/data/build/settings b/level_2/fll_file/data/build/settings index 6f576f2a0..8a00558dc 100644 --- a/level_2/fll_file/data/build/settings +++ b/level_2/fll_file/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_fss/data/build/settings b/level_2/fll_fss/data/build/settings index cb0835b9f..5562ae3b8 100644 --- a/level_2/fll_fss/data/build/settings +++ b/level_2/fll_fss/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_fss_status_string/data/build/settings b/level_2/fll_fss_status_string/data/build/settings index b2cde19a8..a18613c45 100644 --- a/level_2/fll_fss_status_string/data/build/settings +++ b/level_2/fll_fss_status_string/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_iki/data/build/settings b/level_2/fll_iki/data/build/settings index f4396b80b..bd31bde7e 100644 --- a/level_2/fll_iki/data/build/settings +++ b/level_2/fll_iki/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_print/data/build/settings b/level_2/fll_print/data/build/settings index c70028940..e0f2e80ec 100644 --- a/level_2/fll_print/data/build/settings +++ b/level_2/fll_print/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_2/fll_program/data/build/settings b/level_2/fll_program/data/build/settings index de3983f17..4a35b1295 100644 --- a/level_2/fll_program/data/build/settings +++ b/level_2/fll_program/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,7 +22,7 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless modes_default individual individual_thread thread build_compiler gcc @@ -66,11 +67,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/byte_dump/data/build/settings b/level_3/byte_dump/data/build/settings index f88f4319f..51665606d 100644 --- a/level_3/byte_dump/data/build/settings +++ b/level_3/byte_dump/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -76,11 +77,12 @@ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-clang -D_clang_not_a_compile_time_constant_workaround_ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/control/data/build/settings b/level_3/control/data/build/settings index 5a2100067..cbcc66d70 100644 --- a/level_3/control/data/build/settings +++ b/level_3/control/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/controller/data/build/settings b/level_3/controller/data/build/settings index 48591abe2..cf3883e7e 100644 --- a/level_3/controller/data/build/settings +++ b/level_3/controller/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless as_init -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless as_init +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -89,11 +90,12 @@ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ defines-as_init -D_controller_as_init_ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/example/data/build/settings b/level_3/example/data/build/settings index 2d03da1ef..0dc732b79 100644 --- a/level_3/example/data/build/settings +++ b/level_3/example/data/build/settings @@ -7,7 +7,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -84,11 +85,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fake/data/build/settings b/level_3/fake/data/build/settings index d36c7fc74..82178ec15 100644 --- a/level_3/fake/data/build/settings +++ b/level_3/fake/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -24,8 +25,8 @@ version_target minor process_pre process_pre.sh process_post process_post.sh -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -88,11 +89,12 @@ 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 -Wno-main -flags -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/firewall/data/build/settings b/level_3/firewall/data/build/settings index be4d975a5..621b8f092 100644 --- a/level_3/firewall/data/build/settings +++ b/level_3/firewall/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -83,11 +84,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_identify/data/build/settings b/level_3/fss_identify/data/build/settings index 5cad4ee00..1f2e7e532 100644 --- a/level_3/fss_identify/data/build/settings +++ b/level_3/fss_identify/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings b/level_3/fss_read/data/build/settings index c0a1dc32a..11a614562 100644 --- a/level_3/fss_read/data/build/settings +++ b/level_3/fss_read/data/build/settings @@ -7,7 +7,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -76,11 +77,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks -fstrict-flex-arrays=3 +flags -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.basic b/level_3/fss_read/data/build/settings.basic index 6b42beaf7..fc7f052be 100644 --- a/level_3/fss_read/data/build/settings.basic +++ b/level_3/fss_read/data/build/settings.basic @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.basic_list b/level_3/fss_read/data/build/settings.basic_list index 5ff4ae4a7..bf3b8dfcb 100644 --- a/level_3/fss_read/data/build/settings.basic_list +++ b/level_3/fss_read/data/build/settings.basic_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.embedded_list b/level_3/fss_read/data/build/settings.embedded_list index 73ecd441f..0d3b2a743 100644 --- a/level_3/fss_read/data/build/settings.embedded_list +++ b/level_3/fss_read/data/build/settings.embedded_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.extended b/level_3/fss_read/data/build/settings.extended index 3bbfd16e8..1630f221c 100644 --- a/level_3/fss_read/data/build/settings.extended +++ b/level_3/fss_read/data/build/settings.extended @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.extended_list b/level_3/fss_read/data/build/settings.extended_list index a2ef71650..49b8aee39 100644 --- a/level_3/fss_read/data/build/settings.extended_list +++ b/level_3/fss_read/data/build/settings.extended_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.main b/level_3/fss_read/data/build/settings.main index 91e948cbb..6881b73b8 100644 --- a/level_3/fss_read/data/build/settings.main +++ b/level_3/fss_read/data/build/settings.main @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_read/data/build/settings.payload b/level_3/fss_read/data/build/settings.payload index d00907b90..0a3b00882 100644 --- a/level_3/fss_read/data/build/settings.payload +++ b/level_3/fss_read/data/build/settings.payload @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces -Wno-main flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings b/level_3/fss_write/data/build/settings index 89ab5d3b7..a305699da 100644 --- a/level_3/fss_write/data/build/settings +++ b/level_3/fss_write/data/build/settings @@ -7,7 +7,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -76,11 +77,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.basic b/level_3/fss_write/data/build/settings.basic index 9317e17ce..1c0e1726b 100644 --- a/level_3/fss_write/data/build/settings.basic +++ b/level_3/fss_write/data/build/settings.basic @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.basic_list b/level_3/fss_write/data/build/settings.basic_list index d6eaf0b9d..ca6d12ebe 100644 --- a/level_3/fss_write/data/build/settings.basic_list +++ b/level_3/fss_write/data/build/settings.basic_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.embedded_list b/level_3/fss_write/data/build/settings.embedded_list index 54cfadddd..f09d17c19 100644 --- a/level_3/fss_write/data/build/settings.embedded_list +++ b/level_3/fss_write/data/build/settings.embedded_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.extended b/level_3/fss_write/data/build/settings.extended index 39596cef6..bec7d3b5b 100644 --- a/level_3/fss_write/data/build/settings.extended +++ b/level_3/fss_write/data/build/settings.extended @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.extended_list b/level_3/fss_write/data/build/settings.extended_list index d046242e4..3ad72c71f 100644 --- a/level_3/fss_write/data/build/settings.extended_list +++ b/level_3/fss_write/data/build/settings.extended_list @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.main b/level_3/fss_write/data/build/settings.main index c4e572d4d..1c1a013eb 100644 --- a/level_3/fss_write/data/build/settings.main +++ b/level_3/fss_write/data/build/settings.main @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/fss_write/data/build/settings.payload b/level_3/fss_write/data/build/settings.payload index 50fe93fce..e206c325d 100644 --- a/level_3/fss_write/data/build/settings.payload +++ b/level_3/fss_write/data/build/settings.payload @@ -12,8 +12,8 @@ version_micro 0 version_file micro version_target minor -modes individual level monolithic clang test fanalyzer thread individual-thread threadless -modes_default monolithic thread +modes individual level monolithic clang gcc test fanalyzer thread individual-thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -55,6 +55,7 @@ defines -D_libcap_legacy_only_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/iki_read/data/build/settings b/level_3/iki_read/data/build/settings index fec894614..076bd2c68 100644 --- a/level_3/iki_read/data/build/settings +++ b/level_3/iki_read/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/iki_write/data/build/settings b/level_3/iki_write/data/build/settings index 11c4ede98..50d268703 100644 --- a/level_3/iki_write/data/build/settings +++ b/level_3/iki_write/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -74,11 +75,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/status_code/data/build/settings b/level_3/status_code/data/build/settings index 65f793f67..b370aede0 100644 --- a/level_3/status_code/data/build/settings +++ b/level_3/status_code/data/build/settings @@ -7,7 +7,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -23,8 +24,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -77,11 +78,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/status_code/data/build/settings.fss b/level_3/status_code/data/build/settings.fss index f6402c92c..6ad09f32f 100644 --- a/level_3/status_code/data/build/settings.fss +++ b/level_3/status_code/data/build/settings.fss @@ -23,8 +23,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,6 +75,7 @@ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/status_code/data/build/settings.main b/level_3/status_code/data/build/settings.main index bc16a1772..411222d4a 100644 --- a/level_3/status_code/data/build/settings.main +++ b/level_3/status_code/data/build/settings.main @@ -23,8 +23,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,6 +75,7 @@ defines-thread -D_pthread_attr_unsupported_ -D_pthread_sigqueue_unsupported_ flags -O2 -z now -g -fdiagnostics-color=always -Wno-logical-not-parentheses -Wno-parentheses -Wno-missing-braces flags-thread -pthread flags-clang -Wno-logical-op-parentheses +flags-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector -Wall flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ diff --git a/level_3/utf8/data/build/settings b/level_3/utf8/data/build/settings index 613d99f09..e321ab29e 100644 --- a/level_3/utf8/data/build/settings +++ b/level_3/utf8/data/build/settings @@ -5,7 +5,8 @@ # - 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. +# - gcc: Use gcc specific settings. # - test: Compile for a test, such as unit testing. # - fanalyzer: Compile using GCC's -fanalyzer compile time option. # - coverage: Compile for building coverage. @@ -21,8 +22,8 @@ version_micro 0 version_file micro version_target minor -modes individual individual_thread level monolithic clang test fanalyzer coverage thread threadless -modes_default monolithic thread +modes individual individual_thread level monolithic clang gcc test fanalyzer coverage thread threadless +modes_default monolithic thread gcc build_compiler gcc build_compiler-clang clang @@ -75,11 +76,12 @@ 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 -fstack-clash-protection -fno-delete-null-pointer-checks 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-gcc -fstrict-flex-arrays=3 flags-test -O0 -fstack-protector-strong -Wall flags-fanalyzer -fanalyzer flags-coverage -O0 --coverage -fprofile-abs-path -fprofile-dir=build/coverage/ -- 2.47.3