Skip to content

Conversation

@percona-ysorokin
Copy link
Contributor

https://jira.percona.com/browse/PS-3933

Reimplemented fix for PS-1045
"LP #1654501: libHotBackup.so fails to load on Ubuntu Yakkety 64-bit, debug build"
(https://jira.percona.com/browse/PS-1045).
Instead of manually specifying '-std=c++03' for 'CMAKE_CXX_FLAGS' we now
eliminate the primary source of the problem with unresolved symbol -
'-fno-implicit-templates' flag passed to the compiler.
This commit also eliminates all explicit class template instantiations from
the source code.

This step is required to make sure that '-std=xxx' option is set only once in
the Percona Server top-level 'CMakeLists.txt' (either explicitly via
'CMAKE_CXX_FLAGS' or implicitly via 'CMAKE_CXX_STANDARD' in newer versions of
'CMake') and is never changed by submodules. This will help to make sure that
c++11 options will be propagated properly throughout the project source code
and are never rewritten.

https://jira.percona.com/browse/PS-3933

Reimplemented fix for PS-1045
"LP #1654501: libHotBackup.so fails to load on Ubuntu Yakkety 64-bit, debug build"
(https://jira.percona.com/browse/PS-1045).
Instead of manually specifying '-std=c++03' for 'CMAKE_CXX_FLAGS' we now
eliminate the primary source of the problem with unresolved symbol -
'-fno-implicit-templates' flag passed to the compiler.
This commit also eliminates all explicit class template instantiations from
the source code.

This step is required to make sure that '-std=xxx' option is set only once in
the Percona Server top-level 'CMakeLists.txt' (either explicitly via
'CMAKE_CXX_FLAGS' or implicitly via 'CMAKE_CXX_STANDARD' in newer versions of
'CMake') and is never changed by submodules. This will help to make sure that
c++11 options will be propagated properly throughout the project source code
and are never rewritten.
Copy link

@george-lorch george-lorch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds reasonable to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants