Subject: Re: [vserver] util vserver and /run in tmpfs
From: Ghislain Adnet <gadnet@aqueos.com>
Date: Tue, 16 Jan 2018 17:16:06 +0100

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