Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build.sh kernel does not finish with endless nbctfmerge run



> On 31. Mar 2024, at 11:23, Ryo ONODERA <ryo%tetera.org@localhost> wrote:
> 
> christos%astron.com@localhost (Christos Zoulas) writes:
> 
>> In article <4B5A66E1-7A3E-48CE-9ACE-F9249E75FD4F%mailbox.org@localhost>,
>> J. Hannken-Illjes <hannken%mailbox.org@localhost> 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 - hannken%mailbox.org@localhost


Home | Main Index | Thread Index | Old Index