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

Bug#1053551: ftbfs on amd64 when building binary-arch



Hi,

On 10/12/23 19:14, Simon Richter wrote:

I cannot reproduce this, and I would rather not investigate time into that. Please check if you see this with gcc-13 as well.

I suspect it's a missing dependency, so the failure is more dependent on "number of threads", and that it succeeds for -b might be coincidence.

I'll try adding a sleep statement to the rule generating this file and see if I can get it to reproduce always.

Confirmed:

--- a/src/gcc/Makefile.in.orig  2023-10-12 12:20:46.349633453 +0200
+++ b/src/gcc/Makefile.in       2023-10-12 12:21:08.087623131 +0200
@@ -2431,6 +2431,7 @@
 $(simple_generated_h:insn-%.h=s-%): s-%: build/gen%$(build_exeext)
 	$(RUN_GEN) build/gen$*$(build_exeext) $(md_file) \
 	  $(filter insn-conditions.md,$^) > tmp-$*.h
+	if test "$*" = "attr-common"; then sleep 300; fi
 	$(SHELL) $(srcdir)/../move-if-change tmp-$*.h insn-$*.h
 	$(STAMP) s-$*

makes the problem reproducible even when building with -j2, and regardless of whether building _all packages in the same build or not. I'll check tomorrow about gcc 13 and if that also happens upstream.

   Simon


Reply to: