[Linaro-TCWG-CI] gcc-16-2112-gac2fb60a67d6: Failure on master-thumb_m7_hard_eabi

2025-07-09 Thread ci_notify--- via Gcc-regression
Dear contributor,

Our automatic CI has detected problems related to your patch(es). Please find 
some details below.

In  arm-eabi cortex-m7 hard, after:
  | commit gcc-16-2112-gac2fb60a67d6
  | Author: Jonathan Wakely 
  | Date:   Fri Jul 4 16:44:13 2025 +0100
  | 
  | libstdc++: Ensure pool resources meet alignment requirements [PR118681]
  | 
  | For allocations with size > alignment and size % alignment != 0 we were
  | sometimes returning pointers that did not meet the requested aligment.
  | For example, allocate(24, 16) would select the pool for 24-byte objects
  | ... 23 lines of the commit log omitted.

Produces Failure:
  | Results changed to
  | # reset_artifacts:
  | -10
  | # true:
  | 0
  | # build_abe binutils:
  | 1
  | # build_abe stage1 -- --set gcc_override_configure=--disable-multilib --set 
gcc_override_configure=--with-mode=thumb --set 
gcc_override_configure=--with-cpu=cortex-m7 --set 
gcc_override_configure=--with-float=hard:
  | 2
  | # build_abe newlib:
  | 4
  | # build_abe stage2 -- --set gcc_override_configure=--disable-multilib --set 
gcc_override_configure=--with-mode=thumb --set 
gcc_override_configure=--with-cpu=cortex-m7 --set 
gcc_override_configure=--with-float=hard:
  | # FAILED
  | # build_abe gdb:
  | # build_abe qemu:
  | # First few build errors in logs:
  | # 00:06:32 
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libstdc++-v3/src/c++17/memory_resource.cc:1474:29:
 error: ‘choose_block_size’ was not declared in this scope
  | # 00:06:32 
/home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libstdc++-v3/src/c++17/memory_resource.cc:1491:25:
 error: ‘choose_block_size’ was not declared in this scope
  | # 00:06:32 make[5]: *** [Makefile:587: memory_resource.lo] Error 1
  | # 00:06:32 make[4]: *** [Makefile:797: all-recursive] Error 1
  | # 00:06:32 make[3]: *** [Makefile:577: all-recursive] Error 1
  | # 00:06:32 make[2]: *** [Makefile:502: all] Error 2
  | # 00:06:32 make[1]: *** [Makefile:12269: all-target-libstdc++-v3] Error 2
  | # 00:06:32 make: *** [Makefile:1062: all] Error 2
  | 
  | From
  | # reset_artifacts:
  | -10
  | # true:
  | 0
  | # build_abe binutils:
  | 1
  | # build_abe stage1 -- --set gcc_override_configure=--disable-multilib --set 
gcc_override_configure=--with-mode=thumb --set 
gcc_override_configure=--with-cpu=cortex-m7 --set 
gcc_override_configure=--with-float=hard:
  | 2
  | # build_abe newlib:
  | 4
  | # build_abe stage2 -- --set gcc_override_configure=--disable-multilib --set 
gcc_override_configure=--with-mode=thumb --set 
gcc_override_configure=--with-cpu=cortex-m7 --set 
gcc_override_configure=--with-float=hard:
  | 5
  | # build_abe gdb:
  | 6
  | # build_abe qemu:
  | 7

Used configuration :
 *CI config* tcwg_gnu_embed_build arm-eabi -mthumb -march=armv7e-m+fp.dp 
-mtune=cortex-m7 -mfloat-abi=hard -mfpu=auto
 *configure and test flags:* --target arm-eabi --disable-multilib 
--with-mode=thumb --with-cpu=cortex-m7 --with-float=hard 
--target_board=-mthumb/-march=armv7e-m+fp.dp/-mtune=cortex-m7/-mfloat-abi=hard/-mfpu=auto
 qemu_cpu=cortex-m7

We track this bug report under https://linaro.atlassian.net/browse/GNU-1625. 
Please let us know if you have a fix.

If you have any questions regarding this report, please ask on 
linaro-toolch...@lists.linaro.org mailing list.

