From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A7B923858026; Sun, 26 Sep 2021 13:31:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A7B923858026 From: "tes.vik1986 at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug build/27385] Cannot compile arc.c with gcc-4.8 (error: no matching function for call to 'std::pair...') Date: Sun, 26 Sep 2021 13:31:38 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tes.vik1986 at gmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 10.2 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Sep 2021 13:31:38 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27385 Kylan changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tes.vik1986 at gmail dot c= om --- Comment #12 from Kylan --- arc: Fix gcc-4.8 compilation failure for arc.c Building an arc target: $ configulre --target=3Darc-elf32 \ --enable-targets=3Darc-linux-uclibc \ ... On a system with gcc-4.8 (CentOS 7.x), fails with: --------8<--------- ../../gdb/arch/arc.c:117:43: required from here /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: error: no matchi= ng function for call to 'std::pair >::pair(const arc_arch_features&, target_desc*&)' : _M_v(std::forward<_Args>(__args)...) { } ^ /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: note: candidates are: In file included from /usr/include/c++/4.8.2/utility:70:0, https://komiya-dental.com/technology/miui-13/ from /usr/include/c++/4.8.2/tuple:38, from /usr/include/c++/4.8.2/functional:55, http://www-look-4.com/technology/peugeot-208/ from ../../gdb/../gdbsupport/ptid.h:35, from ../../gdb/../gdbsupport/common-defs.h:123, http://www.iu-bloomington.com/technology/miui13/ from ../../gdb/arch/arc.c:19: /usr/include/c++/4.8.2/bits/stl_pair.h:206:9: note: template std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, https://waytowhatsnext.com/technology/korean-technology/ std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) http://www.acpirateradio.co.uk/travel/carbon-dioxide-emissions/ pair(tuple<_Args1...>&, tuple<_Args2...>&, http://www.logoarts.co.uk/travel/actions-camera/ ^ -------->8--------- http://www.slipstone.co.uk/travel/hyundai-kona/ The corresponding line in arc.c must use an explicit ctor: --------8<--------- http://embermanchester.uk/travel/whatsapp/ arc_lookup_target_description (...) { http://connstr.net/travel/charging-machines/ /* Add the newly created target description to the repertoire. */ - arc_tdesc_cache.emplace (features, tdesc); + arc_tdesc_cache.emplace (features, target_desc_up (tdesc)); http://joerg.li/category/technology/ return tdesc; } http://www.compilatori.com/travel/youtube/ -------->8--------- See "PR gcc/96537" for more details. http://www.jopspeech.com/category/technology/ Last but not least, this problem has originally been investigated by Tom de Vries for RISCV targets (see 38f8aa06d9). arc: Fix gcc-4.8 compilation failure for arc.c http://www.wearelondonmade.com/category/technology/ Building an arc target: $ configulre --target=3Darc-elf32 \ --enable-targets=3Darc-linux-uclibc \ ... https://ground-cover.mx/ https://marijuana-netting.net/ https://gallinero.mx/ https://control-de-palomas.mx/ https://shade-cloth.net/ https://trellis-netting.net/ https://invernavelo.net/ On a system with gcc-4.8 (CentOS 7.x), fails with: --------8<--------- ../../gdb/arch/arc.c:117:43: required from here /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: error: no matchi= ng function for call to 'std::pair >::pair(const http://frost-fabric.net/ http://gancho-tutoreo-tenax.net/ http://flower-supports.net/ http://hail-protection-net.com/ https://www.hortomallas.net/ http://macro-tunel.com/ https://scrog.mx/ https://cannabis-netting.net/ https://casa-sombra.mx/ arc_arch_features&, target_desc*&)' : _M_v(std::forward<_Args>(__args)...) { } ^ /usr/include/c++/4.8.2/bits/hashtable_policy.h:195:39: note: candidates are: In file included from /usr/include/c++/4.8.2/utility:70:0, from /usr/include/c++/4.8.2/tuple:38, from /usr/include/c++/4.8.2/functional:55, https://fintechzoom.com/lifestyle/entertainment/gaming/zombie-games-do-you-= know-what-are-the-best-games-for-pc-in-2021/ https://fintechzoom.com/lifestyle/entertainment/gaming/final-fantasy/ffxiv-= classes-guide-on-final-fantasy-14-select-the-best-job/ https://www.cinogel.com/ https://mohamie-saudi.com/ https://fintechzoom.com/lifestyle/entertainment/gaming/rimworld/the-best-ri= mworld-mods/ https://www.nimblehand.com/ https://www.hortomallas.com/en/product-category/privacy-and-windbreakers/po= lisombra-total-privacy/ https://www.hortomallas.com/en/grow-pumpkin-on-trellises-netting/ https://www.hortomallas.com/malla-plastica-para-jardin-canceles-vallas-reja= s/ from ../../gdb/../gdbsupport/ptid.h:35, from ../../gdb/../gdbsupport/common-defs.h:123, from ../../gdb/arch/arc.c:19: /usr/include/c++/4.8.2/bits/stl_pair.h:206:9: note: template std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, std::_Index_tuple<_Indexes1 ...>, std::_Index_tuple<_Indexes2 ...>) https://guacamalla.net/ https://hortomallas.es/ https://malla-espaldera.mx/ https://malla-pepinera.com/ https://malla-sombra.mx/ https://manta-termica.com/ https://www.hortomallas.com/en/best-price-of-the-chicken-netting-save-money= -with-chickenmalla/ https://www.hortomallas.com/en/tomato-cages/ https://www.mindrnd.com/ https://akoestiekopmaat.nl/ pair(tuple<_Args1...>&, tuple<_Args2...>&, ^ -------->8--------- The corresponding line in arc.c must use an explicit ctor: --------8<--------- arc_lookup_target_description (...) https://rattanmart.com/ https://bohemiansmart.com/ https://mohamie-jeddah.com/ https://www.beyandiet.com/ https://www.bebealis.com/ https://byothe.fr/ https://ns-communication.fr/ https://www.hortomallas.com/en/the-advantage-of-chicken-wire-mesh-with-hexa= gonal-netting/ https://www.hortomallas.com/en/how-tall-should-the-cucumber-trellis-height-= be/ https://www.hortomallas.com/precio-la-tela-gallinera-bajo/ { /* Add the newly created target description to the repertoire. */ - arc_tdesc_cache.emplace (features, tdesc); + arc_tdesc_cache.emplace (features, target_desc_up (tdesc)); return tdesc; } -------->8--------- See "PR gcc/96537" for more details.=20 https://geoslam.xyz/ https://fintechzoom.com/lifestyle/entertainment/gaming/tower-defense-simula= tor/codes/ https://www.lafabriquedeslutins.fr/ https://www.station-alexandre.com/ https://fintechzoom.com/lifestyle/entertainment/gaming/ro-ghoul/roblox-ro-g= houl-codes/ https://www.hunny-pool.com/ https://www.formations-continues.com/ https://nutrienta.co/ https://2macp.fr/ https://mymystore.online/ https://www.antiguachiamaitalia.it/ Last but not least, this problem has originally been investigated (see 38f8aa06d9). --=20 You are receiving this mail because: You are on the CC list for the bug.=