Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jan 2021 12:51:44 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: elfctl is broken
Message-ID:  <YAv/wFBtcHOMhpda@kib.kiev.ua>
In-Reply-To: <20210123011316.GA69125@troutmask.apl.washington.edu>
References:  <20210123011316.GA69125@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 22, 2021 at 05:13:16PM -0800, Steve Kargl wrote:
> =3D=3D=3D> usr.bin/elfctl (all)
> cc -target i386-unknown-freebsd14.0 --sysroot=3D/usr/obj/usr/src/i386.i38=
6/tmp -B/usr/obj/usr/src/i386.i386/tmp/usr/bin  -O2 -pipe -fno-common -I/us=
r/src/contrib/elftoolchain/li belftc -I/usr/src/contrib/elftoolchain/common=
 -march=3Dcore2  -MD  -MF.depend.elfctl.o -MTelfctl.o -std=3Dgnu99 -Wno-for=
mat-zero-length -fstack-protector-strong -Wsystem-headers - Werror -Wall -W=
no-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-protot=
ypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Ws=
hadow -Wun used-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-=
externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissin=
g-variable-declarations -Wthread-saf ety -Wno-empty-body -Wno-string-plus-i=
nt -Wno-unused-const-variable  -Qunused-arguments    -c /usr/src/usr.bin/el=
fctl/elfctl.c -o elfctl.o                                     /usr/src/usr.=
bin/elfctl/elfctl.c:258:18: error: comparison of integers of different sign=
s: 'long' and 'unsigned int' [-
>  Werror,-Wsign-compare]                                  else if (val > U=
INT_MAX)
>               ~~~ ^ ~~~~~~~~                                             =
                                                                          =
=20
> 1 error generated.                                                       =
                                                                           =
                          =20
> *** Error code 1                                         =20
>=20
https://reviews.freebsd.org/D28301



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YAv/wFBtcHOMhpda>