Skip to content

Instantly share code, notes, and snippets.

@nkigen
Created July 16, 2016 16:40
Show Gist options
  • Save nkigen/1b721d3b4a51d3f8eada4c3650c8fe81 to your computer and use it in GitHub Desktop.
Save nkigen/1b721d3b4a51d3f8eada4c3650c8fe81 to your computer and use it in GitHub Desktop.
Error When building DMTCP
DMTCP version: 2.5.0-rc2
Date built: Sat Jul 16 16:32:18 UTC 2016
config.log: ./configure
Linux alarm36 3.19.0-3-ARCH+ #1 SMP PREEMPT Wed Apr 20 03:03:00 UTC 2016 armv7l GNU/Linux
libc version: ldd (GNU libc) 2.23
Compiler: gcc
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/5.3.0/lto-wrapper
Target: armv7l-unknown-linux-gnueabihf
Configured with: /build/gcc/src/gcc-5-20160209/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://github.com/archlinuxarm/PKGBUILDs/issues --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16
Thread model: posix
gcc version 5.3.0 (GCC)
CFLAGS: -g -O2
CXXFLAGS: -g -O2
CPPFLAGS:
LDFLAGS:
/usr/bin/mkdir -p ./bin
/usr/bin/mkdir -p ./lib/dmtcp
rm -f src/config.h
cd src && make
make[1]: Entering directory '/home/alarm/dmcr/src'
Making all in mtcp
make[2]: Entering directory '/home/alarm/dmcr/src/mtcp'
gcc -I../../include -I. -g -O2 -c -o mtcp_restart.o -DPIC -fPIC -fno-stack-protector -g -O0 mtcp_restart.c
In file included from mtcp_restart.c:55:0:
mtcp_util.ic: In function 'mtcp_strtol':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.ic:58:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Error converting str to int\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:61:5: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(c < base);
^
mtcp_util.ic: In function 'mtcp_mkdir':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:226:3: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(len < PATH_MAX);
^
mtcp_util.ic: In function 'mtcp_readfile':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.ic:269:11: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF(" failed to read after 10 tries in a row.\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.ic:274:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("error %d reading checkpoint\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.ic:275:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("only read %u bytes instead of %u from checkpoint file\n",
^
mtcp_util.ic: In function 'mtcp_skipfile':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.ic:306:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("mtcp_sys_mmap() failed with error: %d", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.ic:311:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("mtcp_sys_munmap() failed with error: %d", mtcp_sys_errno);
^
mtcp_util.ic: In function 'mtcp_get_memory_region_of_this_library':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:522:3: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(mapsfd != -1);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:529:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(text.start_addr == NULL);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:538:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(mtcp_strcmp(filename, area.name) == 0);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:539:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(area.addr == text.end_addr);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:546:9: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(mtcp_sys_mmap(start_addr, area.size, PROT_READ,
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:559:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(mtcp_strcmp(filename, area.name) == 0);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:560:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(area.addr == guard.end_addr);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:575:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(mtcp_strcmp(filename, area.name) == 0);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:576:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(area.addr == rodata.end_addr);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:577:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(area.prot == (PROT_READ|PROT_WRITE) ||
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:592:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(area.addr == rwdata.end_addr);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:593:7: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(area.prot == (PROT_READ|PROT_WRITE) ||
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_util.ic:605:3: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(text.start_addr != NULL);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.ic:615:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Not implemented.\n");
^
In file included from mtcp_check_vdso.ic:40:0,
from mtcp_restart.c:57:
mtcp_check_vdso.ic: In function 'get_at_sysinfo':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:96:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("This should be argv[argc] == NULL and it's not.\n"
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:103:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("candidate argv[argc-1] failed consistency check\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:108:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("candidate argv[%d] failed consistency check\n", i);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:117:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("AT_SYSINFO (at 0x%p) is: 0x%lx\n",
^
mtcp_check_vdso.ic: In function 'write_args':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:214:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Error %d opening %s\n", filename, mtcp_sys_errno);
^
mtcp_check_vdso.ic: In function 'getenv_oldpers':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:251:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("internal error!\n");
^
mtcp_check_vdso.ic: In function 'mtcp_check_vdso':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:291:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Error: unsetenv\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:345:11: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Failed to reduce RLIMIT_STACK to %d\n",
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:355:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Error %d in personality\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:368:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Error %d reading /proc/sys/vm/vdso_enabled\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:372:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Error %d closing /proc/sys/vm/vdso_enabled\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:379:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("\n\n\nPROBLEM: cat /proc/sys/vm/vdso_enabled returns 1\n"
^
mtcp_check_vdso.ic: In function 'setPersonalityEnv':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:400:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Too large envp\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:417:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("buffer too small\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_check_vdso.ic:427:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Too large envp\n");
^
mtcp_restart.c: In function 'main':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:178:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***ERROR: This program should not be used directly.\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:231:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("MTCP Internal Error\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:237:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***MTCP Internal Error\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:247:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***ERROR opening ckpt image (%s); errno: %d\n",
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:260:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***ERROR: ckpt image doesn't match MTCP_SIGNATURE\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:295:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("*** Not Implemented.\n\n");
^
mtcp_restart.c: In function 'restore_brk':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:329:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("current_brk %p, saved_brk %p, restore_begin %p,"
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:346:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("sbrk(%p): errno: %d (bad heap)\n",
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:353:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***WARNING: munmap failed; errno: %d\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:363:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("error: new/current break (%p) != saved break (%p)\n",
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:366:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("error: new break (%p) != current break (%p)\n",
^
mtcp_restart.c: In function 'restart_fast_path':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:381:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("mmap failed with error; errno: %d\n", mtcp_sys_errno);
^
mtcp_restart.c: In function 'mtcp_simulateread':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:508:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***Error: mmap failed; errno: %d\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:513:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***Error: munmap failed; errno: %d\n", mtcp_sys_errno);
^
mtcp_restart.c: In function 'restorememoryareas':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:545:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Called with --use-gdb. A useful command is:\n"
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:548:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Called with --text-offset 0x%x. A useful command is:\n"
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:555:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("IN GDB: interrupt (^C); add-symbol-file ...; (gdb) print x=0\n");
^
mtcp_restart.c: In function 'unmap_memory_areas_and_restore_vdso':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:625:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("error opening /proc/self/maps; errno: %d\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:649:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***WARNING: munmap(%s, %x, %p, %d) failed; errno: %d\n",
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:662:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***Error: vdso/vvar order was different during ckpt.\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:667:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***Error: vdso size mismatch.\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:672:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***Error: vvar size mismatch.\n");
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_restart.c:678:5: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(vvarStart == rinfo->vvarStart);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:691:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("*** MTCP Error: Overlapping addresses for older and newer\n"
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:707:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***Error: failed to mremap vdso; errno: %d.\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_restart.c:710:5: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(vdso == rinfo->vdsoStart);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:751:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("***Error: failed to mremap vvar; errno: %d.\n", mtcp_sys_errno);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_restart.c:754:5: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(vvar == rinfo->vvarStart);
^
mtcp_restart.c: In function 'read_one_memory_area':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_restart.c:879:9: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(curr_size != -1);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:912:9: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF(
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:921:7: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("area at %p got mmapped to %p\n", area.addr, mmappedat);
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:950:11: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("error %d write-protecting %p bytes at %p\n",
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_util.h:34:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Assertion failed: %s\n", #condition); \
^
mtcp_restart.c:964:5: note: in expansion of macro 'MTCP_ASSERT'
MTCP_ASSERT(0);
^
mtcp_restart.c: In function 'restore_libc':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_restart.c:1026:34: note: in expansion of macro 'mtcp_sys_getpid'
+ tls_pid_offset) = mtcp_sys_getpid();
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:396:42: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_kernel_gettid(args...) mtcp_inline_syscall(gettid,0)
^
mtcp_restart.c:1027:7: note: in expansion of macro 'mtcp_sys_kernel_gettid'
if (mtcp_sys_kernel_gettid() == mtcp_sys_getpid()) {
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_restart.c:1029:36: note: in expansion of macro 'mtcp_sys_getpid'
+ tls_tid_offset) = mtcp_sys_getpid();
^
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1035:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("Error restoring GDT TLS entry; errno: %d\n", mtcp_sys_errno);
^
mtcp_restart.c: In function 'hasOverlappingMapping':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1075:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("error opening /proc/self/maps: errno: %d\n", mtcp_sys_errno);
^
mtcp_restart.c: In function 'getTextAddr':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1097:5: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("error opening /proc/self/maps: errno: %d\n", mtcp_sys_errno);
^
mtcp_restart.c: In function '__stack_chk_fail':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1127:3: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("ERROR: Stack Overflow detected.\n");
^
mtcp_restart.c: In function '__stack_chk_fail_local':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1134:3: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("ERROR: Stack Overflow detected.\n");
^
mtcp_restart.c: In function '__stack_chk_guard':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1141:3: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("ERROR: Stack Overflow detected.\n");
^
mtcp_restart.c: In function '_Unwind_Resume':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1148:3: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("MTCP Internal Error: %s Not Implemented.\n", __FUNCTION__);
^
mtcp_restart.c: In function '__gcc_personality_v0':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1155:3: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("MTCP Internal Error: %s Not Implemented.\n", __FUNCTION__);
^
mtcp_restart.c: In function '__intel_security_cookie':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1162:3: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("MTCP Internal Error: %s Not Implemented.\n", __FUNCTION__);
^
mtcp_restart.c: In function '__intel_security_check_cookie':
mtcp_sys.h:486:35: error: expected expression before ')' token
mtcp_syscall(SYS_##name, args)
^
mtcp_sys.h:258:35: note: in expansion of macro 'mtcp_inline_syscall'
#define mtcp_sys_getpid(args...) mtcp_inline_syscall(getpid,0)
^
mtcp_util.h:27:17: note: in expansion of macro 'mtcp_sys_getpid'
mtcp_sys_getpid(), __FILE__, __LINE__, __FUNCTION__); \
^
mtcp_restart.c:1169:3: note: in expansion of macro 'MTCP_PRINTF'
MTCP_PRINTF("MTCP Internal Error: %s Not Implemented.\n", __FUNCTION__);
^
Makefile:98: recipe for target 'mtcp_restart.o' failed
make[2]: *** [mtcp_restart.o] Error 1
make[2]: Leaving directory '/home/alarm/dmcr/src/mtcp'
Makefile:1000: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/alarm/dmcr/src'
Makefile:109: recipe for target 'dmtcp' failed
make: *** [dmtcp] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment