-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings #5406
Merged
percona-ysorokin
merged 1 commit into
percona:release-8.4.2-2
from
percona-ysorokin:release-8.4.2-2-gcc12_relwithdebinfo_fix
Sep 6, 2024
Merged
PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings #5406
percona-ysorokin
merged 1 commit into
percona:release-8.4.2-2
from
percona-ysorokin:release-8.4.2-2-gcc12_relwithdebinfo_fix
Sep 6, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…warnings https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
approved these changes
Sep 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
percona-ysorokin
merged commit Sep 6, 2024
d612d04
into
percona:release-8.4.2-2
23 of 24 checks passed
inikep
pushed a commit
to inikep/percona-server
that referenced
this pull request
Sep 17, 2024
…warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
inikep
pushed a commit
to inikep/percona-server
that referenced
this pull request
Sep 17, 2024
…gs (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
pushed a commit
to dlenev/percona-server
that referenced
this pull request
Sep 17, 2024
…warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
inikep
pushed a commit
that referenced
this pull request
Sep 23, 2024
…gs (#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
pushed a commit
to dlenev/percona-server
that referenced
this pull request
Oct 1, 2024
PS-5724: Travis-CI: 8.0.16 MySQL Router does not build cleanly with clang 4 & 5 Turn off warnings for MySQL Router for clang-4 and clang-5 using the `-Wno-missing-braces` compiler flag. PS-6058: gcc 5.5.0 compilation warnings for router Fixed: 1. ``` /data/mysql-server/mysql-8.0/router/src/http/src/tls_context.cc: In function ‘constexpr int o11x_version(TlsVersion)’: /data/mysql-server/mysql-8.0/router/src/http/src/tls_context.cc:99:57: error: expression ‘<throw-expression>’ is not a constant-expression throw std::invalid_argument("version out of range"); ``` 2. ``` /data/mysql-server/mysql-8.0/router/src/http/src/tls_server_context.cc: In constructor ‘TlsServerContext::TlsServerContext(TlsVersion, TlsVersion)’: /data/mysql-server/mysql-8.0/router/src/http/src/tls_server_context.cc:67:43: error: statement has no effect [-Werror=unused-value] SSL_CTX_set_ecdh_auto(ssl_ctx_.get(), 1); ``` ----- PS-8979: Fix timeout in "routertest_integration_routing_sharing" Increase timeout for "routertest_integration_routing_sharing" to 3000 seconds. (cherry picked from commit fff26dd) ----- PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
pushed a commit
to dlenev/percona-server
that referenced
this pull request
Oct 1, 2024
----------------------------------------------------------- PS-7949 Fix memry leak in gcs_xcom_control_interface-t test https://jira.percona.com/browse/PS-7949 ----------------------------------------------------------- PS-7949 Fix memory leaks in temptable::Allocator tests https://jira.percona.com/browse/PS-7949 ----------------------------------------------------------- PS-8979: Fix linking issue using `WITH_VALGRIND=ON` Fix the following issue when `lld` is not detected or `-DUSE_LD_LLD=OFF` is used: ``` /usr/bin/ld: CMakeFiles/merge_large_tests-t.dir/dd_sdi-t.cc.o: warning: relocation against `_ZThn56_N2dd10Index_impl15se_private_dataEv' in read-only section `.text._ZN12sdi_unittestL11mock_dd_objEPN2dd5IndexEPNS0_6ColumnE' /usr/bin/ld: CMakeFiles/merge_large_tests-t.dir/dd_sdi-t.cc.o: relocation R_X86_64_PC32 against symbol `_ZThn56_N2dd11Column_impl15se_private_dataEv' can not be used when making a PIE object; recompile with -fPIE ``` (cherry picked from commit c75e96a) ----------------------------------------------------------- PS-9071: Merge MySQL 8.3.0 (fix test_routing_direct tests) https://perconadev.atlassian.net/browse/PS-9071 Tests lack knowledge of some Percona and debug build specific system variable names. Updated known system variables lists for tests to be able to categorize them properly. ----------------------------------------------------------- PS-9218: Merge MySQL 8.4.0 (fix gcc-14 build) https://perconadev.atlassian.net/browse/PS-9218 ----------------------------------------------------------- PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
pushed a commit
to dlenev/percona-server
that referenced
this pull request
Oct 17, 2024
PS-5724: Travis-CI: 8.0.16 MySQL Router does not build cleanly with clang 4 & 5 Turn off warnings for MySQL Router for clang-4 and clang-5 using the `-Wno-missing-braces` compiler flag. PS-6058: gcc 5.5.0 compilation warnings for router Fixed: 1. ``` /data/mysql-server/mysql-8.0/router/src/http/src/tls_context.cc: In function ‘constexpr int o11x_version(TlsVersion)’: /data/mysql-server/mysql-8.0/router/src/http/src/tls_context.cc:99:57: error: expression ‘<throw-expression>’ is not a constant-expression throw std::invalid_argument("version out of range"); ``` 2. ``` /data/mysql-server/mysql-8.0/router/src/http/src/tls_server_context.cc: In constructor ‘TlsServerContext::TlsServerContext(TlsVersion, TlsVersion)’: /data/mysql-server/mysql-8.0/router/src/http/src/tls_server_context.cc:67:43: error: statement has no effect [-Werror=unused-value] SSL_CTX_set_ecdh_auto(ssl_ctx_.get(), 1); ``` ----- PS-8979: Fix timeout in "routertest_integration_routing_sharing" Increase timeout for "routertest_integration_routing_sharing" to 3000 seconds. (cherry picked from commit fff26dd) ----- PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
pushed a commit
to dlenev/percona-server
that referenced
this pull request
Oct 17, 2024
----------------------------------------------------------- PS-7949 Fix memry leak in gcs_xcom_control_interface-t test https://jira.percona.com/browse/PS-7949 ----------------------------------------------------------- PS-7949 Fix memory leaks in temptable::Allocator tests https://jira.percona.com/browse/PS-7949 ----------------------------------------------------------- PS-8979: Fix linking issue using `WITH_VALGRIND=ON` Fix the following issue when `lld` is not detected or `-DUSE_LD_LLD=OFF` is used: ``` /usr/bin/ld: CMakeFiles/merge_large_tests-t.dir/dd_sdi-t.cc.o: warning: relocation against `_ZThn56_N2dd10Index_impl15se_private_dataEv' in read-only section `.text._ZN12sdi_unittestL11mock_dd_objEPN2dd5IndexEPNS0_6ColumnE' /usr/bin/ld: CMakeFiles/merge_large_tests-t.dir/dd_sdi-t.cc.o: relocation R_X86_64_PC32 against symbol `_ZThn56_N2dd11Column_impl15se_private_dataEv' can not be used when making a PIE object; recompile with -fPIE ``` (cherry picked from commit c75e96a) ----------------------------------------------------------- PS-9071: Merge MySQL 8.3.0 (fix test_routing_direct tests) https://perconadev.atlassian.net/browse/PS-9071 Tests lack knowledge of some Percona and debug build specific system variable names. Updated known system variables lists for tests to be able to categorize them properly. ----------------------------------------------------------- PS-9218: Merge MySQL 8.4.0 (fix gcc-14 build) https://perconadev.atlassian.net/browse/PS-9218 ----------------------------------------------------------- PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
pushed a commit
to dlenev/percona-server
that referenced
this pull request
Oct 17, 2024
PS-5724: Travis-CI: 8.0.16 MySQL Router does not build cleanly with clang 4 & 5 Turn off warnings for MySQL Router for clang-4 and clang-5 using the `-Wno-missing-braces` compiler flag. PS-6058: gcc 5.5.0 compilation warnings for router Fixed: 1. ``` /data/mysql-server/mysql-8.0/router/src/http/src/tls_context.cc: In function ‘constexpr int o11x_version(TlsVersion)’: /data/mysql-server/mysql-8.0/router/src/http/src/tls_context.cc:99:57: error: expression ‘<throw-expression>’ is not a constant-expression throw std::invalid_argument("version out of range"); ``` 2. ``` /data/mysql-server/mysql-8.0/router/src/http/src/tls_server_context.cc: In constructor ‘TlsServerContext::TlsServerContext(TlsVersion, TlsVersion)’: /data/mysql-server/mysql-8.0/router/src/http/src/tls_server_context.cc:67:43: error: statement has no effect [-Werror=unused-value] SSL_CTX_set_ecdh_auto(ssl_ctx_.get(), 1); ``` ----- PS-8979: Fix timeout in "routertest_integration_routing_sharing" Increase timeout for "routertest_integration_routing_sharing" to 3000 seconds. (cherry picked from commit fff26dd) ----- PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
dlenev
pushed a commit
to dlenev/percona-server
that referenced
this pull request
Oct 17, 2024
----------------------------------------------------------- PS-7949 Fix memry leak in gcs_xcom_control_interface-t test https://jira.percona.com/browse/PS-7949 ----------------------------------------------------------- PS-7949 Fix memory leaks in temptable::Allocator tests https://jira.percona.com/browse/PS-7949 ----------------------------------------------------------- PS-8979: Fix linking issue using `WITH_VALGRIND=ON` Fix the following issue when `lld` is not detected or `-DUSE_LD_LLD=OFF` is used: ``` /usr/bin/ld: CMakeFiles/merge_large_tests-t.dir/dd_sdi-t.cc.o: warning: relocation against `_ZThn56_N2dd10Index_impl15se_private_dataEv' in read-only section `.text._ZN12sdi_unittestL11mock_dd_objEPN2dd5IndexEPNS0_6ColumnE' /usr/bin/ld: CMakeFiles/merge_large_tests-t.dir/dd_sdi-t.cc.o: relocation R_X86_64_PC32 against symbol `_ZThn56_N2dd11Column_impl15se_private_dataEv' can not be used when making a PIE object; recompile with -fPIE ``` (cherry picked from commit c75e96a) ----------------------------------------------------------- PS-9071: Merge MySQL 8.3.0 (fix test_routing_direct tests) https://perconadev.atlassian.net/browse/PS-9071 Tests lack knowledge of some Percona and debug build specific system variable names. Updated known system variables lists for tests to be able to categorize them properly. ----------------------------------------------------------- PS-9218: Merge MySQL 8.4.0 (fix gcc-14 build) https://perconadev.atlassian.net/browse/PS-9218 ----------------------------------------------------------- PS-9328 merge: Merge 8.4.2 - Fixed gcc-12 RelWithDebInfo compilation warnings (percona#5406) https://perconadev.atlassian.net/browse/PS-9328 Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests. /usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict] 435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n)); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://perconadev.atlassian.net/browse/PS-9328
Suppressed '-Wrestrict' warnings in selected GIS and Router unit tests.
/usr/include/c++/12/bits/char_traits.h:435:56: error: ‘void* __builtin_memcpy(void*, const void*, long unsigned int)’ accessing 9223372036854775810 or more bytes at offsets [2, 9223372036854775807] and 1 may overlap up to 9223372036854775813 bytes at offset -3 [-Werror=restrict]
435 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2, __n));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~