From owner-freebsd-current@freebsd.org Wed Dec 12 09:06:13 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 126471333EAD for ; Wed, 12 Dec 2018 09:06:13 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 14C998149F; Wed, 12 Dec 2018 09:06:12 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x430.google.com with SMTP id t27so16828636wra.6; Wed, 12 Dec 2018 01:06:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=usiy68+5Gx/Pn7LX462HjahhTu4R0ar8ogK/zoPJ7zg=; b=gk9JPyezT2kByjIBm32w60ejiTHWugwMWenOY16WWyBoEoJuBOCtMpYBkwUxjkV2Fs GJkOIhIfzOOenmbCV0ld/vLUAXwfW+jIpor9VIBU+nBJSkUQTEGHYOyWji1cIJarJ0Ey oESRCW3+kdpOHJEEg7eIxBUc4W9URjDZ1VLtNllHJBINlx1zKcvxDDV/JrjW/oYrH0ei Ei46LZiVoVie19ZGCSqFG+TiesnUiYx1zqJlmVyztBA4C8L5QoUXRdXNbMOUAnqKuKN/ /ZmuXxq0YvrKY5rl4wGL7pAjnwMRNpUuWt0HjQ9BSlXpxSAX4OMW3i3cMOQMQXWAihhi 6Dbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=usiy68+5Gx/Pn7LX462HjahhTu4R0ar8ogK/zoPJ7zg=; b=oq4Cu5Re8iOMvI6XbiG7xSZcIAIfnr5ewRfdXvbGrIGV7s/I3dCpRDvJR595pGX6rE Cu2UJxoUP442QbIFqPh+e/03la+lFQudKyaMiOpivnujgih4cIQe30ckpaaeyfrOdeBY Bo96bRO1z3SG1B1oUiDD8X0sYAkxhzocR9RxE66UfpuUOuw4x229mHGzABXSaYXgKb6e NMAyJ1JtghzYrG1qf0rMDXb4/hx6s7V0BAz2vM/B5sdi8PF7InNb3nPjW5LbI/mwS40/ xFSbtZktglPj6dvHr2ZTesEEVf/OjHrcf0fHtODMEk1u9a5mzZpjxCbSrHf1H5PRlY5x Gj9g== X-Gm-Message-State: AA+aEWaOc3yQ7YHWn4NLplmYw4D0bXEx5X9wawqYvZ16+Vv5nZjSMgMv wtnj3N1YwJBaeIk0uK8HiMOOSvrd X-Google-Smtp-Source: AFSGD/U2V70YbvEMnLghWGQbs0h7G4vOC96mP8ywZR2yKTgcuK23at2Oy+HzyYL+VIRZ+ogdbSumdw== X-Received: by 2002:a5d:6105:: with SMTP id v5mr16193451wrt.63.1544605570519; Wed, 12 Dec 2018 01:06:10 -0800 (PST) Received: from ernst.home (p5B02380D.dip0.t-ipconnect.de. [91.2.56.13]) by smtp.gmail.com with ESMTPSA id s66sm2823982wmf.34.2018.12.12.01.06.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 12 Dec 2018 01:06:09 -0800 (PST) Date: Wed, 12 Dec 2018 10:06:02 +0100 From: Gary Jennejohn To: Lev Serebryakov Cc: freebsd-current@freebsd.org Subject: Re: r111 build error Message-ID: <20181212100602.332da246@ernst.home> In-Reply-To: <1348923530.20181212021110@serebryakov.spb.ru> References: <1348923530.20181212021110@serebryakov.spb.ru> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; amd64-portbld-freebsd12.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 14C998149F X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=gk9JPyez; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::430 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-4.53 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.99)[-0.987,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.53)[ip: (-9.83), ipnet: 2a00:1450::/32(-1.47), asn: 15169(-1.28), country: US(-0.09)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_REPLYTO(0.00)[gmail.com]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Dec 2018 09:06:13 -0000 On Wed, 12 Dec 2018 02:11:10 +0300 Lev Serebryakov wrote: > Hello Freebsd-current, > > I'm building very last r341836 (with new llvm/clang 7) on r341726 and get this build > error (with MALLOC_PRODUCTION=yes): > Worked for me from r341824 to r341840, but I deleted /usr/obj/usr before starting the build. I even added MALLOC_PRODUCTION=yes to /etc/src.conf. > ===> usr.bin/clang/clang (all) > c++ -target x86_64-unknown-freebsd13.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 -pipe -I/usr/obj/usr/src/amd64.amd64/lib/clang/libclang -I/usr/obj/usr/src/amd64.amd64/lib/clang/libllvm -I/usr/src/contrib/llvm/tools/clang/include -DCLANG_ENABLE_ARCMT -DCLANG_ENABLE_STATIC_ANALYZER -I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_BUILD_GLOBAL_ISEL -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\" -DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\" -DDEFAULT_SYSROOT=\"\" -DLLVM_TARGET_ENABLE_AARCH64 -DLLVM_TARGET_ENABLE_ARM -DLLVM_TARGET_ENABLE_MIPS -DLLVM_TARGET_ENABLE_POWERPC -DLLVM_TARGET_ENABLE_SPARC -DLLVM_TARGET_ENABLE_X86 -DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DISASSEMBLER=LLVMInitializeX86Disassembler -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInit ia > lizeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections -gline-tables-only -fstack-protector-strong -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter -Wno-parentheses -Qunused-arguments -std=c++11 -fno-exceptions -fno-rtti -stdlib=libc++ -Wno-c++11-extensions -Wl,--gc-sections -static -o clang.full cc1_main.o cc1as_main.o cc1gen_reproducer_main.o driver.o /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a /usr/obj/usr/src/amd64.amd64/lib/clang/libllvm/libllvm.a -lz -lncursesw -lpthread > ld: error: undefined symbol: clang::LocationContext::getCurrentStackFrame() const > >>> referenced by ExplodedGraph.h:138 (/usr/src/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h:138) > >>> ReturnUndefChecker.o:(void clang::ento::check::PreStmt::_checkStmt<(anonymous namespace)::ReturnUndefChecker>(void*, clang::Stmt const*, clang::ento::CheckerContext&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::CallExpr::getLocStart() const > >>> referenced by MacOSXAPIChecker.cpp:86 (/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp:86) > >>> MacOSXAPIChecker.o:((anonymous namespace)::MacOSXAPIChecker::CheckDispatchOnce(clang::ento::CheckerContext&, clang::CallExpr const*, llvm::StringRef) const) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::Stmt::getLocStart() const > >>> referenced by DeadStoresChecker.cpp:265 (/usr/src/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp:265) > >>> DeadStoresChecker.o:((anonymous namespace)::DeadStoreObs::observeStmt(clang::Stmt const*, clang::CFGBlock const*, clang::LiveVariables::LivenessValues const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::CodeSegAttr::clone(clang::ASTContext&) const > >>> referenced by SemaDecl.cpp:0 (/usr/src/contrib/llvm/tools/clang/lib/Sema/SemaDecl.cpp:0) > >>> SemaDecl.o:(clang::Sema::getImplicitCodeSegOrSectionAttrForFunction(clang::FunctionDecl const*, bool)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::ArtificialAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:150 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:150) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::CPUDispatchAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:243 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:243) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::CodeSegAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:303 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:303) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::LifetimeBoundAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:502 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:502) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::RISCVInterruptAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:881 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:881) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::TrivialABIAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:1040 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:1040) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::OMPReferencedVarAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:707 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:707) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::AnyX86NoCfCheckAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:138 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:138) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::MinVectorWidthAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:575 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:575) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::NoStackProtectorAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:671 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:671) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > ld: error: undefined symbol: clang::CPUSpecificAttr::clone(clang::ASTContext&) const > >>> referenced by AttrTemplateInstantiate.inc:247 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/Sema/AttrTemplateInstantiate.inc:247) > >>> SemaTemplateInstantiateDecl.o:(clang::sema::instantiateTemplateAttribute(clang::Attr const*, clang::ASTContext&, clang::Sema&, clang::MultiLevelTemplateArgumentList const&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::HeaderSearch::lookupModule(llvm::StringRef, bool) > >>> referenced by GeneratePCH.cpp:51 (/usr/src/contrib/llvm/tools/clang/lib/Serialization/GeneratePCH.cpp:51) > >>> GeneratePCH.o:(clang::PCHGenerator::HandleTranslationUnit(clang::ASTContext&)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::Stmt::getLocStart() const > >>> referenced by SelectorLocationsKind.cpp:52 (/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52) > >>> SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector, llvm::ArrayRef, llvm::ArrayRef, clang::SourceLocation)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::Stmt::getLocStart() const > >>> referenced by SelectorLocationsKind.cpp:52 (/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52) > >>> SelectorLocationsKind.o:(clang::hasStandardSelectorLocs(clang::Selector, llvm::ArrayRef, llvm::ArrayRef, clang::SourceLocation)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::Stmt::getLocStart() const > >>> referenced by SelectorLocationsKind.cpp:52 (/usr/src/contrib/llvm/tools/clang/lib/AST/SelectorLocationsKind.cpp:52) > >>> SelectorLocationsKind.o:(clang::getStandardSelectorLoc(unsigned int, clang::Selector, bool, llvm::ArrayRef, clang::SourceLocation)) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: undefined symbol: clang::operator<<(llvm::raw_ostream&, clang::VersionTuple const&) > >>> referenced by AttrImpl.inc:1216 (/usr/obj/usr/src/amd64.amd64/lib/clang/libclang/clang/AST/AttrImpl.inc:1216) > >>> AttrImpl.o:(clang::AvailabilityAttr::printPretty(llvm::raw_ostream&, clang::PrintingPolicy const&) const) in archive /usr/obj/usr/src/amd64.amd64/lib/clang/libclang/libclang.a > > ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) > c++: error: linker command failed with exit code 1 (use -v to see invocation) > *** [clang.full] Error code 1 > > > > -- > Best regards, > Lev mailto:lev@FreeBSD.org > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Gary Jennejohn