From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4DFC53858D28; Tue, 25 Apr 2023 21:52:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4DFC53858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682459565; bh=0VB0yS5hV/1r+2TyFpd7jtyGDyU3oLnQ1I/3ReOg+3M=; h=From:To:Subject:Date:From; b=kYGpfbfvPpfWiTyffzf4G009OhhJogE5fEFp5zJBZayBEmgtY5r4bhSr2pNqBpbMg vK1ZwW8ftldmixhSE0rK/EfqIKHp0rE2umYtnJJzV9Vi1ymM6SaFBeki7NjDahHG4y TP/f7HXnA5DeEePGoiobtVNSyfrzwtpNa7G03R4I= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: =?UTF-8?B?W0J1ZyBjKysvMTA5NjI1XSBOZXc6IFsxNCByZWdyZXNzaW9uXSAn?= =?UTF-8?B?ZXJyb3I6IHVzZSBvZiBidWlsdC1pbiB0cmFpdCDigJhfX3R5cGVfcGFja19l?= =?UTF-8?B?bGVtZW50PHNpemVvZiAuLi4gKFQgLi4uKSAtIDEsIFQgLi4uPuKAmSBpbiBm?= =?UTF-8?B?dW5jdGlvbiBzaWduYXR1cmU7IHVzZSBsaWJyYXJ5IHRyYWl0cyBpbnN0ZWFk?= =?UTF-8?B?JyB3aGVuIGJ1aWxkaW5nIGZvbGx5?= Date: Tue, 25 Apr 2023 21:52:44 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.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 cc target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109625 Bug ID: 109625 Summary: [14 regression] 'error: use of built-in trait =E2=80=98__type_pack_element=E2=80=99 in function signature; use library traits instead' when building folly Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: sjames at gcc dot gnu.org CC: arsen at gcc dot gnu.org, ppalka at gcc dot gnu.org Target Milestone: --- Created attachment 54917 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54917&action=3Dedit Unicode.cpp.ii.xz Not sure if this is a GCC issue or not, but it's a new compile failure of folly-2023.04.10.00 with GCC 14.0.0 20230423: ``` FAILED: CMakeFiles/folly_base.dir/folly/Unicode.cpp.o=20 /usr/bin/aarch64-unknown-linux-gnu-g++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_CONTEXT_DYN_LINK -DBOOST_CONTEXT_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_NO_LIB -DBOOST_REGEX_DYN_LINK -DBOOST_REGEX_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=3D\"/var/tmp/portage/dev-cpp/folly-2023.04.10.0= 0/work/folly-2023.04.10.00:/var/tmp/portage/dev-cpp/folly-2023.04.10.00/wor= k/folly-2023.04.10.00_build\" -DGFLAGS_IS_A_DLL=3D0 -D_GNU_SOURCE -D_REENTRANT -I/var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00 -I/var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00_bui= ld -I/usr/include/libiberty -O2 -pipe -mcpu=3Dnative -fPIC -fcoroutines -g -std=3Dgnu++1z -finput-charset=3DUTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -std=3Dgnu++17 -MD -MT CMakeFiles/folly_base.dir/folly/Unicode.cpp.o -MF CMakeFiles/folly_base.dir/folly/Unicode.cpp.o.d -o CMakeFiles/folly_base.dir/folly/Unicode.cpp.o -c /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Unicode.cpp In file included from /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Unicode.cpp:21: /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Conv.h: In instantiation of =E2=80=98folly::detail::LastElement& folly::detail::getLastElement(const Ts& ...) [with Ts =3D {char [26], unsig= ned int, char [4], unsigned int, std::__cxx11::basic_string, std::allocator >*}]=E2=80=99: /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Conv.h:312:27: error: use of built-in trait =E2=80=98__type_pack_element=E2=80=99 in function signature; use library traits instead 312 | const LastElement& getLastElement(const Ts&... ts) { | ^~~~~~~~~~~~~~ /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Conv.h: In instantiation of =E2=80=98folly::detail::LastElement& folly::detail::getLastElement(const Ts& ...) [with Ts =3D {char [26], unsig= ned int, char [6], unsigned int, std::__cxx11::basic_string, std::allocator >*}]=E2=80=99: /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Conv.h:312:27: error: use of built-in trait =E2=80=98__type_pack_element=E2=80=99 in function signature; use library traits instead [...] ``` --- ``` $ /usr/bin/aarch64-unknown-linux-gnu-g++ -O2 -fcoroutines -std=3Dgnu++1z -finput-charset=3DUTF-8 -fsigned-char -faligned-new -fopenmp -std=3Dgnu++17= -c Unicode.cpp.ii In file included from /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Unicode.cpp:21: /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Conv.h: In instantiation of =E2=80=98folly::detail::LastElement& folly::detail::getLastElement(const Ts& ...) [with Ts =3D {char [26], unsig= ned int, char [4], unsigned int, std::__cxx11::basic_string, std::allocator >*}]=E2=80=99: /var/tmp/portage/dev-cpp/folly-2023.04.10.00/work/folly-2023.04.10.00/folly= /Conv.h:312:27: error: use of built-in trait =E2=80=98__type_pack_element=E2=80=99 in function signature; use library traits instead 312 | const LastElement& getLastElement(const Ts&... ts) { | ^~~~~~~~~~~~~~ [...] ```=