On Wed, 9 Jul 2025, 08:22 , <ci_not...@linaro.org> 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 <jwak...@redhat.com>
>   | 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-toolchain@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
_______________________________________________
linaro-toolchain mailing list -- linaro-toolchain@lists.linaro.org
To unsubscribe send an email to linaro-toolchain-le...@lists.linaro.org

Reply via email to