From nobody Fri Jan 20 06:01:21 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Nyplk2ZS6z2sZ4Q for ; Fri, 20 Jan 2023 06:01:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nyplj6wW4z4F1n for ; Fri, 20 Jan 2023 06:01:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674194482; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=meCg0opNT6OYpfZn/XuY0btn2mJt8JLYUouh4yhzi9U=; b=uaOauwyX/03gEwJoIRIt5/KZLK2NBt9LX0DrqM3tuD0/Dj0MQENW7XzH5O2HzEWDi9qrTR NYySWEBv5ndZSoRECpSOhuklbIklFZl6xbf5YNqJGfpwdqUBwRi7pvTmyFNwOm9c/5Wdaz wyRlrAMIPaTX5pYlvD6c/UEN7zBK1UBWaxD734iT/F/hG/AV7eVHEyDGrsQEiQ+OZeNYsi GvFrEq8MAWu3DI1k6xAZhagKPXR1xj0DTNO/3tr5lFD5hBnpAr38W99XKnpyAXPsrgA3w9 nXosjelyl1tle7SRAajyT/6+MCD1FBqCC3m/tBguIVa4cyFZO84gu2UsqhqnIw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674194482; a=rsa-sha256; cv=none; b=Z2c2cmqS4nKayT+76WZQGFZdzTKCyvVljxdM5/lbQ7y05ORqI0Q3XMluiwiZoMyXhUoKg7 T3RVfcUiJqwnHhIqXYVXaS1AFWECk1c/hMEwL6btgL3J6mhdhk6rKFRQLa6LQuDHzrxz/C 64EcrF64gVACSdHtnxma6eVC1tLYOAnxwdm6kqSLKKApyQLnbcIdadzsWjdvC56APubrMX lgLyqyXqA0z7v6HGAjJ1eqYekHraZyZDwDAzy/PoD35IxLmNwKF1fWksE1Y5LjFSThmaXc UzbzXYpyIn1DRd8OMtSGYLIZWzMifuCzbaRCxCE1iySu11VhhVtbdeN502gXUQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Nyplj60DxzKJC for ; Fri, 20 Jan 2023 06:01:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30K61LaW024597 for ; Fri, 20 Jan 2023 06:01:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30K61LA9024596 for bugs@FreeBSD.org; Fri, 20 Jan 2023 06:01:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 269067] Build of devel/boost-libs fails because of assertion failure of clang on 14-CURRENT Date: Fri, 20 Jan 2023 06:01:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yasu@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269067 Bug ID: 269067 Summary: Build of devel/boost-libs fails because of assertion failure of clang on 14-CURRENT Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yasu@freebsd.org CC: dim@FreeBSD.org yasu@rolling-vm-freebsd1[1018]% uname -a FreeBSD rolling-vm-freebsd1.home.utahime.org 14.0-CURRENT FreeBSD 14.0-CURR= ENT #0 main-n260055-8bce8d28abe: Sat Jan 14 01:06:42 JST 2023=20=20=20=20 rootz@rolling-vm-freebsd1.home.utahime.org:/usr/obj/usr/src/amd64.amd64/sys= /GENERIC amd64 yasu@rolling-vm-freebsd1[1018]% After devel/boost-libs is updated to 1.81.0, build of the port fails on 14-CURRENT because of assersion failure of clang in base system. ---------------------------------------------------------------------- clang-linux.compile.c++ bin.v2/libs/url/build/clang-linux-14/release/pch-off/threading-multi/visibi= lity-hidden/src.o "c++" -c -x c++ -fvisibility-inlines-hidden -fPIC -m64 -pthread -O3 -Wall -fvisibility=3Dhidden -Wno-inline -pipe -DLIBICONV_PLUG -fstack-protector-s= trong -fno-strict-aliasing -DLIBICONV_PLUG -std=3Dgnu++17 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DBOOST_ALL_NO_LIB=3D1 -DBOOST_URL_DYN_LINK=3D1 -DBOOST_URL_SOURCE -DNDEBUG -I"." -o "bin.v2/libs/url/build/clang-linux-14/release/pch-off/threading-multi/visib= ility-hidden/src.o" "libs/url/src/src.cpp" Assertion failed: (isa(Val) && "cast() argument of incompatible type= !"), function cast, file /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Casting.h, line 269. PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include = the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: c++ -c -x c++ -fvisibility-inlines-hidden -fPIC = -m64 -pthread -O3 -Wall -fvisibility=3Dhidden -Wno-inline -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -std=3Dgnu++17 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DBOOST_ALL_NO_LIB=3D1 -DBOOST_URL_DYN_LINK=3D1 -DBOOST_URL_SOURCE -DNDEBUG= -I. -o bin.v2/libs/url/build/clang-linux-14/release/pch-off/threading-multi/visibi= lity-hidden/src.o libs/url/src/src.cpp 1. ./boost/url/impl/segments_view.ipp:33:1: current parser token '{' 2. ./boost/url/impl/segments_view.ipp:17:1: parsing namespace 'boost' 3. ./boost/url/impl/segments_view.ipp:18:1: parsing namespace 'boost::urls' #0 0x00000000050b98d1 PrintStackTrace /usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:13 #1 0x00000000050b7c05 RunSignalHandlers /usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:98:18 #2 0x000000000505fe2e HandleCrash /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:79:5 #3 0x000000000505fff3 CrashRecoverySignalHandler /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:0:51 #4 0x000000082b39da60 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0= :3 #5 0x000000082b39d01f thr_sighandler /usr/src/lib/libthr/thread/thr_sig.c:247:1 #6 0x00000008282f92d3 ([vdso]+0x2d3) #7 0x000000082d52a99a __sys_thr_kill /usr/obj/usr/src/amd64.amd64/lib/libc/thr_kill.S:4:0 #8 0x000000082d4a3044 __raise /usr/src/lib/libc/gen/raise.c:0:10 #9 0x000000082d5547b9 abort /usr/src/lib/libc/stdlib/abort.c:73:17 #10 0x000000082d485e21 (/lib/libc.so.7+0x98e21) #11 0x00000000038b367b BuildDelegatingInitializer /usr/src/contrib/llvm-project/clang/lib/Sema/SemaDeclCXX.cpp:4443:5 #12 0x00000000038b2e49 BuildBaseInitializer /usr/src/contrib/llvm-project/clang/lib/Sema/SemaDeclCXX.cpp:4525:14 #13 0x00000000038b19fc BuildMemInitializer /usr/src/contrib/llvm-project/clang/lib/Sema/SemaDeclCXX.cpp:0:0 #14 0x00000000038b204d /usr/src/contrib/llvm-project/clang/lib/Sema/SemaDeclCXX.cpp:4115:1 #15 0x000000000356345c ParseMemInitializer /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:3770:20 #16 0x00000000035628fb ParseConstructorInitializer /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:3634:29 #17 0x00000000034ec7d8 is /usr/src/contrib/llvm-project/clang/include/clang/Lex/Token.h:97:49 #18 0x00000000034ec7d8 ParseFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:1366:14 #19 0x000000000353d4d8 ParseDeclGroup /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDecl.cpp:2055:18 #20 0x00000000034eb872 ParseDeclOrFunctionDefInternal /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:0:10 #21 0x00000000034eb305 ParseDeclarationOrFunctionDefinition /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:1154:12 #22 0x00000000034ea228 ParseExternalDeclaration /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:0:12 #23 0x0000000003551be4 ~AttributePool /usr/src/contrib/llvm-project/clang/include/clang/Sema/ParsedAttr.h:770:22 #24 0x0000000003551be4 ~ParsedAttributes /usr/src/contrib/llvm-project/clang/include/clang/Sema/ParsedAttr.h:965:7 #25 0x0000000003551be4 ParseInnerNamespace /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:247:5 #26 0x000000000355145d Exit /usr/src/contrib/llvm-project/clang/include/clang/Parse/Parser.h:1108:15 #27 0x000000000355145d ParseNamespace /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:227:18 #28 0x0000000003536cc0 ParseDeclaration /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0 #29 0x00000000034e9f1c ParseExternalDeclaration /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:0:3 #30 0x0000000003551be4 ~AttributePool /usr/src/contrib/llvm-project/clang/include/clang/Sema/ParsedAttr.h:770:22 #31 0x0000000003551be4 ~ParsedAttributes /usr/src/contrib/llvm-project/clang/include/clang/Sema/ParsedAttr.h:965:7 #32 0x0000000003551be4 ParseInnerNamespace /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:247:5 #33 0x000000000355145d Exit /usr/src/contrib/llvm-project/clang/include/clang/Parse/Parser.h:1108:15 #34 0x000000000355145d ParseNamespace /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDeclCXX.cpp:227:18 #35 0x0000000003536cc0 ParseDeclaration /usr/src/contrib/llvm-project/clang/lib/Parse/ParseDecl.cpp:0:0 #36 0x00000000034e9f1c ParseExternalDeclaration /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:0:3 #37 0x00000000034e85e0 ParseTopLevelDecl /usr/src/contrib/llvm-project/clang/lib/Parse/Parser.cpp:720:10 #38 0x00000000034e2c1d ParseAST /usr/src/contrib/llvm-project/clang/lib/Parse/ParseAST.cpp:157:5 #39 0x0000000002ee9a0f Execute /usr/src/contrib/llvm-project/clang/lib/Frontend/FrontendAction.cpp:971:10 #40 0x0000000002e7e04f getPtr /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:271:42 #41 0x0000000002e7e04f operator bool /usr/src/contrib/llvm-project/llvm/include/llvm/Support/Error.h:234:16 #42 0x0000000002e7e04f ExecuteAction /usr/src/contrib/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:1036:= 23 #43 0x0000000002fa6ab6 ExecuteCompilerInvocation /usr/src/contrib/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocat= ion.cpp:263:25 #44 0x0000000002477b75 cc1_main /usr/src/contrib/llvm-project/clang/tools/driver/cc1_main.cpp:248:15 #45 0x00000000024850c5 ExecuteCC1Tool /usr/src/contrib/llvm-project/clang/tools/driver/driver.cpp:317:12 #46 0x0000000002d3a1b7 operator() /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:407:30 #47 0x0000000002d3a1b7 callback_fn<(lambda at /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:407:22)> /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:4= 5:12 #48 0x000000000505fd64 operator() /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/STLFunctionalExtras.h:0= :12 #49 0x000000000505fd64 RunSafely /usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:428= :3 #50 0x0000000002d39dc3 Execute /usr/src/contrib/llvm-project/clang/lib/Driver/Job.cpp:407:7 #51 0x0000000002d081e2 ExecuteCommand /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:196:15 #52 0x0000000002d08689 ExecuteJobs /usr/src/contrib/llvm-project/clang/lib/Driver/Compilation.cpp:249:13 #53 0x0000000002d1d3ac empty /usr/src/contrib/llvm-project/llvm/include/llvm/ADT/SmallVector.h:73:47 #54 0x0000000002d1d3ac ExecuteCompilation /usr/src/contrib/llvm-project/clang/lib/Driver/Driver.cpp:1617:23 c++: error: clang frontend command failed with exit code 134 (use -v to see invocation) FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin c++: note: diagnostic msg:=20 ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: c++: note: diagnostic msg: /tmp/src-a91ba6.cpp c++: note: diagnostic msg: /tmp/src-a91ba6.sh c++: note: diagnostic msg:=20 ******************** ...failed clang-linux.compile.c++ bin.v2/libs/url/build/clang-linux-14/release/pch-off/threading-multi/visibi= lity-hidden/src.o... ---------------------------------------------------------------------- Full build log: https://people.freebsd.org/~yasu/poudriere/data/logs/bulk/curamd64-default/= 2023-01-20_14h31m30s/logs/boost-libs-1.81.0.log --=20 You are receiving this mail because: You are the assignee for the bug.=