Date: Sat, 30 Jun 2018 23:50:44 -0700 From: Mark Millard <marklmi@yahoo.com> To: daichi@FreeBSD.org, svn-src-head@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: svn commit: r335836 - head/usr.bin/top [broke ci.freebsd.org 's FreeBSD-head-riscv64-build] Message-ID: <C6D8D7E6-5330-4FF4-A45A-16F1466308F2@yahoo.com>
next in thread | raw e-mail | index | archive | help
https://ci.freebsd.org/job/FreeBSD-head-riscv64-build/9229/consoleText --- utils.o --- /usr/local/bin/riscv64-unknown-freebsd11.1-gcc = --sysroot=3D/workspace/obj/workspace/src/riscv.riscv64/tmp = -B/usr/local/riscv64-unknown-freebsd11.1/bin/ -O2 -pipe = -march=3Drv64imafdc -mabi=3Dlp64d -g -MD -MF.depend.utils.o = -MTutils.o -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers = -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decls -Wold-style-definition -Wno-pointer-sign = -Wno-error=3Daddress -Wno-error=3Darray-bounds -Wno-error=3Dattributes = -Wno-error=3Dbool-compare -Wno-error=3Dcast-align -Wno-error=3Dclobbered = -Wno-error=3Denum-compare -Wno-error=3Dextra -Wno-error=3Dinline = -Wno-error=3Dlogical-not-parentheses -Wno-error=3Dstrict-aliasing = -Wno-error=3Duninitialized -Wno-error=3Dunused-but-set-variable = -Wno-error=3Dunused-function -Wno-error=3Dunused-value = -Wno-error=3Dmisleading-indentation -Wno-error=3Dnonnull-compare = -Wno-error=3Dshift-negative-value -Wno-error=3Dtautological-compare = -Wno-error=3Dunused-const-variable -Wno-error=3Dbool-operation = -Wno-error=3Ddeprecated -Wno-error=3Dexpansion-to-defined = -Wno-error=3Dformat-overflow -Wno-error=3Dformat-truncation = -Wno-error=3Dimplicit-fallthrough -Wno-error=3Dint-in-bool-context = -Wno-error=3Dmemset-elt-size -Wno-error=3Dnonnull = -Wno-error=3Dpointer-compare -Wno-error=3Dstringop-overflow = -Wno-error=3Ddiscarded-qualifiers -Wno-error=3Dincompatible-pointer-types = -c /workspace/src/usr.bin/top/utils.c -o utils.o /workspace/src/usr.bin/top/utils.c: In function 'utf8strvisx': /workspace/src/usr.bin/top/utils.c:357:10: error: comparison is always = true due to limited range of data type [-Werror=3Dtype-limits] if (0 <=3D *src_p && *src_p <=3D 31) { ^~ I'd guess that riscv64 has an unsigned type for *src_p --and that fairly modern gcc complains where system clang and old gcc 4.2.1 do not complain for the issue. =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?C6D8D7E6-5330-4FF4-A45A-16F1466308F2>