Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dbus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 262
    • Issues 262
    • List
    • Boards
    • Service Desk
    • Milestones
  • Custom issue tracker
    • Custom issue tracker
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dbusdbus
  • dbus
  • Merge requests
  • !335

Add support for building for Arm Morello

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexander Richardson requested to merge arichardson/dbus:morello-support into master Aug 14, 2022
  • Overview 40
  • Commits 8
  • Pipelines 8
  • Changes 11

This pull request allows me to build and run all dbus unit tests successfully on my Arm Morello board (https://www.arm.com/architecture/cpu/morello).

Arm Morello is a CHERI-enabled architecture that uses 128-bit pointers with bounds and permissions. As some of the code here assumes 4 or 8 byte pointers I had to make a few minor changes to support a pointer size and alignment of 16 bytes.

This pull request can be tested also be tested in QEMU using the cheribuild tool (https://github.com/CTSRD-CHERI/cheribuild) by running these commands (will take a long time since it involves building LLVM):

$ cheribuild.py dbus-morello-purecap disk-image-minimal-morello-purecap --include-dependencies
$ cheribuild.py dbus-morello-purecap --test

NB: when running the test in QEMU instead of on real hardware, merge request !334 (merged) is also needed since sockets cannot be created on smbfs.

Edited Sep 15, 2022 by Alexander Richardson
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: morello-support