[CRIU] [PATCH v2 0/4] make: build improvements

Kinsbursky Stanislav skinsbursky at openvz.org
Wed Nov 7 08:38:36 EST 2012


07.11.2012 17:31, Cyrill Gorcunov пишет:
> On Wed, Nov 07, 2012 at 05:30:20PM +0400, Kinsbursky Stanislav wrote:
>> 07.11.2012 17:29, Cyrill Gorcunov пишет:
>>> On Wed, Nov 07, 2012 at 05:27:49PM +0400, Kinsbursky Stanislav wrote:
>>>> 07.11.2012 17:27, Cyrill Gorcunov пишет:
>>>>> On Wed, Nov 07, 2012 at 05:23:56PM +0400, Kinsbursky Stanislav wrote:
>>>>>> Works like a charm:
>>>>>>
>>>>>> [root at dhcp-10-30-20-54 crtools]# make clean && make -j
>>>>>>    CLEAN
>>>>>>    CLEAN PROTOBUF
>>>>>>    CLEAN SYSCALLS
>>>>>>    CLEAN PIE
>>>>> which make version you're using?
>>>> Rebased on master 5 minutes ago.
>>> ROFL. which _MAKE_ version you're using?
>>> make -v please
>> [root at dhcp-10-30-20-54 crtools]# make -v
>> GNU Make 3.81
>> Copyright (C) 2006  Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.
>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>> PARTICULAR PURPOSE.
>>
>> This program built for x86_64-redhat-linux-gnu
> OK, this explains, I'm using 3.82.

Nope, it's not:

[root at dhcp-10-30-20-54 crtools]# /tmp/make-3.82/make -v
GNU Make 3.82
Built for x86_64-unknown-linux-gnu
Copyright (C) 2010  Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
[root at dhcp-10-30-20-54 crtools]# /tmp/make-3.82/make clean && /tmp/make-3.82/make -j
   CLEAN
   CLEAN PROTOBUF
   CLEAN SYSCALLS
   CLEAN PIE
