git: 86f33b5fcf60 - main - elfctl: allow features to be specified by value
Antoine Brodin
antoine at freebsd.org
Sat Jan 23 07:30:06 UTC 2021
On Fri, Jan 22, 2021 at 8:40 PM Ed Maste <emaste at freebsd.org> wrote:
>
> The branch main has been updated by emaste:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=86f33b5fcf6087bf4439881011b920ff99e6e300
>
> commit 86f33b5fcf6087bf4439881011b920ff99e6e300
> Author: Ed Maste <emaste at FreeBSD.org>
> AuthorDate: 2021-01-22 17:22:35 +0000
> Commit: Ed Maste <emaste at FreeBSD.org>
> CommitDate: 2021-01-22 19:38:52 +0000
>
> elfctl: allow features to be specified by value
>
> This will allow elfctl on older releases to set bits that are not yet
> known there, so that the binary will have the correct settings applied
> if run on a later FreeBSD version.
>
> PR: 252629 (related)
> Suggested by: kib
> Reviewed by: gbe (manpage, earlier), kib
> MFC after: 3 days
> Sponsored by: The FreeBSD Foundation
> Differential Revision: https://reviews.freebsd.org/D28284
This fails to build:
--- all_subdir_usr.bin ---
--- all_subdir_usr.bin/elfctl ---
/usr/local/poudriere/jails/main-i386/usr/src/usr.bin/elfctl/elfctl.c:258:18:
error: comparison of integers of different signs: 'long' and 'unsigned
int' [-Werror,-Wsign-compare]
--- all_subdir_lib ---
--- powitf2.po ---
--- all_subdir_usr.bin ---
else if (val > UINT_MAX)
~~~ ^ ~~~~~~~~
--- all_subdir_lib ---
Antoine
More information about the dev-commits-src-main
mailing list