Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D dynamorio
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,467
    • Issues 1,467
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 44
    • Merge requests 44
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • DynamoRIO
  • dynamorio
  • Issues
  • #5469
Closed
Open
Issue created Apr 19, 2022 by prasun3@prasun3Contributor

BUILD ERROR due to change in linux/rseq.h on recent kernels

Describe the bug

On recent kernels build fails with the following error

dynamorio/core/unix/rseq_linux.c:221:64: error: request for member ‘ptr64’ in something not a structure or union
     if (is_dynamo_address((byte *)(ptr_uint_t)app_rseq->rseq_cs.ptr64))
                                                                ^

To Reproduce Try building DR on a recent kernel which includes the change in https://github.com/torvalds/linux/commit/bfdf4e6208051ed7165b2e92035b4bf11f43eb63

Expected behavior No build error

Screenshots or Pasted Text See above

Versions

  • What version of DynamoRIO are you using? Any recent version that includes linux/rseq.h will have this issue.

  • Does the latest build from https://github.com/DynamoRIO/dynamorio/releases solve the problem? No

  • What operating system version are you running on? ("Windows 10" is not sufficient: give the release number.) Ubuntu

  • Is your application 32-bit or 64-bit? 64-bit

Additional context Add any other context about the problem here.

Assignee
Assign to
Time tracking