-8<--8<--8<--

The information below contains the details of the failures, and the ways to 
reproduce a debug environment:

You can find the failure logs in
 * 
https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts/
The full lists of regressions and improvements as well as configure and make 
commands are in
 * 
https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts/notify/

Current build   : 
https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/146/artifact/artifacts

Instruction to reproduce the build : 
https://gitlab.com/Linaro/tcwg/ci/interesting-commits/-/raw/master/gcc/sha1/ac2fb60a67d6d1de6446c25c5623b8a1389f4770/tcwg_gnu_embed_build/master-thumb_m7_hard_eabi/reproduction_instructions.txt

Full commit : See in git+ssh://linar...@gcc.gnu.org/git/gcc.git


Re: [Linaro-TCWG-CI] gcc-16-2112-gac2fb60a67d6: Failure on master-thumb_m7_hard_eabi

2025-07-09 Thread Jonathan Wakely via Gcc-regression
On Wed, 9 Jul 2025, 08:22 ,  wrote:

> Dear contributor,
>
> Our automatic CI has detected problems related to your patch(es). Please
> find some details below.
>
> In  arm-eabi cortex-m7 hard, after:
>   | commit gcc-16-2112-gac2fb60a67d6
>   | Author: Jonathan Wakely 
>   | Date:   Fri Jul 4 16:44:13 2025 +0100
>   |
>   | libstdc++: Ensure pool resources meet alignment requirements
> [PR118681]
>   |
>   | For allocations with size > alignment and size % alignment != 0 we
> were
>   | sometimes returning pointers that did not meet the requested
> aligment.
>   | For example, allocate(24, 16) would select the pool for 24-byte
> objects
>   | ... 23 lines of the commit log omitted.
>
> Produces Failure:
>   | Results changed to
>   | # reset_artifacts:
>   | -10
>   | # true:
>   | 0
>   | # build_abe binutils:
>   | 1
>   | # build_abe stage1 -- --set gcc_override_configure=--disable-multilib
> --set gcc_override_configure=--with-mode=thumb --set
> gcc_override_configure=--with-cpu=cortex-m7 --set
> gcc_override_configure=--with-float=hard:
>   | 2
>   | # build_abe newlib:
>   | 4
>   | # build_abe stage2 -- --set gcc_override_configure=--disable-multilib
> --set gcc_override_configure=--with-mode=thumb --set
> gcc_override_configure=--with-cpu=cortex-m7 --set
> gcc_override_configure=--with-float=hard:
>   | # FAILED
>   | # build_abe gdb:
>   | # build_abe qemu:
>   | # First few build errors in logs:
>   | # 00:06:32
> /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libstdc++-v3/src/c++17/memory_resource.cc:1474:29:
> error: ‘choose_block_size’ was not declared in this scope
>   | # 00:06:32
> /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libstdc++-v3/src/c++17/memory_resource.cc:1491:25:
> error: ‘choose_block_size’ was not declared in this scope
>   | # 00:06:32 make[5]: *** [Makefile:587: memory_resource.lo] Error 1
>   | # 00:06:32 make[4]: *** [Makefile:797: all-recursive] Error 1
>   | # 00:06:32 make[3]: *** [Makefile:577: all-recursive] Error 1
>   | # 00:06:32 make[2]: *** [Makefile:502: all] Error 2
>   | # 00:06:32 make[1]: *** [Makefile:12269: all-target-libstdc++-v3]
> Error 2
>   | # 00:06:32 make: *** [Makefile:1062: all] Error 2
>   |
>   | From
>   | # reset_artifacts:
>   | -10
>   | # true:
>   | 0
>   | # build_abe binutils:
>   | 1
>   | # build_abe stage1 -- --set gcc_override_configure=--disable-multilib
> --set gcc_override_configure=--with-mode=thumb --set
> gcc_override_configure=--with-cpu=cortex-m7 --set
> gcc_override_configure=--with-float=hard:
>   | 2
>   | # build_abe newlib:
>   | 4
>   | # build_abe stage2 -- --set gcc_override_configure=--disable-multilib
> --set gcc_override_configure=--with-mode=thumb --set
> gcc_override_configure=--with-cpu=cortex-m7 --set
> gcc_override_configure=--with-float=hard:
>   | 5
>   | # build_abe gdb:
>   | 6
>   | # build_abe qemu:
>   | 7
>
> Used configuration :
>  *CI config* tcwg_gnu_embed_build arm-eabi -mthumb -march=armv7e-m+fp.dp
> -mtune=cortex-m7 -mfloat-abi=hard -mfpu=auto
>  *configure and test flags:* --target arm-eabi --disable-multilib
> --with-mode=thumb --with-cpu=cortex-m7 --with-float=hard
> --target_board=-mthumb/-march=armv7e-m+fp.dp/-mtune=cortex-m7/-mfloat-abi=hard/-mfpu=auto
> qemu_cpu=cortex-m7
>
> We track this bug report under
> https://linaro.atlassian.net/browse/GNU-1625. Please let us know if you
> have a fix.
>

