From nobody Mon Nov 8 15:41:49 2021 X-Original-To: dev-commits-ports-all@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 EB74D1849B75; Mon, 8 Nov 2021 15:41:49 +0000 (UTC) (envelope-from git@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 4HnwMd6GWcz3NY4; Mon, 8 Nov 2021 15:41:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 B6B7D147B6; Mon, 8 Nov 2021 15:41:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1A8FfnML091538; Mon, 8 Nov 2021 15:41:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1A8FfnkT091537; Mon, 8 Nov 2021 15:41:49 GMT (envelope-from git) Date: Mon, 8 Nov 2021 15:41:49 GMT Message-Id: <202111081541.1A8FfnkT091537@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: d326758c32df - main - devel/llvm13: revert to the older powerpc64 fix List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d326758c32dff2938c1da97c0df5926612c3efa2 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=d326758c32dff2938c1da97c0df5926612c3efa2 commit d326758c32dff2938c1da97c0df5926612c3efa2 Author: Piotr Kubaj AuthorDate: 2021-11-08 15:39:54 +0000 Commit: Piotr Kubaj CommitDate: 2021-11-08 15:39:54 +0000 devel/llvm13: revert to the older powerpc64 fix The newer one apparently causes a regression on amd64 freestanding binaries. While here, fix some whitespace issues in Makefile. Submitted by: adalava --- devel/llvm13/Makefile | 8 ++++---- .../files/patch-llvm_lib_CodeGen_TargetLoweringBase.cpp | 11 +++++------ 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/devel/llvm13/Makefile b/devel/llvm13/Makefile index ac541aa75424..1cd59bae67e7 100644 --- a/devel/llvm13/Makefile +++ b/devel/llvm13/Makefile @@ -385,7 +385,7 @@ _BE_LIBS_AMDGPU= AsmParser Disassembler Utils _BE_LIBS_BACKWARDS_AMDGPU=MCACustomBehaviour _BE_LIBS_ARM= AsmParser Disassembler Utils _BE_LIBS_AVR= AsmParser Disassembler -_BE_LIBS_BPF= AsmParser Disassembler +_BE_LIBS_BPF= AsmParser Disassembler _BE_LIBS_Hexagon= AsmParser Disassembler _BE_LIBS_Lanai= AsmParser Disassembler _BE_LIBS_MSP430= AsmParser Disassembler @@ -412,7 +412,7 @@ BE_PATTERN=${_BE_LIBS_STANDARD:O:S/$/.a/:ts|} _CRTLIBDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/lib/freebsd _CRTBLDIR= ${LLVM_DIR}/lib/clang/${LLVM_RELEASE}/share _COMPILER_RT_BLACKLISTS= cfi_ignorelist.txt -_COMPILER_RT_LIBS_i386= \ +_COMPILER_RT_LIBS_i386= \ libclang_rt.asan-i386.a \ libclang_rt.asan-i386.so \ libclang_rt.asan-preinit-i386.a \ @@ -432,7 +432,7 @@ _COMPILER_RT_LIBS_i386= \ .if ${ARCH} == "amd64" _COMPILER_RT_BLACKLISTS+= asan_ignorelist.txt _COMPILER_RT_BLACKLISTS+= msan_ignorelist.txt -_COMPILER_RT_LIBS= \ +_COMPILER_RT_LIBS= \ libclang_rt.asan-preinit-x86_64.a \ libclang_rt.asan-x86_64.a \ libclang_rt.asan-x86_64.a.syms \ @@ -490,7 +490,7 @@ MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin # Comment out plist entries for unsupported options. .for opt in ${_ALL_OPTIONS} .if !${OPTIONS_DEFINE:M${opt}} -PLIST_SUB+= ${opt}="@comment " +PLIST_SUB+= ${opt}="@comment " .endif .endfor diff --git a/devel/llvm13/files/patch-llvm_lib_CodeGen_TargetLoweringBase.cpp b/devel/llvm13/files/patch-llvm_lib_CodeGen_TargetLoweringBase.cpp index 0323f6d7a13b..be583763f6ea 100644 --- a/devel/llvm13/files/patch-llvm_lib_CodeGen_TargetLoweringBase.cpp +++ b/devel/llvm13/files/patch-llvm_lib_CodeGen_TargetLoweringBase.cpp @@ -1,15 +1,14 @@ ---- llvm/lib/CodeGen/TargetLoweringBase.cpp.orig 2021-09-24 16:18:10 UTC +diff --git a/contrib/llvm-project/llvm/lib/CodeGen/TargetLoweringBase.cpp b/contrib/llvm-project/llvm/lib/CodeGen/TargetLoweringBase.cpp +--- llvm/lib/CodeGen/TargetLoweringBase.cpp +++ llvm/lib/CodeGen/TargetLoweringBase.cpp -@@ -1980,8 +1980,11 @@ void TargetLoweringBase::insertSSPDeclarations(Module - auto *GV = new GlobalVariable(M, Type::getInt8PtrTy(M.getContext()), false, +@@ -1961,7 +1961,8 @@ GlobalVariable::ExternalLinkage, nullptr, "__stack_chk_guard"); -+ -+ // FreeBSD has "__stack_chk_guard" defined externally on libc.so if (TM.getRelocationModel() == Reloc::Static && - !TM.getTargetTriple().isWindowsGNUEnvironment()) + !TM.getTargetTriple().isWindowsGNUEnvironment() && -+ !TM.getTargetTriple().isOSFreeBSD()) ++ !(TM.getTargetTriple().isPPC64() && TM.getTargetTriple().isOSFreeBSD())) GV->setDSOLocal(true); } } +