Re: [vserver] util vserver and /run in tmpfs

From: Ghislain Adnet <gadnet_at_aqueos.com>
Date: Tue 16 Jan 2018 - 16:16:06 GMT
Message-ID: <b9314e3e-9e77-af3a-da5b-f56ace4986fd@aqueos.com>

https://pastebin.com/raw/sxUztG7x

i upgraded to gcc8 and cleaned all to recompile and got the error and warnings i put in the pastebin (beware 2 week
lifetime).

google link this to a dietlibc issue
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1567708.html

i tried to use musl but i failed.

available for test if need be.

best regards,
Ghislain.

diet -Os gcc -DHAVE_CONFIG_H -I. -I ./lib -I ./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT -DNDEBUG -DNDEBUG -Wdate-time
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/root/util-vserver=. -fstack-protector-strong -Wformat
-Werror=format-security -std=c99 -Wall -pedantic -W -funit-at-a-time -c -o
lib_internal/lib_internal_libinternal_diet_a-util-cleanupmount.o `test -f 'lib_internal/util-cleanupmount.c' || echo
'./'`lib_internal/util-cleanupmount.c

In file included from lib_internal/util-cleanupmount.c:28:
/usr/include/linux/fs.h:366:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_rwf_t’
 typedef int __bitwise __kernel_rwf_t;
                       ^~~~~~~~~~~~~~

--
make: *** [build] Error 2
Received on Tue Jan 16 16:13:46 2018
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 16 Jan 2018 - 16:13:46 GMT by hypermail 2.1.8