From owner-svn-ports-all@freebsd.org Fri Apr 27 23:10:17 2018 Return-Path: Delivered-To: svn-ports-all@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 D0676FB400B; Fri, 27 Apr 2018 23:10:16 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 83943769A9; Fri, 27 Apr 2018 23:10:16 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E64D5318; Fri, 27 Apr 2018 23:10:16 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w3RNAGAQ002932; Fri, 27 Apr 2018 23:10:16 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w3RNAGGi002931; Fri, 27 Apr 2018 23:10:16 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201804272310.w3RNAGGi002931@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Fri, 27 Apr 2018 23:10:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r468502 - head/lang/beignet X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: head/lang/beignet X-SVN-Commit-Revision: 468502 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2018 23:10:17 -0000 Author: jbeich Date: Fri Apr 27 23:10:16 2018 New Revision: 468502 URL: https://svnweb.freebsd.org/changeset/ports/468502 Log: lang/beignet: cannot build with llvm50 on 10.3 FAILED: src/kernels/cl_internal_copy_buf_align16_str.c cd /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src && rm -rf /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c && env OCL_BITCODE_LIB_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.bc OCL_HEADER_FILE_DIR=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//include/ OCL_PCH_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet.local.pch OCL_BITCODE_LIB_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.bc OCL_PCH_20_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libocl//usr/local/lib/beignet//beignet_20.local.pch LD_LIBRARY_PATH=/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2 -Source/backend/src/gbe_bin_generater -s -o/wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16_str.c /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/src/kernels//cl_internal_copy_buf_align16.cl ninja: build stopped: subcommand failed. Program received signal SIGBUS, Bus error. std::__1::basic_string, std::__1::allocator >::compare ( this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643 3643 size_t __rhs_sz = __str.size(); (gdb) backtrace #0 std::__1::basic_string, std::__1::allocator >::compare ( this=0x80959ac20, __str=...) at /usr/include/c++/v1/string:3643 #1 std::__1::operator< , std::__1::allocator > (__lhs=..., __rhs=...) at /usr/include/c++/v1/string:3827 #2 std::__1::__tree, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > > >::value_comp ( this=0x7fffffff9af8, this=0x7fffffff9af8, __x=..., __y=...) at /usr/include/c++/v1/__functional_base:63 #3 std::__1::__tree, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > > >::__find_equal, std::__1::allocator > > (this=0x7fffffff9ae8, __parent=@0x7fffffff94b8: 0x80063e400, __v=...) at /usr/include/c++/v1/__tree:1613 #4 0x0000000800f6c3c2 in std::__1::__tree, std::__1::allocator >, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > > ---Type to continue, or q to quit--- >::__insert_unique (this=0x7fffffff9ae8, __v=...) at /usr/include/c++/v1/__tree:1867 #5 0x000000080147e8eb in clang::ASTReader::ReadASTBlock(clang::serialization::ModuleFile&, unsigned int) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #6 0x0000000801484484 in clang::ASTReader::ReadAST(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, unsigned int, llvm::SmallVectorImpl*) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #7 0x000000080138be1b in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, llvm::StringRef, bool, bool, clang::Preprocessor&, clang::ASTContext&, clang::PCHContainerReader const&, llvm::ArrayRef >, clang::DependencyFileGenerator*, llvm::ArrayRef >, void*, bool, bool, bool) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #8 0x000000080138bb7c in clang::CompilerInstance::createPCHExternalASTSource(llvm::StringRef, bool, bool, void*, bool) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #9 0x00000008013d0d47 in clang::FrontendAction::BeginSourceFile(clang::CompilerInstance&, clang::FrontendInputFile const&) () from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #10 0x000000080138eec5 in clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) () ---Type to continue, or q to quit--- from /wrkdirs/usr/ports/lang/beignet/work/Beignet-1.3.2-Source/backend/src/libgbe.so #11 0x0000000800f19565 in gbe::buildModuleFromSource ( source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' , "global float* dst, unsigned int dst_offset,\n\t\t\t\t unsigned int size)\n{\n "..., out_module=0x7fffffffd360, llvm_ctx=0x809419468, dumpLLVMFileName=..., dumpSPIRBinaryName=..., options=..., stringSize=0, err=0x0, errSize=0x0, oclVersion=120) at backend/src/backend/program.cpp:735 #12 0x0000000800f0688c in gbe::programCompileFromSource (deviceID=0, source=0x8007b2000 "kernel void __cl_copy_region_align16 ( global float* src, unsigned int src_offset,\n", ' ' , "global float* dst, unsigned int dst_offset,\n\t\t\t\t unsigned int size)\n{\n "..., temp_header_path=0x0, stringSize=0, options=0x809417259 "", err=0x0, errSize=0x0) at backend/src/backend/program.cpp:1163 #13 0x00000000004073f8 in program_build_instance::build_program (this=0x809417240) at backend/src/gbe_bin_generater.cpp:280 #14 0x000000000040990f in main (argc=4, argv=0x7fffffffe740) at backend/src/gbe_bin_generater.cpp:429 Modified: head/lang/beignet/Makefile (contents, props changed) Modified: head/lang/beignet/Makefile ============================================================================== --- head/lang/beignet/Makefile Fri Apr 27 23:09:59 2018 (r468501) +++ head/lang/beignet/Makefile Fri Apr 27 23:10:16 2018 (r468502) @@ -64,4 +64,11 @@ do-test-TEST-on: pre-install-TEST-on: do-test-TEST-on +.include + +# gbe_bin_generater crashes in libc++ when built by clang++60 +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1003513 +LLVMVER= 50 +.endif + .include