• Dmitry Safonov's avatar
    tests/arm/compat: don't build maps03 test · d7f21ac8
    Dmitry Safonov authored
    Fixes:
    maps03.c: In function 'main':
    maps03.c:15:32: 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,
                                    ^~
    maps03.c:22:9: error: result of '4l << 30' requires 34 bits to represent, but 'long int' only has 32 bits [-Werror=shift-overflow=]
      mem[4L << 30] = 1;
             ^~
    maps03.c:23:9: error: result of '8l << 30' requires 35 bits to represent, but 'long int' only has 32 bits [-Werror=shift-overflow=]
      mem[8L << 30] = 2;
             ^~
    maps03.c:30:13: error: result of '4l << 30' requires 34 bits to represent, but 'long int' only has 32 bits [-Werror=shift-overflow=]
      if (mem[4L << 30] != 1 || mem[8L << 30] != 2) {
                 ^~
    maps03.c:30:35: error: result of '8l << 30' requires 35 bits to represent, but 'long int' only has 32 bits [-Werror=shift-overflow=]
      if (mem[4L << 30] != 1 || mem[8L << 30] != 2) {
                                       ^~
    
    Proceses virtual address space is smaller than 4Gb - omit this test for
    those archs.
    Signed-off-by: 's avatarDmitry Safonov <0x7f454c46@gmail.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    d7f21ac8
Name
Last commit
Last update
..
inhfd Loading commit data...
jenkins Loading commit data...
others Loading commit data...
zdtm Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
abrt.sh Loading commit data...
check_actions.py Loading commit data...
crit-recode.py Loading commit data...
criu.py Loading commit data...
groups.desc Loading commit data...
inhfd.desc Loading commit data...
rpc.py Loading commit data...
show_action.sh Loading commit data...
zdtm.desc Loading commit data...
zdtm.py Loading commit data...
zdtm_ct.c Loading commit data...
zdtm_mount_cgroups Loading commit data...