On Sun, 30 Jun 2024 at 20:41, matthew green <m...@eterna23.net> wrote: > > Robert Swindells writes: > > > > >> - size_t count = from_st->st_size; > > >> #if defined _GLIBCXX_USE_SENDFILE && ! defined > > >> _GLIBCXX_FILESYSTEM_IS_WINDOWS > > >> + size_t count = from_st->st_size; > > > > > > that looks right to me. it works and i commited it. > > > > I didn't think we had sendfile(2). > > the variable was unused _outside_ of the #ifdef.
That was only the beginning of the troubles... now it is completely unbuildable after the last binutils commit - I removed the tools directory and started entirely from scratch: .... install ===> tools/binutils /bin/sh /home/sysbuild/src/tools/binutils/../../external/gpl3/binutils/dist/mkinstalldirs /dumps/sysbuild/amd64/tools /dumps/sysbuild/amd64/tools /dumps/sysbuild/amd64/tools/bin/nbmake -f /home/sysbuild/src/tools/binutils/../Makefile.gnuwrap install-recursive Making install in po nbmake[10]: don't know how to make ../libsframe/libsframe.la. Stop nbmake[10]: stopped in /dumps/sysbuild/amd64/obj/home/sysbuild/src/tools/binutils/build/bfd nbmake[9]: stopped in /dumps/sysbuild/amd64/obj/home/sysbuild/src/tools/binutils/build/bfd nbmake[8]: stopped in /dumps/sysbuild/amd64/obj/home/sysbuild/src/tools/binutils/build/bfd *** Failed target: install-bfd .... -- ----