Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • 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
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !1579

Fix libsanitizer for older GCC in newer machines.

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Carlos Ramos Carreño requested to merge vnmabus/slapos:fix/libsanitizer_patch into master May 15, 2024
  • Overview 5
  • Commits 1
  • Pipelines 0
  • 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
Reviewers
Request review from
Time tracking
Source branch: fix/libsanitizer_patch
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7