Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Sign in
C
criu
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • zhul
  • criu
  • Repository

Switch branch/tag
  • criu
  • test
  • zdtm
  • static
  • maps03.c
Find file
BlameHistoryPermalink
  • Kir Kolyshkin's avatar
    zdtm/static/maps03: don't run for 32-bit · a773d9c2
    Kir Kolyshkin authored Mar 29, 2017
    When this test is compiled on ARMv7, we get this:
    
    > maps03.c: In function 'main':
    > maps03.c:15:31: error: result of '10l << 30' requires 35 bits
    >   to represent, but 'long int' only has 32 bits [-Werror=shift-overflow=]
    >  mem = (void *)mmap(NULL, (10L << 30), PROT_READ | PROT_WRITE,
    >                               ^~
    
    Surely, the nature of the test looks like it needs 64-bit addressing.
    Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    a773d9c2
maps03.c 875 Bytes
EditWeb IDE

Replace maps03.c

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.