Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • G GLib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 855
    • Issues 855
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 55
    • Merge requests 55
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • GLib
  • Merge requests
  • !3145

tests/gvariant.c: ensure posix_memalign alignment argument is correct

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexander Richardson requested to merge arichardson/glib:posix_memalign-requirements into main Dec 15, 2022
  • Overview 1
  • Commits 2
  • Pipelines 1
  • Changes 2

posix_memalign() requires the alignment to be a multiple of sizeof(void*), and a power of 2. Passing 8 does not fulfil both of those constraints on Arm Morello which resulted in a "posix_memalign failed" test failure.

Co-authored-by: Graeme Jenkinson graeme@capabilitieslimited.co.uk

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: posix_memalign-requirements