Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W weston
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 341
    • Issues 341
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 133
    • Merge requests 133
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • waylandwayland
  • weston
  • Issues
  • #360
Closed
Open
Issue created Feb 05, 2020 by Michael Olbrich@molReporter

fails to build with older libc: F_GET_SEALS etc. undefined

building weston fails with:

../weston-8.0.0/shared/os-compatibility.c: In function 'os_ro_anonymous_file_get_fd':
../weston-8.0.0/shared/os-compatibility.c:343:26: error: 'F_GET_SEALS' undeclared (first use in this function)
../weston-8.0.0/shared/os-compatibility.c:343:26: note: each undeclared identifier is reported only once for each function it appears in
../weston-8.0.0/shared/os-compatibility.c:41:25: error: 'F_SEAL_SHRINK' undeclared (first use in this function)
../weston-8.0.0/shared/os-compatibility.c:349:15: note: in expansion of macro 'READONLY_SEALS'
../weston-8.0.0/shared/os-compatibility.c:41:41: error: 'F_SEAL_GROW' undeclared (first use in this function)
../weston-8.0.0/shared/os-compatibility.c:349:15: note: in expansion of macro 'READONLY_SEALS'
../weston-8.0.0/shared/os-compatibility.c:41:55: error: 'F_SEAL_WRITE' undeclared (first use in this function)
../weston-8.0.0/shared/os-compatibility.c:349:15: note: in expansion of macro 'READONLY_SEALS'
../weston-8.0.0/shared/os-compatibility.c: In function 'os_ro_anonymous_file_put_fd':
../weston-8.0.0/shared/os-compatibility.c:391:24: error: 'F_GET_SEALS' undeclared (first use in this function)
../weston-8.0.0/shared/os-compatibility.c:400:31: error: 'F_SEAL_WRITE' undeclared (first use in this function)

I think there is some more #ifdef HAVE_MEMFD_CREATE is missing. But I don't know what needs to be done when it's not available. @swick, you wrote that code. What needs to be done here?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking