daily bumps not enabled on the binutils 2.45 branch
H.J. Lu
hjl.tools@gmail.com
Mon Jul 21 16:34:07 GMT 2025
On Mon, Jul 21, 2025 at 6:58 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> On 21.07.2025 15:38, H.J. Lu wrote:
> > On Mon, Jul 21, 2025 at 3:23 AM Nick Clifton <nickc@redhat.com> wrote:
> >>>>> Please enable the daily bumps on the binutils 2.45 branch.
> >>>>
> >>>> Why do want them ?
> >>>>
> >>>> We already have an issue with too much cruft in the git logs
> >>>> from the daily bumps on the mainline. Do we really need it
> >>>> on the branch too ?
> >>>
> >>> Indeed - weren't we rather hoping to get rid of them on the main
> >>> branch, too?
> >>
> >> Yes. But I do not think that we ever found an effective way to do so.
> >> (Suggestions still welcome however...)
> >>
> >
> > The daily date bump script should do a "git diff" with irrelevant changes
> > filtered out to decide if a date bump is needed or not, something like
> >
> > git log bfd/version.h | head -1 | awk '{ print $2 }' | xargs git diff
> > --stat=4096 | grep -v "files changed" | awk '{ print $1 }'
> >
> > and filter out changes on documentation and tests.
>
> Such filtering would be subjective, I fear. But I anyway don't think the
> above is what we want. If a time stamp is needed, it should be taken from
> e.g. the most recent commit, without committing the result itself into
> the tree. While variants are possible, "most recent commit" would likely
> want to mean the most recent upstream one.
>
> Jan
Here is a script:
[hjl@gnu-cfl-3 binutils-gdb]$ binutils-abi-changes
014ae6af49829253d39dd383c1f7918d10e88325
No ABI change since commit:
014ae6af498 (HEAD -> master, origin/master, origin/HEAD) Remove
NaCl/arm target support
[hjl@gnu-cfl-3 binutils-gdb]$ echo $?
1
[hjl@gnu-cfl-3 binutils-gdb]$ binutils-abi-changes
The following files are changed since commit:
b8ef1608ac2 Automatic date update in version.in
bfd/Makefile.am
bfd/Makefile.in
bfd/config.bfd
bfd/configure
bfd/configure.ac
bfd/elf-bfd.h
bfd/elf-nacl.c
bfd/elf-nacl.h
bfd/elf32-arm.c
bfd/targets.c
which may change ABIs of libbfd.so and libopcodes.so
[hjl@gnu-cfl-3 binutils-gdb]$ echo $?
0
[hjl@gnu-cfl-3 binutils-gdb]$
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-abi-changes
Type: application/octet-stream
Size: 1148 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250721/0b846d53/attachment.obj>
More information about the Binutils
mailing list