From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id 52A2A6F865; Thu, 29 Apr 2021 00:12:24 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 52A2A6F865 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1619644344; bh=oUtBGGPWZ6W1XA+QfnRnzE8+D4pfh84ZfbqJzy1CXXo=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=zyAmRH64QVGJjgQfb1pYIJU+zE+kXL0bCodMmc3QVtiWF4zFXdVVjQ7tZMbo0+5KT Do/w0Jomu/tiSbaWvxkznYF6ToVbmNSDhcYleOXgHYc2qdFhXr9RITgPxSMKV+2Lx8 yzcM8U8AFJOu/Rd87Jtt/xdi1NSk8O/CjuAIRa4Y= Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id E3DE86F865 for ; Thu, 29 Apr 2021 00:12:22 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E3DE86F865 Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1lbrTp-0004pL-0M; Thu, 29 Apr 2021 00:12:21 +0300 Date: Wed, 28 Apr 2021 23:51:09 +0300 To: Sergey Ostanevich , Sergey Kaplun Message-ID: <20210428205109.GD24014@tarantool.org> References: <5465d7bc81f04842dcdb65f222db381036c0659c.1619561872.git.imun@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <5465d7bc81f04842dcdb65f222db381036c0659c.1619561872.git.imun@tarantool.org> X-Clacks-Overhead: GNU Terry Pratchett User-Agent: Mutt/1.10.1 (2018-07-13) X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9ECFD8CE5F059401075B5680518B3518A9E26A0D900A5ED66182A05F538085040E7281576B2B4850CF7347B27956200E8A62440B9D125DC78BDF9DA8033D40480 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7922D113DFDC6D5A3EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063702DFA59B3C994360EA1F7E6F0F101C67CDEEF6D7F21E0D1D9295C2E9FA3191EE1B59CA4C82EFA6584CF24E4B87D1E3BED33FF28329763A67F6B57BC7E64490618DEB871D839B73339E8FC8737B5C22495FF0BFC5AEE34BE6CC7F00164DA146DAFE8445B8C89999729449624AB7ADAF37F6B57BC7E64490611E7FA7ABCAF51C92176DF2183F8FC7C000E2D00546020E658941B15DA834481F9449624AB7ADAF372E808ACE2090B5E14AD6D5ED66289B5259CC434672EE63711DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C37725542EFDE5E0D335872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A2AD77751E876CB595E8F7B195E1C978319D2629366C41FAF1A3BF5431196D8D52 X-C1DE0DAB: 0D63561A33F958A5442B7A25C16618BC2CBAE04CC089E221800C0328E551B6D3D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA7502E6951B79FF9A3F410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D3453037B5638665721D8705374B095D7804BE692CEDE2D4C505D6F1E00DF4BB2C432C3C6CA4826B0DE1D7E09C32AA3244CFD4A631BCB3A3FBA8EEB8AA9951CC8B6853296C06374E6028D5DD81C2BAB7D1D X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojoCaqxM2e5spkwDcy3GdBHQ== X-Mailru-Sender: 689FA8AB762F73936BC43F508A063822993FC4DEDB68067F63EDA673660F6EDFA7C8D0F45F857DBFE9F1EFEE2F478337FB559BB5D741EB964C8C2C849690F8E70A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH] build: fix linker flags for executable on MacOS X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Igor Munkin via Tarantool-patches Reply-To: Igor Munkin Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" I've checked the patch into wip-m1/master. On 28.04.21, Igor Munkin wrote: > This patch fixes inaccuracy in Tarantool build configuration introduced > by commit 07c83aab5c066ca75c149112b331b4dbb81b3f38 ('build: adjust > LuaJIT build system'). All those MacOS-related tweaks for __PAGEZERO > size and preferred load address for the bundle are necessary only for > builds with 32-bit GC area on 64-bit host. The only case fitting these > conditions is x86_64 with no LUAJIT_ENABLE_GC64. All other 64-bit builds > use 64-bit GC area unconditionally. > > Part of #5983 > Needed for #5629 > Follows up #4862 > > Signed-off-by: Igor Munkin > --- > > This patch partially fixes the build on M1. I tested it on tntmac07 > alongside with the changes Nikita made for libcoro[1]. As a result > Tarantool has been successfully built, but fails to start. CI looks to > be OK[2] except the known problems with ASAN[3]. > > Issue: https://github.com/tarantool/tarantool/issues/5983 > Branch: https://github.com/tarantool/tarantool/tree/imun/gh-5983-fix-build-on-m1 > > [1]: https://github.com/tarantool/tarantool/commit/309ce38 > [2]: https://github.com/tarantool/tarantool/commit/5465d7b > [3]: https://github.com/tarantool/tarantool/issues/6031 > > > cmake/luajit.cmake | 20 +++++++++++++++----- > 1 file changed, 15 insertions(+), 5 deletions(-) > > -- > 2.25.0 > -- Best regards, IM