Re: [Devel] [CRIU PATCH vz7-u18 0/2] fix compilation with modern gcc

2021-10-15 Thread Pavel Tikhomirov
Reviewed-by: Pavel Tikhomirov On 15.10.2021 16:22, Cyrill Gorcunov wrote: When building criu on latest fedora 34 with gcc-11 I got errors on global vars declaration, fix them. Cyrill Gorcunov (2): mount-v2: fix nested_pidns_procs declaration mount: fix declaration of root_yard_mp and

Re: [Devel] [CRIU PATCH vz7-u18 0/2] fix compilation with modern gcc

2021-10-15 Thread Pavel Tikhomirov
In Virtuozzo criu we do pull requests, please do https://src.openvz.org/projects/OVZ/repos/criu/pull-requests On 15.10.2021 16:22, Cyrill Gorcunov wrote: When building criu on latest fedora 34 with gcc-11 I got errors on global vars declaration, fix them. Cyrill Gorcunov (2): mount-v2: fix

[Devel] [CRIU PATCH vz7-u18 2/2] mount: fix declaration of root_yard_mp and mnt_roots

2021-10-15 Thread Cyrill Gorcunov
They should be external otherwise linker will complain about multiple declaration. Fixes 596651d0222ff5196cf80db6e8812a535bf99734 Signed-off-by: Cyrill Gorcunov --- criu/include/mount.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/criu/include/mount.h

[Devel] [CRIU PATCH vz7-u18 0/2] fix compilation with modern gcc

2021-10-15 Thread Cyrill Gorcunov
When building criu on latest fedora 34 with gcc-11 I got errors on global vars declaration, fix them. Cyrill Gorcunov (2): mount-v2: fix nested_pidns_procs declaration mount: fix declaration of root_yard_mp and mnt_roots criu/include/mount-v2.h | 2 +- criu/include/mount.h| 4 ++-- 2

[Devel] [CRIU PATCH vz7-u18 1/2] mount-v2: fix nested_pidns_procs declaration

2021-10-15 Thread Cyrill Gorcunov
Global vars should be defined as extern ones, otherwise linker will complain about multiple definition of symbols. Fixes a2ac72ab1d35ba49ee2cc59ab973ac624d6125f0 Signed-off-by: Cyrill Gorcunov --- criu/include/mount-v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git