From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D61053858CDB; Fri, 27 Dec 2024 03:52:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D61053858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1735271551; bh=aBbEgnI45LH1PhfO3djo/z/WqDN/b11VvF3kLdvnFb0=; h=From:To:Subject:Date:From; b=hOAyC4C02gUQdjQcs7pTL73T5ahfYevxqwnTzv6STZX7PA2d0Qbyursnqx3I/1Gue 3L8jpOzhvo/H2kJrWV90va494XwykDPlk3MfTqohU08ZcXtE5v1Khx8wRjdwfJPMiK 5KrbhP4cQoIiZ2+LquxsP6rPxuHL7slvKcgDHkME= From: "jeffrey.cliff at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/32503] New: gdb: 'construct' has not been declared in 'std::allocator Date: Fri, 27 Dec 2024 03:52:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: jeffrey.cliff at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D32503 Bug ID: 32503 Summary: gdb: 'construct' has not been declared in 'std::allocator Product: gdb Version: unknown Status: UNCONFIRMED Severity: minor Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: jeffrey.cliff at gmail dot com Target Milestone: --- ( looks very much like #29715 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29715 ) OS : pureos byzantium arch : aarch64 gcc : (Debian 10.2.1-6) 10.2.1 20210110 gdb : weekly 16.0.50.20241226 CXXFLAGS=3D-std=3Dgnu++20 -Os -march=3Dnative=20=20=20=20 CFLAGS=3D-std=3Dgnu17 -Os -march=3Dnative=20=20=20=20 true "AR_FLAGS=3Drc" "CC_FOR_BUILD=3Dgcc" "CFLAGS=3D-std=3Dgnu17 -Os -march= =3Dnative " "CXXFLAGS=3D-std=3Dgnu++20 -Os -march=3Dnative " "CFLAGS_FOR_BUILD=3D-st= d=3Dgnu17 -Os -march=3Dnative" "CFLAGS_FOR_TARGET=3D-g -O2 -std=3Dgnu17 -Os -march=3Dnat= ive" "INSTALL=3D/usr/bin/install -c" "INSTALL_DATA=3D/usr/bin/install -c -m 644" "INSTALL_PROGRAM=3D/usr/bin/install -c" "INSTALL_SCRIPT=3D/usr/bin/install = -c" "LDFLAGS=3D-s " "LIBCFLAGS=3D-std=3Dgnu17 -Os -march=3Dnative " "LIBCFLAGS_FOR_TARGET=3D-g -O2 -std=3Dgnu17 -Os -march=3Dnative" "MAKE=3Dm= ake" "MAKEINFO=3Dmakeinfo --split-size=3D5000000 --split-size=3D5000000 " "PICFL= AG=3D" "PICFLAG_FOR_TARGET=3D" "SHELL=3D/bin/bash" "EXPECT=3Dexpect" "RUNTEST=3Dru= ntest" "RUNTESTFLAGS=3D" "exec_prefix=3D/usr/local" "infodir=3D/usr/local/share/in= fo" "libdir=3D/usr/local/lib" "prefix=3D/usr/local" "tooldir=3D/usr/local/aarch64-unknown-linux-gnu" "AR=3Dar --plugin /usr/lib/gcc/aarch64-linux-gnu/10/liblto_plugin.so" "AS=3Das" "CC=3Dgcc" "C= XX=3Dg++" "LD=3Dld" "LIBCFLAGS=3D-std=3Dgnu17 -Os -march=3Dnative " "NM=3Dnm" "PICFL= AG=3D" "RANLIB=3Dranlib --plugin /usr/lib/gcc/aarch64-linux-gnu/10/liblto_plugin.s= o" "DESTDIR=3D" DO=3Dall multi-do=20 when making : make[4]: Entering directory '/home/purism/gdb-16.0.50.20241226/gdbsupport' CXX common-utils.o In file included from ../gdbsupport/def-vector.h:22, from ../gdbsupport/byte-vector.h:21, from ././common-utils.h:25, from ././common-defs.h:206, from : ../gdbsupport/default-init-alloc.h: In instantiation of =E2=80=98class gdb::default_init_allocator >= =E2=80=99: /usr/include/c++/10/bits/stl_vector.h:87:21: required from =E2=80=98struct std::_Vector_base > >=E2=80=99 /usr/include/c++/10/bits/stl_vector.h:389:11: required from =E2=80=98class std::vector > >=E2=80=99 common-utils.cc:459:25: required from here ../gdbsupport/default-init-alloc.h:63:12: error: =E2=80=98construct=E2=80= =99 has not been declared in =E2=80=98std::allocator=E2=80=99 63 | using A::construct; | ^~~~~~~~~ this does *not* occur when $CFLAGS / $CXXFLAGS are empty. --=20 You are receiving this mail because: You are on the CC list for the bug.=