[Bug 269789] 13.2-BETA2 can't self-compile on aarch64 string_view:320:38: error: no member named '__char_traits_length_checked' in namespace 'std'

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 23 Feb 2023 22:14:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269789

            Bug ID: 269789
           Summary: 13.2-BETA2 can't self-compile on aarch64
                    string_view:320:38: error: no member named
                    '__char_traits_length_checked' in namespace 'std'
           Product: Base System
           Version: Unspecified
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: dch@freebsd.org
 Attachment #240353 text/plain
         mime type:

Created attachment 240353
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=240353&action=edit
building 13.2-BETA2 on 13.2-BETA2 using poudriere-devel

building from releng/13.2 branch from 13.2-BETA2 on aarch64 bombs out with
`/usr/include/c++/v1/string_view:320:38: error: no member named
'__char_traits_length_checked' in namespace 'std' during poudriere build from
git src.

FreeBSD zap09 13.2-BETA2 FreeBSD 13.2-BETA2 metal/13.2-n254515-2a4ea3e56be
GENERIC arm64
root@zap09:~ # sysctl hw.model hw.ncpu hw.machine_arch
hw.model: ARM Neoverse-N1 r3p1
hw.ncpu: 80
hw.machine_arch: aarch64
Ampere Altra https://deploy.equinix.com/product/servers/c3-large-arm64

14.0-CURRENT (main-n260969-2894c8c96b9b) is fine though.

repro:

- get an Altra as above or ask dch if needed
- install a precompiled 13.2-BETA2
- install poudriere-devel
- set GIT_BASEURL in /usr/local/etc/poudriere.conf to
github.com/freebsd/freebsd-src

# poudriere jail -c -j 13_2_BETA2 -v releng/13.2 -m git+https -b -K GENERIC

-- 
You are receiving this mail because:
You are the assignee for the bug.