I know what's wrong, will fix in a couple of hours.

The definition of choose_pool_size needs to be moved outside the
preprocessor group guarded by
#ifdef _GLIBCXX_HAS_GTHREADS


> If you have any questions regarding this report, please ask on
> linaro-toolch...@lists.linaro.org mailing list.
>
>
> -8<--8<--8<--
>
> The information below contains the details of the failures, and the ways
> to reproduce a debug environment:
>
> You can find the failure logs in
>  *
> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts/
> The full lists of regressions and improvements as well as configure and
> make commands are in
>  *
> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts/notify/
>
> Current build   :
> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts
> Reference build :
> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/146/artifact/artifacts
>
> Instruction to reproduce the build :
> https://gitlab.com/Linaro/tcwg/ci/interesting-commits/-/raw/master/gcc/sha1/ac2fb60a67d6d1de6446c25c5623b8a1389f4770/tcwg_gnu_embed_build/master-thumb_m7_hard_eabi/reproduction_instructions.txt
>
> Full commit : See in git+ssh://linar...@gcc.gnu.org/git/gcc.git


Regressions on native/master at commit r16-2132 vs commit r16-2120 on Linux/x86_64

2025-07-09 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r16-2132 vs commit r16-2120 on Linux/x86_64
New failures:

New passes:
FAIL: gcc.dg/vect/pr101145.c -flto -ffat-lto-objects  scan-tree-dump-times vect 
"vectorized 1 loops" 7
FAIL: gcc.dg/vect/pr101145.c -flto -ffat-lto-objects  scan-tree-dump-times vect 
"vectorized 1 loops" 7
FAIL: gcc.dg/vect/pr101145.c scan-tree-dump-times vect "vectorized 1 loops" 7
FAIL: gcc.dg/vect/pr101145.c scan-tree-dump-times vect "vectorized 1 loops" 7


Re: [Linaro-TCWG-CI] gcc-16-2112-gac2fb60a67d6: Failure on master-thumb_m7_hard_eabi

