Revision 39728477f077d5d51b92c2424be69b3dcca28126 authored by Dmitri Naumov on 09 June 2021, 09:37:23 UTC, committed by Thomas Fischer on 09 June 2021, 12:36:34 UTC
spdlog is linked "public" in BaseLib. Reason is the violation of odr for some globals defined in the spdlog library. ==1540297==ERROR: AddressSanitizer: odr-violation (0x7f5ea9c9d020): [1] size=40 'vtable for spdlog::spdlog_ex' _deps/spdlog-src/src/spdlog.cpp [2] size=40 'vtable for spdlog::spdlog_ex' _deps/spdlog-src/src/spdlog.cpp These globals were registered at these points: [1]: #0 0x5614686e0dfa in __asan_register_globals.part.0 (/home/naumov/w/ogs/d/bin/ogs+0x1bfdfa) #1 0x7f5e6cdbe7eb in asan.module_ctor (/home/naumov/w/ogs/d/bin/../lib/libMeshLib.so+0x17d37eb) [2]: #0 0x558bd62b6dfa in __asan_register_globals.part.0 (/home/naumov/w/ogs/d/bin/ogs+0x1bfdfa) #1 0x7f831c7e54ab in asan.module_ctor (/home/naumov/w/ogs/d/bin/../lib/libBaseLib.so+0x89a4ab)
1 parent fa9c332
ExportSymbol.h
/**
* \file
* \copyright
* Copyright (c) 2012-2021, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#ifndef OGS_EXPORT_SYMBOL
# if defined(WIN32) || defined(_WIN32)
# define OGS_EXPORT_SYMBOL __declspec(dllexport)
# else
# define OGS_EXPORT_SYMBOL __attribute__((visibility("default")))
# endif
#endif // defined(OGS_EXPORT_SYMBOL)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...