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 EC1446D60B2; Tue, 7 Nov 2023 16:32:34 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org EC1446D60B2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1699363955; bh=hztA1laI1+JBQYMgRtk7yKIGkogJjA16p5w/5RAln40=; 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=e7HPVMzBJtpdwc4EW3p2bJdr3ClCa21YHc4xglXSKxFgp3TnQa0SDJS66DdqhtYEm 0hvFw5Eu7UjOmzijhodbiXU9+09JuVfStVi24kCOYmVTGs/JDQbtLSE7zMs8OiCqWE ZQVa5Dl8vwSX5/pclM6EmrZ7euQFNRLmAfJPaRn8= Received: from smtp54.i.mail.ru (smtp54.i.mail.ru [95.163.41.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id A47916D60B2 for ; Tue, 7 Nov 2023 16:32:32 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org A47916D60B2 Received: by smtp54.i.mail.ru with esmtpa (envelope-from ) id 1r0MBz-001Aw0-0z; Tue, 07 Nov 2023 16:32:31 +0300 Date: Tue, 7 Nov 2023 13:30:26 +0000 To: Maksim Kokryashkin Message-ID: References: <20231003151133.13730-1-max.kokryashkin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20231003151133.13730-1-max.kokryashkin@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: B8F34718100C35BD X-77F55803: 4F1203BC0FB41BD99FFD3FA9E0A670D850CF0F3E82B2748177A15F699ADCD00600894C459B0CD1B963D33800D9B92D63CFE11EE65CD25E09347993DBBB676C2306A95C38A1BD7B27 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE70A10A23A3B64B805EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063745D431239A8C7DA08638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D89CEC2C55853532F884E1150EB91F6916117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC974A882099E279BDA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD186FD1C55BDD38FC3FD2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EEB28585415E75ADA9CEDA8D6C8C3B0531D8FC6C240DEA76429C9F4D5AE37F343AA9539A8B242431040A6AB1C7CE11FEE367F1C1C3ABB44F3A6E0066C2D8992A16C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947CD2DCF9CF1F528DBC2E808ACE2090B5E1725E5C173C3A84C3C5EA940A35A165FF2DBA43225CD8A89F616AD31D0D18CD5C35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-C1DE0DAB: 0D63561A33F958A52AC924BCBE6668D2E4FFC0EEF0B2F49A523BC7F8E16967C8F87CCE6106E1FC07E67D4AC08A07B9B01F9513A7CA91E555CB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADBF74143AD284FC7177DD89D51EBB7742424CF958EAFF5D571004E42C50DC4CA955A7F0CF078B5EC49A30900B95165D34128DEC38EFF4BE5AF92A9364CB283909887DACF2BDF4AA23CAF2B2ED1B1F64FFB663A359A9F35BAF1D7E09C32AA3244C6622F4B7120FF3CEA7BBF80D9A25979A8580396430872480ED9A463B7D0AAFF65DA084F8E80FEBD376A4ED3E9341DC2FCD72808BE417F3B9E0E7457915DAA85F X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojoiosMWyUVRfK1TV2PSEVQw== X-Mailru-Sender: 2FEBA92C8E508479FE7B9A1DF348D531BFDC8E8B4C9460AC62CD86C26E9FB5E5AB4E52EF0D8536FB2326FE6F2A341ACE0FB9F97486540B4CD9E8847AB8CFED4D9ABF8A61C016C2CFB0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit] Fix Clang build. 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" Max, I've checked the patchset into all long-term branches in tarantool/luajit and bumped a new version in master, release/2.11 and release/2.10. On 03.10.23, Maksim Kokryashkin via Tarantool-patches wrote: > From: Mike Pall > > (cherry-picked from commit 384d6d56f4a3841fdef607a511dda92a579af2ff) > > The `__GNUC__` macro signals that GNU extensions are supported > by a compiler. Some versions of the clang compiler > (clang 10.0.0 targeting the MSVC ABI, for example) may not > define that macro. However, they still support the GNU > extensions. This patch fixes the build for those compilers > by checking the `__clang__` macro value alongside `__GNUC__`. > > Part of the patch relevant to 'lj_err.c' is omitted since all > of the required changes were already backported in the scope > of the patch b6d285214db9892aaef838950d200f395c93fe2d ('Cleanup > and enable external unwinding for more platforms.'). > > No tests were added since the issue is relevant for a very > specific type of very old clang 10.0.0, which is not really > relevant for us. > > Maxim Kokryashkin: > * added the description for the problem > > Part of tarantool/tarantool#9145 > --- > PR: https://github.com/tarantool/tarantool/pull/9215 > Branch: https://github.com/tarantool/luajit/tree/fckxorg/lj-595-fix-clang-build > Issue: https://github.com/luajit/luajit/issues/595 > src/lj_alloc.c | 2 +- > src/lj_def.h | 4 ++-- > src/lj_emit_x86.h | 2 +- > src/lj_ircall.h | 2 +- > src/lj_mcode.c | 2 +- > src/lj_strfmt.h | 2 +- > src/lj_strscan.c | 2 +- > 7 files changed, 8 insertions(+), 8 deletions(-) > > -- > 2.39.3 (Apple Git-145) > -- Best regards, IM