set -e; for d in lib live; do make -C $d cleandep; done
rm -f datagen.d msg.d parseargs.d test.d streamutil.d lock.d ns.d tcp.d
set -e; for d in streaming transition static; do make -C $d cleandep; done
rm -f pipe_loop00.o pipe_shared00.o socket_loop00.o netlink00.o file_aio.o 
socket-tcp.o unix_sock.o fifo_dyn.o fifo_loop.o pipe_loop00 pipe_shared00 
socket_loop00 netlink00 file_aio socket-tcp  unix_sock fifo_dyn fifo_loop  *~
rm -f pipe_loop00.d pipe_shared00.d socket_loop00.d netlink00.d file_aio.d 
socket-tcp.d unix_sock.d fifo_dyn.d fifo_loop.d
rm -f file_read.o ipc.o ptrace.o epoll.o fork.o file_read ipc ptrace epoll fork   *~
rm -f file_read.d ipc.d ptrace.d epoll.d fork.d
rm -f busyloop00.o sleeping00.o pid00.o caps00.o wait00.o zombie00.o fpu00.o 
futex.o futex-rl.o mmx00.o sse00.o sse20.o mprotect00.o timers.o unbound_sock.o 
sched_prio00.o sched_policy00.o socket_listen.o socket_udp.o socket6_udp.o 
socket_udplite.o socket_aio.o packet_sock.o sock_filter.o msgque.o 
inotify_system.o inotify_system_nodel.o shm.o ptrace_sig.o pipe00.o pipe01.o 
pthread00.o vdso00.o utsname.o pstree.o sockets00.o sockets01.o sockets_spair.o 
sockets_dgram.o socket_queues.o socket_queues02.o socket-tcp.o socket-tcpbuf.o 
sock_opts00.o sock_opts01.o sk-unix-unconn.o ipc_namespace.o selfexe00.o sem.o 
maps01.o maps02.o xids00.o groups.o file_fown.o eventfs00.o signalfd00.o 
inotify00.o uptime_grow.o session00.o pty00.o pty01.o pty02.o pty03.o pty04.o 
tty00.o tty02.o mountpoints.o netns.o session01.o socket-ext.o unhashed_proc.o 
cow00.o child_opened_proc.o posix_timers.o write_read00.o write_read01.o 
write_read02.o write_read10.o maps00.o link10.o file_attr.o deleted_unix_sock.o 
deleted_dev.o unlink_fstat00.o unlink_fstat01.o unlink_fstat02.o 
unlink_fstat03.o unlink_largefile.o mtime_mmap.o fifo.o fifo-ghost.o fifo_ro.o 
fifo_wronly.o unlink_fifo.o unlink_fifo_wronly.o file_shared.o cwd00.o 
overmount_dev.o overmount_file.o overmount_fifo.o overmount_sock.o env00.o 
fifo-rowo-pair.o umask00.o cmdlinenv00.o busyloop00 sleeping00 pid00 caps00 
wait00 zombie00 fpu00 futex futex-rl mmx00 sse00 sse20 mprotect00 timers 
unbound_sock sched_prio00 sched_policy00 socket_listen socket_udp socket6_udp 
socket_udplite socket_aio packet_sock sock_filter msgque inotify_system 
inotify_system_nodel shm ptrace_sig pipe00 pipe01 pthread00 vdso00 utsname 
pstree sockets00 sockets01 sockets_spair sockets_dgram socket_queues 
socket_queues02 socket-tcp socket-tcpbuf sock_opts00 sock_opts01 sk-unix-unconn 
ipc_namespace selfexe00 sem maps01 maps02 xids00 groups file_fown eventfs00 
signalfd00 inotify00 uptime_grow session00 pty00 pty01 pty02 pty03 pty04 tty00 
tty02 mountpoints netns session01 socket-ext unhashed_proc cow00 
child_opened_proc posix_timers  write_read00 write_read01 write_read02 
write_read10 maps00 link10 file_attr deleted_unix_sock deleted_dev 
unlink_fstat00 unlink_fstat01 unlink_fstat02 unlink_fstat03 unlink_largefile 
mtime_mmap fifo fifo-ghost fifo_ro fifo_wronly unlink_fifo unlink_fifo_wronly 
file_shared  cwd00 overmount_dev overmount_file overmount_fifo overmount_sock  
env00 fifo-rowo-pair umask00 cmdlinenv00  *~
rm -f busyloop00.d sleeping00.d pid00.d caps00.d wait00.d zombie00.d fpu00.d 
futex.d futex-rl.d mmx00.d sse00.d sse20.d mprotect00.d timers.d unbound_sock.d 
sched_prio00.d sched_policy00.d socket_listen.d socket_udp.d socket6_udp.d 
socket_udplite.d socket_aio.d packet_sock.d sock_filter.d msgque.d 
inotify_system.d inotify_system_nodel.d shm.d ptrace_sig.d pipe00.d pipe01.d 
pthread00.d vdso00.d utsname.d pstree.d sockets00.d sockets01.d sockets_spair.d 
sockets_dgram.d socket_queues.d socket_queues02.d socket-tcp.d socket-tcpbuf.d 
sock_opts00.d sock_opts01.d sk-unix-unconn.d ipc_namespace.d selfexe00.d sem.d 
maps01.d maps02.d xids00.d groups.d file_fown.d eventfs00.d signalfd00.d 
inotify00.d uptime_grow.d session00.d pty00.d pty01.d pty02.d pty03.d pty04.d 
tty00.d tty02.d mountpoints.d netns.d session01.d socket-ext.d unhashed_proc.d 
cow00.d child_opened_proc.d posix_timers.d write_read00.d write_read01.d 
write_read02.d write_read10.d maps00.d link10.d file_attr.d deleted_unix_sock.d 
deleted_dev.d unlink_fstat00.d unlink_fstat01.d unlink_fstat02.d 
unlink_fstat03.d unlink_largefile.d mtime_mmap.d fifo.d fifo-ghost.d fifo_ro.d 
fifo_wronly.d unlink_fifo.d unlink_fifo_wronly.d file_shared.d cwd00.d 
overmount_dev.d overmount_file.d overmount_fifo.d overmount_sock.d env00.d 
fifo-rowo-pair.d umask00.d cmdlinenv00.d
set -e; for d in lib live; do make -C $d clean; done
rm -f datagen.o msg.o parseargs.o test.o streamutil.o lock.o ns.o tcp.o 
libzdtmtst.a test_init *~
set -e; for d in streaming transition static; do make -C $d clean; done
rm -f pipe_loop00.o pipe_shared00.o socket_loop00.o netlink00.o file_aio.o 
socket-tcp.o unix_sock.o fifo_dyn.o fifo_loop.o pipe_loop00 pipe_shared00 
socket_loop00 netlink00 file_aio socket-tcp  unix_sock fifo_dyn fifo_loop  *~
rm -f file_read.o ipc.o ptrace.o epoll.o fork.o file_read ipc ptrace epoll fork   *~
rm -f busyloop00.o sleeping00.o pid00.o caps00.o wait00.o zombie00.o fpu00.o 
futex.o futex-rl.o mmx00.o sse00.o sse20.o mprotect00.o timers.o unbound_sock.o 
sched_prio00.o sched_policy00.o socket_listen.o socket_udp.o socket6_udp.o 
socket_udplite.o socket_aio.o packet_sock.o sock_filter.o msgque.o 
inotify_system.o inotify_system_nodel.o shm.o ptrace_sig.o pipe00.o pipe01.o 
pthread00.o vdso00.o utsname.o pstree.o sockets00.o sockets01.o sockets_spair.o 
sockets_dgram.o socket_queues.o socket_queues02.o socket-tcp.o socket-tcpbuf.o 
sock_opts00.o sock_opts01.o sk-unix-unconn.o ipc_namespace.o selfexe00.o sem.o 
maps01.o maps02.o xids00.o groups.o file_fown.o eventfs00.o signalfd00.o 
inotify00.o uptime_grow.o session00.o pty00.o pty01.o pty02.o pty03.o pty04.o 
tty00.o tty02.o mountpoints.o netns.o session01.o socket-ext.o unhashed_proc.o 
cow00.o child_opened_proc.o posix_timers.o write_read00.o write_read01.o 
write_read02.o write_read10.o maps00.o link10.o file_attr.o deleted_unix_sock.o 
deleted_dev.o unlink_fstat00.o unlink_fstat01.o unlink_fstat02.o 
unlink_fstat03.o unlink_largefile.o mtime_mmap.o fifo.o fifo-ghost.o fifo_ro.o 
fifo_wronly.o unlink_fifo.o unlink_fifo_wronly.o file_shared.o cwd00.o 
overmount_dev.o overmount_file.o overmount_fifo.o overmount_sock.o env00.o 
fifo-rowo-pair.o umask00.o cmdlinenv00.o busyloop00 sleeping00 pid00 caps00 
wait00 zombie00 fpu00 futex futex-rl mmx00 sse00 sse20 mprotect00 timers 
unbound_sock sched_prio00 sched_policy00 socket_listen socket_udp socket6_udp 
socket_udplite socket_aio packet_sock sock_filter msgque inotify_system 
inotify_system_nodel shm ptrace_sig pipe00 pipe01 pthread00 vdso00 utsname 
pstree sockets00 sockets01 sockets_spair sockets_dgram socket_queues 
socket_queues02 socket-tcp socket-tcpbuf sock_opts00 sock_opts01 sk-unix-unconn 
ipc_namespace selfexe00 sem maps01 maps02 xids00 groups file_fown eventfs00 
signalfd00 inotify00 uptime_grow session00 pty00 pty01 pty02 pty03 pty04 tty00 
tty02 mountpoints netns session01 socket-ext unhashed_proc cow00 
child_opened_proc posix_timers  write_read00 write_read01 write_read02 
write_read10 maps00 link10 file_attr deleted_unix_sock deleted_dev 
unlink_fstat00 unlink_fstat01 unlink_fstat02 unlink_fstat03 unlink_largefile 
mtime_mmap fifo fifo-ghost fifo_ro fifo_wronly unlink_fifo unlink_fifo_wronly 
file_shared  cwd00 overmount_dev overmount_file overmount_fifo overmount_sock  
env00 fifo-rowo-pair umask00 cmdlinenv00  *~
set -e; for d in lib live; do make -C $d cleanout; done
make[2]: Цель `cleanout' не требует выполнения команд.
set -e; for d in streaming transition static; do make -C $d cleanout; done
rm -f *.pid *.out* *.test*
rm -f *.pid *.out* *.test chew*
rm -f -r *.pid *.out* *.test* *.state
   CLEAN
   GEN      syscall-x86-64.S
   PROTOBUF inventory.pb-c.c
   PROTOBUF fdinfo.pb-c.c
   PROTOBUF fown.pb-c.c
   PROTOBUF regfile.pb-c.c
   PROTOBUF remap-file-path.pb-c.c
   PROTOBUF ghost-file.pb-c.c
   PROTOBUF eventfd.pb-c.c
   PROTOBUF eventpoll.pb-c.c
   PROTOBUF fifo.pb-c.c
   PROTOBUF fh.pb-c.c
   PROTOBUF inotify.pb-c.c
   PROTOBUF signalfd.pb-c.c
   PROTOBUF fs.pb-c.c
   PROTOBUF pstree.pb-c.c
   PROTOBUF pipe.pb-c.c
   PROTOBUF tcp-stream.pb-c.c
   CC       syscall-x86-64.o
   PROTOBUF sk-packet.pb-c.c
   PROTOBUF mnt.pb-c.c
   PROTOBUF pipe-data.pb-c.c
   PROTOBUF sa.pb-c.c
   PROTOBUF itimer.pb-c.c
   PROTOBUF mm.pb-c.c
   PROTOBUF sk-opts.pb-c.c
   PROTOBUF sk-inet.pb-c.c
   PROTOBUF sk-unix.pb-c.c
   PROTOBUF packet-sock.pb-c.c
   PROTOBUF ipc-var.pb-c.c
   PROTOBUF ipc-desc.pb-c.c
   PROTOBUF ipc-shm.pb-c.c
   PROTOBUF ipc-msg.pb-c.c
   PROTOBUF ipc-sem.pb-c.c
   PROTOBUF creds.pb-c.c
   PROTOBUF utsns.pb-c.c
   PROTOBUF vma.pb-c.c
   PROTOBUF core.pb-c.c
   PROTOBUF netdev.pb-c.c
   PROTOBUF tty.pb-c.c
   CC       inventory.pb-c.o
   CC       fdinfo.pb-c.o
   CC       fown.pb-c.o
   CC       regfile.pb-c.o
   CC       ghost-file.pb-c.o
   CC       fifo.pb-c.o
   CC       remap-file-path.pb-c.o
   CC       eventfd.pb-c.o
   CC       eventpoll.pb-c.o
   CC       fh.pb-c.o
   CC       inotify.pb-c.o
   CC       signalfd.pb-c.o
   CC       fs.pb-c.o
   CC       pstree.pb-c.o
   CC       pipe.pb-c.o
   CC       tcp-stream.pb-c.o
   CC       sk-packet.pb-c.o
   CC       mnt.pb-c.o
   CC       pipe-data.pb-c.o
   CC       sa.pb-c.o
   CC       itimer.pb-c.o
   CC       mm.pb-c.o
   CC       sk-opts.pb-c.o
   CC       sk-unix.pb-c.o
   CC       sk-inet.pb-c.o
   CC       packet-sock.pb-c.o
   CC       ipc-var.pb-c.o
   CC       ipc-desc.pb-c.o
   CC       ipc-shm.pb-c.o
   CC       ipc-msg.pb-c.o
   CC       ipc-sem.pb-c.o
   CC       utsns.pb-c.o
   CC       creds.pb-c.o
   CC       vma.pb-c.o
   CC       core.pb-c.o
   CC       netdev.pb-c.o
   CC       tty.pb-c.o
   LINK     protobuf-lib.o
   CC       util-net.o
   CC       log-simple.o
   CC       parasite-head-x86-64.o
   CC       parasite.o
   CC       restorer.o
   GEN      parasite.bin.o
   GEN      parasite.bin
   GEN      parasite-blob.h
   GEN      restorer.bin.o
   GEN      restorer.bin
   GEN      restorer-blob.h
   DEP      tty.d
   DEP      protobuf.d
   DEP      pstree.d
   DEP      signalfd.d
   DEP      inotify.d
   DEP      mount.d
   DEP      eventpoll.d
   DEP      eventfd.d
   DEP      shmem.d
   DEP      netfilter.d
   DEP      ipc_ns.d
   DEP      uts_ns.d
   DEP      namespaces.d
   DEP      file-ids.d
   DEP      fifo.d
   DEP      pipes.d
   DEP      files-reg.d
   DEP      files.d
   DEP      sk-queue.d
   DEP      sk-packet.d
   DEP      sk-unix.d
   DEP      sk-tcp.d
   DEP      sk-inet.d
   DEP      sockets.d
   DEP      libnetlink.d
   DEP      log.d
   DEP      rbtree.d
   DEP      kcmp-ids.d
   DEP      ptrace.d
   DEP      sysctl.d
   DEP      pie/util-net.d
   DEP      util.d
   DEP      cr-check.d
   DEP      cr-show.d
   DEP      cr-dump.d
   DEP      proc_parse.d
   DEP      net.d
   DEP      image.d
   DEP      crtools.d
   DEP      cr-restore.d
   DEP      parasite-syscall.d
   CC       parasite-syscall.o
   CC       cr-restore.o
   CC       crtools.o
   CC       image.o
   CC       net.o
   CC       proc_parse.o
   CC       cr-dump.o
   CC       cr-show.o
   CC       cr-check.o
   CC       util.o
   CC       sysctl.o
   CC       ptrace.o
   CC       kcmp-ids.o
   CC       rbtree.o
   CC       log.o
   CC       libnetlink.o
   CC       sockets.o
   CC       sk-inet.o
   CC       sk-tcp.o
   CC       sk-unix.o
   CC       sk-packet.o
   CC       sk-queue.o
   CC       files.o
   CC       files-reg.o
   CC       pipes.o
   CC       fifo.o
   CC       file-ids.o
   CC       namespaces.o
   CC       uts_ns.o
   CC       ipc_ns.o
   CC       netfilter.o
   CC       shmem.o
   CC       eventfd.o
   CC       eventpoll.o
   CC       mount.o
   CC       signalfd.o
   CC       inotify.o
   CC       pstree.o
   CC       protobuf.o
   CC       tty.o
   LINK     crtools


-- 
Best regards,
Stanislav Kinsbursky




More information about the CRIU mailing list