2025-07-09 Thread Jonathan Wakely via Gcc-regression
On Wed, 9 Jul 2025 at 08:55, Jonathan Wakely  wrote:
>
>
>
> On Wed, 9 Jul 2025, 08:22 ,  wrote:
>>
>> Dear contributor,
>>
>> Our automatic CI has detected problems related to your patch(es). Please 
>> find some details below.
>>
>> In  arm-eabi cortex-m7 hard, after:
>>   | commit gcc-16-2112-gac2fb60a67d6
>>   | Author: Jonathan Wakely 
>>   | Date:   Fri Jul 4 16:44:13 2025 +0100
>>   |
>>   | libstdc++: Ensure pool resources meet alignment requirements 
>> [PR118681]
>>   |
>>   | For allocations with size > alignment and size % alignment != 0 we 
>> were
>>   | sometimes returning pointers that did not meet the requested 
>> aligment.
>>   | For example, allocate(24, 16) would select the pool for 24-byte 
>> objects
>>   | ... 23 lines of the commit log omitted.
>>
>> Produces Failure:
>>   | Results changed to
>>   | # reset_artifacts:
>>   | -10
>>   | # true:
>>   | 0
>>   | # build_abe binutils:
>>   | 1
>>   | # build_abe stage1 -- --set gcc_override_configure=--disable-multilib 
>> --set gcc_override_configure=--with-mode=thumb --set 
>> gcc_override_configure=--with-cpu=cortex-m7 --set 
>> gcc_override_configure=--with-float=hard:
>>   | 2
>>   | # build_abe newlib:
>>   | 4
>>   | # build_abe stage2 -- --set gcc_override_configure=--disable-multilib 
>> --set gcc_override_configure=--with-mode=thumb --set 
>> gcc_override_configure=--with-cpu=cortex-m7 --set 
>> gcc_override_configure=--with-float=hard:
>>   | # FAILED
>>   | # build_abe gdb:
>>   | # build_abe qemu:
>>   | # First few build errors in logs:
>>   | # 00:06:32 
>> /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libstdc++-v3/src/c++17/memory_resource.cc:1474:29:
>>  error: ‘choose_block_size’ was not declared in this scope
>>   | # 00:06:32 
>> /home/tcwg-buildslave/workspace/tcwg_gnu_1/abe/snapshots/gcc.git~master/libstdc++-v3/src/c++17/memory_resource.cc:1491:25:
>>  error: ‘choose_block_size’ was not declared in this scope
>>   | # 00:06:32 make[5]: *** [Makefile:587: memory_resource.lo] Error 1
>>   | # 00:06:32 make[4]: *** [Makefile:797: all-recursive] Error 1
>>   | # 00:06:32 make[3]: *** [Makefile:577: all-recursive] Error 1
>>   | # 00:06:32 make[2]: *** [Makefile:502: all] Error 2
>>   | # 00:06:32 make[1]: *** [Makefile:12269: all-target-libstdc++-v3] Error 2
>>   | # 00:06:32 make: *** [Makefile:1062: all] Error 2
>>   |
>>   | From
>>   | # reset_artifacts:
>>   | -10
>>   | # true:
>>   | 0
>>   | # build_abe binutils:
>>   | 1
>>   | # build_abe stage1 -- --set gcc_override_configure=--disable-multilib 
>> --set gcc_override_configure=--with-mode=thumb --set 
>> gcc_override_configure=--with-cpu=cortex-m7 --set 
>> gcc_override_configure=--with-float=hard:
>>   | 2
>>   | # build_abe newlib:
>>   | 4
>>   | # build_abe stage2 -- --set gcc_override_configure=--disable-multilib 
>> --set gcc_override_configure=--with-mode=thumb --set 
>> gcc_override_configure=--with-cpu=cortex-m7 --set 
>> gcc_override_configure=--with-float=hard:
>>   | 5
>>   | # build_abe gdb:
>>   | 6
>>   | # build_abe qemu:
>>   | 7
>>
>> Used configuration :
>>  *CI config* tcwg_gnu_embed_build arm-eabi -mthumb -march=armv7e-m+fp.dp 
>> -mtune=cortex-m7 -mfloat-abi=hard -mfpu=auto
>>  *configure and test flags:* --target arm-eabi --disable-multilib 
>> --with-mode=thumb --with-cpu=cortex-m7 --with-float=hard 
>> --target_board=-mthumb/-march=armv7e-m+fp.dp/-mtune=cortex-m7/-mfloat-abi=hard/-mfpu=auto
>>  qemu_cpu=cortex-m7
>>
>> We track this bug report under https://linaro.atlassian.net/browse/GNU-1625. 
>> Please let us know if you have a fix.
>
>
> I know what's wrong, will fix in a couple of hours.
>
> The definition of choose_pool_size needs to be moved outside the preprocessor 
> group guarded by
> #ifdef _GLIBCXX_HAS_GTHREADS

It should be fixed at  r16-2123-g7a878ba615c2c5



