Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2021 17:13:16 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   elfctl is broken
Message-ID:  <20210123011316.GA69125@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
=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



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