> On 31. Mar 2024, at 11:23, Ryo ONODERA <r...@tetera.org> wrote:
> 
> chris...@astron.com (Christos Zoulas) writes:
> 
>> In article <4b5a66e1-7a3e-48ce-9ace-f9249e75f...@mailbox.org>,
>> J. Hannken-Illjes <hann...@mailbox.org> wrote:
>>> I also added an abort() when _dwarf_get_reloc_size() returns on
>>> "/* unknown relocation. */" and this killed nbctfconvert() as
>>> 
>>> _dwarf_get_reloc_size ()
>>> _dwarf_elf_init ()
>>> dwarf_elf_init ()
>>> dw_read ()
>>> main ()
>>> 
>>> For me nbctfmerge on kernels succeeds after up to 30 minutes, but the
>>> resulting CTF sections are long too big and look very strange:
>> 
>> Yes, I also reproduced it. Back to the drawing board...
>> 
>> christos
>> 
> 
> Anyway I can finish build.sh kernel=GENERIC now.
> Thanks for your investigations.

Unfortunately broken again (for read only source at least) ...

After Taylors commits last night:

cvs rdiff -u -r1.217 -r1.218 src/tools/Makefile
cvs rdiff -u -r1.2 -r0 src/tools/elftoolchain/Makefile
cvs rdiff -u -r1.5 -r1.6 src/tools/elftoolchain/libdwarf/Makefile

my clean build of amd64, i386 and sparc64 succeeded without any
problem.  With your commit this morning:

cvs rdiff -u -r1.6 -r1.7 \
   src/external/bsd/elftoolchain/dist/libdwarf/libdwarf_reloc.c
cvs rdiff -u -r1.8 -r1.9 src/tools/Makefile.nbincludes
cvs rdiff -u -r1.3 -r1.4 src/tools/elftoolchain/common/sys/Makefile
cvs rdiff -u -r0 -r1.1 src/tools/elftoolchain/common/sys/elfdefinitions.h

amd64 and i386 still build, but sparc64 fails with:

sh: cannot create elfdefinitions.h: read-only file system
--- elfdefinitions.h ---
*** Failed target: elfdefinitions.h
*** Failed commands:
        ${_MKTARGET_CREATE}
        => @# " create " sys/elfdefinitions.h
        ${TOOL_M4} -I${SRCDIR} -D SRCDIR=${SRCDIR} ${M4FLAGS}  
elfdefinitions.m4 > ${.TARGET}
        => /work/build/obj/tools.sparc64/bin/nbm4 
-I/work/build/src/tools/elftoolchain/common/sys/../../../../external/bsd/elftoolchain/dist/common/sys
 -D 
SRCDIR=/work/build/src/tools/elftoolchain/common/sys/../../../../external/bsd/elftoolchain/dist/common/sys
   elfdefinitions.m4 > elfdefinitions.h
*** [elfdefinitions.h] Error code 1

--
J. Hannken-Illjes - hann...@mailbox.org

Reply via email to