Skip to content
  • Jan Kneschke's avatar
    ed162926
    Bug#31315719 missing symbol in mock_server.so building ASAN · ed162926
    Jan Kneschke authored
    Problem
    =======
    
    build with ASAN leads to test failures when running tests that use the
    mock-server which reports:
    
        plugin_output_directory/mock_server.so: undefined symbol:
    _ZNK11mysqlrouter16BasePluginConfig16get_section_nameB5cxx11EPKN13mysql_harness13ConfigSectionE
    
    which translates to:
    
        mysqlrouter::BasePluginConfig::get_section_name[abi:cxx11]
        (mysql_harness::ConfigSection const*) const
    
    Change
    ======
    
    - explicitly link against harness-library
    
    RB: 24405
    ed162926
    Bug#31315719 missing symbol in mock_server.so building ASAN
    Jan Kneschke authored
    Problem
    =======
    
    build with ASAN leads to test failures when running tests that use the
    mock-server which reports:
    
        plugin_output_directory/mock_server.so: undefined symbol:
    _ZNK11mysqlrouter16BasePluginConfig16get_section_nameB5cxx11EPKN13mysql_harness13ConfigSectionE
    
    which translates to:
    
        mysqlrouter::BasePluginConfig::get_section_name[abi:cxx11]
        (mysql_harness::ConfigSection const*) const
    
    Change
    ======
    
    - explicitly link against harness-library
    
    RB: 24405
Loading