>
>>
>> If you have any questions regarding this report, please ask on 
>> linaro-toolch...@lists.linaro.org mailing list.
>>
>> -8<--8<--8<--
>>
>> The information below contains the details of the failures, and the ways to 
>> reproduce a debug environment:
>>
>> You can find the failure logs in
>>  * 
>> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts/
>> The full lists of regressions and improvements as well as configure and make 
>> commands are in
>>  * 
>> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts/notify/
>>
>> Current build   : 
>> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/147/artifact/artifacts
>> Reference build : 
>> https://ci.linaro.org/job/tcwg_gnu_embed_build--master-thumb_m7_hard_eabi-build/146/artifact/artifacts
>>
>> Instruction to reproduce the build : 
>> https://gitlab.com/Linaro/tcwg/ci/interesting-commits/-/raw/master/gcc/sha1/ac2fb60a67d6d1de6446c25c5623b8a138

Regressions on master at commit r16-2132 vs commit r16-2123 on Linux/x86_64

2025-07-09 Thread Haochen Jiang via Gcc-regression
Regressions on master at commit r16-2132 vs commit r16-2123 on Linux/x86_64
New failures:

New passes:
FAIL: gcc.dg/vect/pr101145.c -flto -ffat-lto-objects  scan-tree-dump-times vect 
"vectorized 1 loops" 7
FAIL: gcc.dg/vect/pr101145.c -flto -ffat-lto-objects  scan-tree-dump-times vect 
"vectorized 1 loops" 7
FAIL: gcc.dg/vect/pr101145.c scan-tree-dump-times vect "vectorized 1 loops" 7
FAIL: gcc.dg/vect/pr101145.c scan-tree-dump-times vect "vectorized 1 loops" 7


[Linaro-TCWG-CI] gcc-16-2103-gad2bab693f7: 1 regression 1 fix on aarch64

2025-07-09 Thread ci_notify--- via Gcc-regression
Dear contributor,

Our automatic CI has detected problems related to your patch(es). Please find 
some details below.

In gcc_check master-aarch64, after:
  | commit gcc-16-2103-gad2bab693f7
  | Author: Richard Biener 
  | Date:   Tue Jul 8 13:46:01 2025 +0200
  | 
  | Avoid IPA opts around guality plumbing
  | 
  | The following avoids inlining the actual main() (renamed to
  | guality_main) into the guality plumbing.  This can cause
  | jump threading opportunities to appear and generally increase
  | ... 6 lines of the commit log omitted.

Produces 1 regression 1 fix:
  | 
  | regressions.sum:
  | Running gcc:gcc.dg/guality/guality.exp ...
  | FAIL: gcc.dg/guality/pr41447-1.c -O2 -flto -fuse-linker-plugin 
-fno-fat-lto-objects  -DPREVENT_OPTIMIZATION execution test
  | 
  | fixes.sum:
  | Running gcc:gcc.dg/guality/guality.exp ...
  | XPASS: gcc.dg/guality/pr41447-1.c -O3 -g  -DPREVENT_OPTIMIZATION  execution 
test

Used configuration :
 *CI config* tcwg_gcc_check master-aarch64
 *configure and test flags:* none, autodetected on aarch64-unknown-linux-gnu

We track this bug report under https://linaro.atlassian.net/browse/GNU-1626. 
Please let us know if you have a fix.

If you have any questions regarding this report, please ask on 
linaro-toolch...@lists.linaro.org mailing list.

-8<--8<--8<--

The information below contains the details of the failures, and the ways to 
reproduce a debug environment:

You can find the failure logs in *.log.1.xz files in
 * 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/3975/artifact/artifacts/00-sumfiles/
The full lists of regressions and improvements as well as configure and make 
commands are in
 * 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/3975/artifact/artifacts/notify/
The list of [ignored] baseline and flaky failures are in
 * 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/3975/artifact/artifacts/sumfiles/xfails.xfail

Current build   : 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/3975/artifact/artifacts
Reference build : 
https://ci.linaro.org/job/tcwg_gcc_check--master-aarch64-build/3974/artifact/artifacts

Instruction to reproduce the build : 
https://gitlab.com/Linaro/tcwg/ci/interesting-commits/-/raw/master/gcc/sha1/ad2bab693f74cad239615ba8725a691d435b3a97/tcwg_gcc_check/master-aarch64/reproduction_instructions.txt

Full commit : See in git+ssh://linar...@gcc.gnu.org/git/gcc.git