Re: elfctl is broken

From: Konstantin Belousov <kostikbel_at_gmail.com>
Date: Sat, 23 Jan 2021 12:51:44 +0200
On Fri, Jan 22, 2021 at 05:13:16PM -0800, Steve Kargl wrote:
> ===> usr.bin/elfctl (all)
> cc -target i386-unknown-freebsd14.0 --sysroot=/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=core2  -MD  -MF.depend.elfctl.o -MTelfctl.o -std=gnu99 -Wno-format-zero-length -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 -Wun used-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -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/elfctl/elfctl.c -o elfctl.o                                     /usr/src/usr.bin/elfctl/elfctl.c:258:18: error: comparison of integers of different signs: 'long' and 'unsigned int' [-
>  Werror,-Wsign-compare]                                  else if (val > UINT_MAX)
>               ~~~ ^ ~~~~~~~~                                                                                                                        
> 1 error generated.                                                                                                                                                             
> *** Error code 1                                          
> 
https://reviews.freebsd.org/D28301
Received on Sat Jan 23 2021 - 09:51:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC