Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 124
    • Merge requests 124
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !1579

Merged
Created May 15, 2024 by Carlos Ramos Carreño@vnmabusDeveloper

Fix libsanitizer for older GCC in newer machines.

  • Overview 5
  • Commits 1
  • Changes 2

When compiling older GCC versions in newer machines, libsanitizer does not compile, showing a error: multiple definition of 'enum fsconfig_command' (e.g.https://github.com/llvm/llvm-project/issues/56421). This is because starting from Glibc 2.36, it is not possible to include both "linux/fs.h" and "sys/mount.h".

We can apply a patch, similar to the one in https://reviews.llvm.org/D129471 , but with the extension and lines changed to match the file. This is also similar to the upstream fix.

Edited May 17, 2024 by Carlos Ramos Carreño
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: fix/libsanitizer_patch
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7