/bin/bash ./libtool --tag=CC --mode=link diet -Os gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -pedantic -W -funit-at-a-time -static -Wl,-z,relro -o src/vserver-stat src/vserver-stat.o lib_internal/libinternal-diet.a lib/libvserver.a libensc_vector-diet.a libtool: link: diet -Os gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -std=c99 -Wall -pedantic -W -funit-at-a-time -Wl,-z -Wl,relro -o src/vserver-stat src/vserver-stat.o lib_internal/libinternal-diet.a lib/libvserver.a libensc_vector-diet.a lib_internal/libinternal-diet.a(lib_internal_libinternal_diet_a-switchtowatchxid.o): In function `switchToWatchXid': /root/util-vserver/lib_internal/switchtowatchxid.c:45: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of /usr/lib/diet/lib-x86_64/libc.a(vsnprintf.o): In function `vsnprintf': src/vreboot.c: In function ‘main’: src/vreboot.c:99:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (fd,"halt\n",5); ^ src/vreboot.c:101:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (fd,"reboot\n",7); ^ /root/util-vserver/./ensc_wrappers/wrappers-vserver.hc:28: warning: warning: vc_new_s_context() is obsoleted; use vc_ctx_create() instead of src/vserver-stat.c: In function ‘registerXidCgroups’: src/vserver-stat.c:404:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (name_len >= sizeof(name)) { ^ src/exec-remount.c: In function ‘main’: src/exec-remount.c:97:15: warning: variable ‘mtab’ set but not used [-Wunused-but-set-variable] char const *mtab = "/etc/mtab"; src/vsysctl.c: In function ‘main’: src/vsysctl.c:131:10: warning: variable ‘xid’ set but not used [-Wunused-but-set-variable] xid_t xid = VC_NOCTX; tests/testipc.c: In function ‘main’: tests/testipc.c:67:5: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system ("/bin/sh"); ^ tests/testipc.c:106:4: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result] system ("/bin/sh"); src/rpm-fake.c: In function 'initEnvironment': src/rpm-fake.c:455:8: warning: variable 'syscall_nr' set but not used [-Wunused-but-set-variable] int syscall_nr; ^ src/rpm-fake.c:454:8: warning: variable 'syscall_rev' set but not used [-Wunused-but-set-variable] int syscall_rev; ^ src/rpm-fake.c: In function 'initSymbols': src/rpm-fake.c:70:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] #define INIT(FILE,FUNC) FUNC##_func = ((__typeof__(FUNC) *) (xdlsym(FILE, #FUNC))) ^ src/rpm-fake.c:492:3: note: in expansion of macro 'INIT' INIT(RTLD_NEXT, execve); ^ src/rpm-fake.c:70:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] #define INIT(FILE,FUNC) FUNC##_func = ((__typeof__(FUNC) *) (xdlsym(FILE, #FUNC))) ^ src/rpm-fake.c:493:3: note: in expansion of macro 'INIT' INIT(RTLD_NEXT, getgrnam); ^ src/rpm-fake.c:70:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] #define INIT(FILE,FUNC) FUNC##_func = ((__typeof__(FUNC) *) (xdlsym(FILE, #FUNC))) ^ src/rpm-fake.c:494:3: note: in expansion of macro 'INIT' INIT(RTLD_NEXT, getpwnam); ^ src/rpm-fake.c:70:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] #define INIT(FILE,FUNC) FUNC##_func = ((__typeof__(FUNC) *) (xdlsym(FILE, #FUNC))) ^ src/rpm-fake.c:495:3: note: in expansion of macro 'INIT' INIT(RTLD_NEXT, endpwent); ^ src/rpm-fake.c:70:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] #define INIT(FILE,FUNC) FUNC##_func = ((__typeof__(FUNC) *) (xdlsym(FILE, #FUNC))) ^ src/rpm-fake.c:496:3: note: in expansion of macro 'INIT' INIT(RTLD_NEXT, endgrent); ^ src/rpm-fake.c:70:40: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] #define INIT(FILE,FUNC) FUNC##_func = ((__typeof__(FUNC) *) (xdlsym(FILE, #FUNC))) ^ src/rpm-fake.c:497:3: note: in expansion of macro 'INIT' INIT(RTLD_NEXT, chroot); ^ python/_libvserver.c: In function 'pyvserver_wait_exit': python/_libvserver.c:247:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^ python/_libvserver.c:249:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^ python/_libvserver.c: In function 'pyvserver_isSupported': python/_libvserver.c:907:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^ python/_libvserver.c:909:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^ python/_libvserver.c: In function 'pyvserver_isSupportedString': python/_libvserver.c:921:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_TRUE; ^ python/_libvserver.c:923:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Py_RETURN_FALSE; ^ python/_libvserver.c: In function 'init_libvserver': python/_libvserver.c:1150:3: warning: 'return' with a value, in function returning void return mod; ^