From owner-freebsd-current@freebsd.org Sat Jan 23 01:13:25 2021 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 288CE4DBE83 for ; Sat, 23 Jan 2021 01:13:25 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DMymz5hTwz4g4s for ; Sat, 23 Jan 2021 01:13:23 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.16.1/8.16.1) with ESMTPS id 10N1DGme069131 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 22 Jan 2021 17:13:16 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.16.1/8.16.1/Submit) id 10N1DGAK069130 for freebsd-current@freebsd.org; Fri, 22 Jan 2021 17:13:16 -0800 (PST) (envelope-from sgk) Date: Fri, 22 Jan 2021 17:13:16 -0800 From: Steve Kargl To: freebsd-current@freebsd.org Subject: elfctl is broken Message-ID: <20210123011316.GA69125@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4DMymz5hTwz4g4s X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.29 / 15.00]; RCVD_TLS_ALL(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[128.95.76.21:from]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[128.95.76.21:from:127.0.2.255]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.29)[-0.288]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:73, ipnet:128.95.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current]; DMARC_POLICY_SOFTFAIL(0.10)[washington.edu : No valid SPF, No valid DKIM, none] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2021 01:13:25 -0000 =3D=3D=3D> usr.bin/elfctl (all) cc -target i386-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/i386.i386/= tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin -O2 -pipe -fno-common -I/usr/= src/contrib/elftoolchain/li belftc -I/usr/src/contrib/elftoolchain/common -= march=3Dcore2 -MD -MF.depend.elfctl.o -MTelfctl.o -std=3Dgnu99 -Wno-forma= t-zero-length -fstack-protector-strong -Wsystem-headers - Werror -Wall -Wno= -format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototyp= es -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wsha= dow -Wun used-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-ex= terns -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-= variable-declarations -Wthread-saf ety -Wno-empty-body -Wno-string-plus-int= -Wno-unused-const-variable -Qunused-arguments -c /usr/src/usr.bin/elfc= tl/elfctl.c -o elfctl.o /usr/src/usr.bi= n/elfctl/elfctl.c:258:18: error: comparison of integers of different signs:= 'long' and 'unsigned int' [-Werror,-Wsign-compare] = else if (val > UINT_MAX) ~~~ ^ ~~~~~~~~ = =20 1 error generated. = = =20 *** Error code 1 =20 --=20 Steve