diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec index 6319560..4e3dd32 100644 --- a/cross-aarch64-gcc13-bootstrap.spec +++ b/cross-aarch64-gcc13-bootstrap.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec index b5b7da2..3178457 100644 --- a/cross-aarch64-gcc13.spec +++ b/cross-aarch64-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec index e2b572c..093954a 100644 --- a/cross-amdgcn-gcc13.spec +++ b/cross-amdgcn-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec index e31493d..1a696d5 100644 --- a/cross-arm-gcc13.spec +++ b/cross-arm-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec index 762d6fe..ffd0b4e 100644 --- a/cross-arm-none-gcc13-bootstrap.spec +++ b/cross-arm-none-gcc13-bootstrap.spec @@ -709,7 +709,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec index 0040ca4..0462f0a 100644 --- a/cross-arm-none-gcc13.spec +++ b/cross-arm-none-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec index d67a8cf..5ef2482 100644 --- a/cross-avr-gcc13-bootstrap.spec +++ b/cross-avr-gcc13-bootstrap.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec index 4e1d052..2285e1e 100644 --- a/cross-avr-gcc13.spec +++ b/cross-avr-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-bpf-gcc13.spec b/cross-bpf-gcc13.spec index 6279293..cb05ab7 100644 --- a/cross-bpf-gcc13.spec +++ b/cross-bpf-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec index 9a7543a..7a1d450 100644 --- a/cross-epiphany-gcc13-bootstrap.spec +++ b/cross-epiphany-gcc13-bootstrap.spec @@ -709,7 +709,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec index 6c2b9a4..8bdc898 100644 --- a/cross-epiphany-gcc13.spec +++ b/cross-epiphany-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec index d61ccfb..3fdd87a 100644 --- a/cross-hppa-gcc13-bootstrap.spec +++ b/cross-hppa-gcc13-bootstrap.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec index d21adc8..e40ad43 100644 --- a/cross-hppa-gcc13.spec +++ b/cross-hppa-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec index 8a3f499..1057ca6 100644 --- a/cross-m68k-gcc13.spec +++ b/cross-m68k-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec index 6aa7859..74da4f8 100644 --- a/cross-mips-gcc13.spec +++ b/cross-mips-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec index 7d766e8..5120e12 100644 --- a/cross-nvptx-gcc13.spec +++ b/cross-nvptx-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec index 3db1d2d..ab38835 100644 --- a/cross-ppc64-gcc13.spec +++ b/cross-ppc64-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec index 75302b1..f957af9 100644 --- a/cross-ppc64le-gcc13.spec +++ b/cross-ppc64le-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec index 87a65e6..1139177 100644 --- a/cross-pru-gcc13-bootstrap.spec +++ b/cross-pru-gcc13-bootstrap.spec @@ -709,7 +709,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec index 58cbcd2..14f794b 100644 --- a/cross-pru-gcc13.spec +++ b/cross-pru-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec index d21be81..76068f9 100644 --- a/cross-riscv64-elf-gcc13-bootstrap.spec +++ b/cross-riscv64-elf-gcc13-bootstrap.spec @@ -709,7 +709,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec index b39b938..7fba437 100644 --- a/cross-riscv64-elf-gcc13.spec +++ b/cross-riscv64-elf-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec index 8f69c3f..f62a2d3 100644 --- a/cross-riscv64-gcc13-bootstrap.spec +++ b/cross-riscv64-gcc13-bootstrap.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec index 646b966..fd4bbc3 100644 --- a/cross-riscv64-gcc13.spec +++ b/cross-riscv64-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec index dac9507..110e6d8 100644 --- a/cross-rx-gcc13-bootstrap.spec +++ b/cross-rx-gcc13-bootstrap.spec @@ -709,7 +709,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec index 692ffc9..29144a9 100644 --- a/cross-rx-gcc13.spec +++ b/cross-rx-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec index f3a50d9..938a67f 100644 --- a/cross-s390x-gcc13.spec +++ b/cross-s390x-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec index 6ed756f..77604b8 100644 --- a/cross-sparc-gcc13.spec +++ b/cross-sparc-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec index acbb304..c7d5b9c 100644 --- a/cross-sparc64-gcc13.spec +++ b/cross-sparc64-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec index 5050424..48e1e9c 100644 --- a/cross-x86_64-gcc13.spec +++ b/cross-x86_64-gcc13.spec @@ -708,7 +708,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/gcc.spec.in b/gcc.spec.in index 0ab13c2..950f6ec 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1720,7 +1720,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec index 37ed6c5..b3953a2 100644 --- a/gcc13-testresults.spec +++ b/gcc13-testresults.spec @@ -911,7 +911,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \ diff --git a/gcc13.changes b/gcc13.changes index 3968192..8a909ae 100644 --- a/gcc13.changes +++ b/gcc13.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Mar 24 13:37:38 UTC 2023 - Martin Liška + +- Use --enable-link-serialization rather that --enable-link-mutex, + the benefit of the former one is that the linker jobs are not + holding tokens of the make's jobserver. + ------------------------------------------------------------------- Thu Mar 23 22:14:59 UTC 2023 - Martin Liška diff --git a/gcc13.spec b/gcc13.spec index 7b34c16..bbfd3cf 100644 --- a/gcc13.spec +++ b/gcc13.spec @@ -2728,7 +2728,7 @@ amdgcn-amdhsa,\ %else --disable-bootstrap \ %endif - --enable-link-mutex \ + --enable-link-serialization \ $CONFARGS \ --build=%{GCCDIST} \ --host=%{GCCDIST} || \