Date: Tue, 26 Jun 2018 12:11:43 -0700 From: Mark Millard <marklmi@yahoo.com> To: Ed Maste <emaste@freebsd.org>, svn-src-head@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: svn commit: r335672 - head/sys/modules [ broke ci.freebsd.org FreeBSD-head-{powerpcspe,mips,mips64,powerpc,armv6,armv7}-build ] Message-ID: <21B2ACE4-3945-48AE-BB04-5341F6723B98@yahoo.com>
next in thread | raw e-mail | index | archive | help
> Author: emaste > Date: Tue Jun 26 16:50:41 2018 > New Revision: 335672 > URL:=20 > https://svnweb.freebsd.org/changeset/base/335672 >=20 >=20 > Log: > Build linprocfs and linsysfs also on arm64 > =20 > Sponsored by: Turing Robotic Industries >=20 > . . . = https://ci.freebsd.org/job/FreeBSD-head-powerpcspe-build/6487/consoleText (a gcc 4.2.1 32-bit target example): --- all_subdir_linprocfs --- /usr/src/sys/compat/linprocfs/linprocfs.c: In function = 'linprocfs_doprocstat': /usr/src/sys/compat/linprocfs/linprocfs.c:747: warning: format '%ld' = expects type 'long int', but argument 3 has type 'time_t' [-Wformat] /usr/src/sys/compat/linprocfs/linprocfs.c:748: warning: format '%ld' = expects type 'long int', but argument 3 has type 'time_t' [-Wformat] /usr/src/sys/compat/linprocfs/linprocfs.c:749: warning: format '%ld' = expects type 'long int', but argument 3 has type 'time_t' [-Wformat] /usr/src/sys/compat/linprocfs/linprocfs.c:750: warning: format '%ld' = expects type 'long int', but argument 3 has type 'time_t' [-Wformat] /usr/src/sys/compat/linprocfs/linprocfs.c:755: warning: format '%lu' = expects type 'long unsigned int', but argument 3 has type 'time_t' = [-Wformat] --- all_subdir_libiconv --- ctfmerge -L VERSION -g -o libiconv.kld iconv.o iconv_ucs.o iconv_xlat.o = iconv_xlat16.o iconv_converter_if.o --- all_subdir_linprocfs --- *** [linprocfs.o] Error code 1 https://ci.freebsd.org/job/FreeBSD-head-armv7-build/444/consoleText (32-bit clang example): --- all_subdir_linprocfs --- /usr/src/sys/compat/linprocfs/linprocfs.c:747:26: error: format = specifies type 'long' but the argument has type 'long long' = [-Werror,-Wformat] PS_ADD("utime", "%ld", TV2J(&kp.ki_rusage.ru_utime)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lld /usr/src/sys/compat/linprocfs/linprocfs.c:122:17: note: expanded from = macro 'TV2J' #define TV2J(x) ((x)->tv_sec * 100UL + (x)->tv_usec / 10000) ^ /usr/src/sys/compat/linprocfs/linprocfs.c:723:57: note: expanded from = macro 'PS_ADD' #define PS_ADD(name, fmt, arg) sbuf_printf(sb, " " fmt, arg) ^~~ /usr/src/sys/compat/linprocfs/linprocfs.c:748:26: error: format = specifies type 'long' but the argument has type 'long long' = [-Werror,-Wformat] PS_ADD("stime", "%ld", TV2J(&kp.ki_rusage.ru_stime)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lld /usr/src/sys/compat/linprocfs/linprocfs.c:122:17: note: expanded from = macro 'TV2J' #define TV2J(x) ((x)->tv_sec * 100UL + (x)->tv_usec / 10000) ^ /usr/src/sys/compat/linprocfs/linprocfs.c:723:57: note: expanded from = macro 'PS_ADD' #define PS_ADD(name, fmt, arg) sbuf_printf(sb, " " fmt, arg) ^~~ /usr/src/sys/compat/linprocfs/linprocfs.c:749:26: error: format = specifies type 'long' but the argument has type 'long long' = [-Werror,-Wformat] PS_ADD("cutime", "%ld", = TV2J(&kp.ki_rusage_ch.ru_utime)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lld /usr/src/sys/compat/linprocfs/linprocfs.c:122:17: note: expanded from = macro 'TV2J' #define TV2J(x) ((x)->tv_sec * 100UL + (x)->tv_usec / 10000) ^ /usr/src/sys/compat/linprocfs/linprocfs.c:723:57: note: expanded from = macro 'PS_ADD' #define PS_ADD(name, fmt, arg) sbuf_printf(sb, " " fmt, arg) ^~~ /usr/src/sys/compat/linprocfs/linprocfs.c:750:26: error: format = specifies type 'long' but the argument has type 'long long' = [-Werror,-Wformat] PS_ADD("cstime", "%ld", = TV2J(&kp.ki_rusage_ch.ru_stime)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lld /usr/src/sys/compat/linprocfs/linprocfs.c:122:17: note: expanded from = macro 'TV2J' #define TV2J(x) ((x)->tv_sec * 100UL + (x)->tv_usec / 10000) ^ /usr/src/sys/compat/linprocfs/linprocfs.c:723:57: note: expanded from = macro 'PS_ADD' #define PS_ADD(name, fmt, arg) sbuf_printf(sb, " " fmt, arg) ^~~ /usr/src/sys/compat/linprocfs/linprocfs.c:755:29: error: format = specifies type 'unsigned long' but the argument has type 'long long' = [-Werror,-Wformat] PS_ADD("starttime", "%lu", TV2J(&kp.ki_start) - = TV2J(&boottime)); = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lld /usr/src/sys/compat/linprocfs/linprocfs.c:122:17: note: expanded from = macro 'TV2J' #define TV2J(x) ((x)->tv_sec * 100UL + (x)->tv_usec / 10000) ^ /usr/src/sys/compat/linprocfs/linprocfs.c:723:57: note: expanded from = macro 'PS_ADD' #define PS_ADD(name, fmt, arg) sbuf_printf(sb, " " fmt, arg) ^~~ . . . --- all_subdir_linprocfs --- 5 errors generated. *** [linprocfs.o] Error code 1 mips64 is different but still broken . . . https://ci.freebsd.org/job/FreeBSD-head-mips64-build/3089/consoleText : --- all_subdir_linprocfs --- In file included from /usr/src/sys/compat/linprocfs/linprocfs.c:108: /usr/src/sys/compat/linux/linux_util.h:76:1: error: "DUMMY" redefined In file included from ./machine/reg.h:51, from /usr/src/sys/sys/ptrace.h:40, from /usr/src/sys/compat/linprocfs/linprocfs.c:64: ./machine/regnum.h:107:1: error: this is the location of the previous = definition . . . --- all_subdir_linprocfs --- *** [linprocfs.o] Error code 1 (powerpc64 built okay.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21B2ACE4-3945-48AE-BB04-5341F6723B98>