Hello,
yes, I can confirm this. Sorry.
I kind of broke that branch after merging GCC 6, glibc 2.25 and binutils 2.28.
This built on my test system but I cherry-picked many packages from another branch and left a few ones out which now caused this. It is quite okay on x86_64, but i586 has this error with cyrus-imapd.
I will push my fixes shortly.
-Michael
On Sun, 2017-05-21 at 09:33 +0200, Matthias Fischer wrote:
Hi,
The current 'next' won't compile. It has problems with 'cyrus-imapd 2.2.12' and after several trys I can't get a grip on this:
***SNIP*** ### Making all in /usr/src/cyrus-imapd-2.2.12/lib make[2]: Entering directory '/usr/src/cyrus-imapd-2.2.12/lib' ./../tools/config2header CC=gcc ./imapopts.c ./imapopts.h < ./imapoptions gcc -c -I.. -DHAVE_CONFIG_H -O2 -pipe -Wall -fexceptions -fPIC -march=i586 -mtune=generic -fomit-frame-pointer -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/et \ libconfig.c libconfig.c: In function 'config_read': libconfig.c:184:33: warning: comparison between 'enum opttype' and 'enum imapopt' [-Wenum-compare] for(opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ^ libconfig.c:187:9: warning: comparison between 'enum opttype' and 'enum imapopt' [-Wenum-compare] opt == IMAPOPT_CONFIGDIRECTORY) { ^~ libconfig.c: In function 'config_read_file': libconfig.c:348:35: warning: comparison between 'enum opttype' and 'enum imapopt' [-Wenum-compare] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ^ libconfig.c:360:35: warning: comparison between 'enum opttype' and 'enum imapopt' [-Wenum-compare] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ^ libconfig.c:370:10: warning: comparison between 'enum opttype' and 'enum imapopt' [-Wenum-compare] if (opt < IMAPOPT_LAST) { ^ libconfig.c:405:10: warning: comparison between 'enum opttype' and 'enum imapopt' [-Wenum-compare] if(opt == IMAPOPT_CONFIGDIRECTORY) ^~ In file included from /usr/include/stdio.h:939:0, from libconfig.c:47: /usr/include/bits/stdio2.h: In function 'sprintf': /usr/include/bits/stdio2.h:33:10: error: invalid use of '__builtin_va_arg_pack ()' return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h: In function 'snprintf': /usr/include/bits/stdio2.h:64:10: error: invalid use of '__builtin_va_arg_pack ()' return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h: In function 'fprintf': /usr/include/bits/stdio2.h:97:10: error: invalid use of '__builtin_va_arg_pack ()' return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h: In function 'printf': /usr/include/bits/stdio2.h:104:10: error: invalid use of '__builtin_va_arg_pack ()' return __printf_chk (__USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/bits/stdio2.h: In function 'dprintf': /usr/include/bits/stdio2.h:141:10: error: invalid use of '__builtin_va_arg_pack ()' return __dprintf_chk (__fd, __USE_FORTIFY_LEVEL - 1, __fmt, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~ In file included from /usr/include/sys/syslog.h:207:0, from /usr/include/syslog.h:1, from libconfig.c:51: /usr/include/bits/syslog.h: In function 'syslog': /usr/include/bits/syslog.h:31:3: error: invalid use of '__builtin_va_arg_pack ()' __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:121: libconfig.o] Error 1 make[2]: Leaving directory '/usr/src/cyrus-imapd-2.2.12/lib' make[1]: *** [Makefile:68: all] Error 1 make[1]: Leaving directory '/usr/src/cyrus-imapd-2.2.12' make: *** [cyrus-imapd:87: /usr/src/log/cyrus-imapd-2.2.12] Error 2 ***SNAP***
Anyone else to confirm?
Best, Matthias