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
Raw File
.gitlab-ci.yml
stages:
  - preparation
  - build
  - check
  - release
  - package

variables:
  # Build config
  BUILD_TYPE: Release
  BUILD_PROCESSES: "" # Empty string: builds all processes
  BUILD_TESTS: "true"
  BUILD_CTEST: "true"

workflow:
  rules:
    # Disable CI for non-MR user-scoped pipelines
    - if: '$CI_MERGE_REQUEST_IID == null && $CI_PROJECT_NAMESPACE != "ogs"'
      when: never
    - if: '$CI_MERGE_REQUEST_LABELS =~ /.*(workflow::paused|ci skip).*/'
      when: never
    - if: $CI_MERGE_REQUEST_IID                         # merge requests
    - if: $CI_COMMIT_TAG                                # tags, ogs/ogs repo only
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH       # master, ogs/ogs repo only
    - if: $CI_COMMIT_BRANCH =~ /^v[0-9]\.[0-9]\.[0-9]/  # release branches, e.g. v6.x.x

include:
  - local: 'scripts/ci/extends/*.yml'
  - local: '/scripts/ci/jobs/meta.yml'
  - local: '/scripts/ci/jobs/ci_images.yml'
  - local: '/scripts/ci/jobs/pre-commit.yml'
  # jobs, can be indiviually disabled for testing
  - local: '/scripts/ci/jobs/build-linux.yml'
  - local: '/scripts/ci/jobs/build-linux-petsc.yml'
  - local: '/scripts/ci/jobs/build-linux-frontend.yml'
  - local: '/scripts/ci/jobs/build-linux-conan.yml'
  - local: '/scripts/ci/jobs/build-docs.yml'
  - local: '/scripts/ci/jobs/build-win.yml'
  - local: '/scripts/ci/jobs/build-mac.yml'
  # - template: 'Code-Quality.gitlab-ci.yml' # see !3053
  - local: '/scripts/ci/jobs/code-quality.yml'
  - local: '/scripts/ci/jobs/code-coverage.yml'
  - local: '/scripts/ci/jobs/build-gui-linux.yml'
  - local: '/scripts/ci/jobs/build-gui-win.yml'
  - local: '/scripts/ci/jobs/build-gui-mac.yml'
  - local: '/scripts/ci/jobs/check-header.yml'
  - local: '/scripts/ci/jobs/clang-sanitizer.yml'
  - local: '/scripts/ci/jobs/clang-tidy.yml'
  - local: '/scripts/ci/jobs/web.yml'
  - local: '/scripts/ci/jobs/container.yml'
  - local: '/scripts/ci/jobs/release.yml'
back to top