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 365DE608E87; Thu, 31 Aug 2023 18:35:16 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 365DE608E87 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1693496116; bh=k78SCFMMm9/6UOCiG71OLLOzoWPBZH+oXz0OKM9lHbs=; 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=gZBOmh8H9G6ZhVyDNIVAo8X8BIP1flkcCaC3uTXUFLOG+Oc08X+t8C8xsoWmTKanH oHDSfdWFtyWIEgzdTGnX7vz8LarjFc7udztzuTgTVZ4mauost0YR2BYWMQmKeIzWJj 0nfz8bD82Gnnkl+y6n3aDU7FWZ131bXJtbRfcSWI= Received: from smtp50.i.mail.ru (smtp50.i.mail.ru [95.163.41.92]) (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 985B9608E86 for ; Thu, 31 Aug 2023 18:35:15 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 985B9608E86 Received: by smtp50.i.mail.ru with esmtpa (envelope-from ) id 1qbjhR-00GvLS-0K; Thu, 31 Aug 2023 18:35:13 +0300 Date: Thu, 31 Aug 2023 15:17:49 +0000 To: Sergey Kaplun Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Clacks-Overhead: GNU Terry Pratchett X-Mailru-Src: smtp X-4EC0790: 10 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD96E142CFC92DB15CD90AAA51E9363FBE6A21DF977184D824F182A05F538085040C81FCEA13D82E7587F4258DEC3483F1A3735FC629B40FE6F13946607101EC241 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7E50EC9128971FD6EEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006370BEBC60587DC626C8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D858A26CADB675C2688405B824BA23DFD3117882F4460429724CE54428C33FAD305F5C1EE8F4F765FC0E007FA4003F52FEA471835C12D1D9774AD6D5ED66289B52BA9C0B312567BB23117882F446042972877693876707352033AC447995A7AD186FD1C55BDD38FC3FD2E47CDBA5A96583BA9C0B312567BB2376E601842F6C81A19E625A9149C048EEB28585415E75ADA99100238FE36DC7A2D8FC6C240DEA76429C9F4D5AE37F343AA9539A8B242431040A6AB1C7CE11FEE3CF7CD7A0D5AA5F256136E347CC761E07C4224003CC836476E2F48590F00D11D6E2021AF6380DFAD1A18204E546F3947CB11811A4A51E3B096D1867E19FE1407959CC434672EE6371089D37D7C0E48F6C8AA50765F79006377870F476E0DB9443EFF80C71ABB335746BA297DBC24807EABDAD6C7F3747799A X-C1DE0DAB: 0D63561A33F958A560A950D03A21D5CAE5C0F5BF88446D14866A1C66C4FBB915F87CCE6106E1FC07E67D4AC08A07B9B01DAA61796BF5227BCB5012B2E24CD356 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF3FED46C3ACD6F73ED3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CF24924608CA5A0BD89E0E7F8CE176D58A4DD3BB8CFF2F57FF559B972917912111A2F8A0A94712AD9D133B6A6C95330E125E52BD82A808F3F5D0B7C7A3B477AA7FA74DFFEFA5DC0E7F02C26D483E81D6BEECAEF3E2CCC1ED8C383653B6C8D9AE0FD16FCAA6493B703A X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj6jqRMsEo8wfCNzVd8jQ1pA== X-Mailru-Sender: 2FEBA92C8E508479FE7B9A1DF348D53159D24C19D63B5079499319F4A33092D53D55658DEFB9AEE82326FE6F2A341ACE0FB9F97486540B4CD9E8847AB8CFED4D9ABF8A61C016C2CFB0DAF586E7D11B3E67EA787935ED9F1B X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCH luajit 00/19] Prerequisites for improve assertions 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" Sergey, 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 09.08.23, Sergey Kaplun wrote: > This patch-set contains all commits are necessary to avoid conflicts > during the backporting of 8ae5170c "Improve assertions" [1], that are > caused by outdating from the upstream. > > This patch-set: > - includes several new ports (see patches 4-6, 8, 19) -- only > description is added for such patches. > - fixes some MIPS misbehaviour (1, 3, 17) -- include tests (*), except > the first one, since it depends on memory mapping. > - fixes non-Linux/macOS build (7) > - backportes patches, that was excluded or partially stripped before (10, > 14, 15) > - includes refactoring (2, 9, 18) > - fixes general bugs (16) > - fixes gcc 7.1 -Wimplicit-fallthrough warnings (11 - 13) > > Note: that only patches 3, 16, 17 adds some new tests. > Other patches just provided description, and the patch 13 adds > -Wimplicit-fallthrough for GCC (>= 7.1) builds. > > Patches are backported in the free order as far as they are unrelated > to each other. > > (*) To run tests for mips64 in qemu: > > Compile with the following command: > > | make -j -f Makefile.original HOST_CC="gcc " \ > | CROSS=mips64el-unknown-linux-gnu- \ > | CCDEBUG=" -g -ggdb3" CFLAGS=" -O0" \ > | XCFLAGS=" -DLUA_USE_APICHECK -DLUA_USE_ASSERT " > > Be avare, that mips64el-unknown-linux-gnu-gcc should provide n64 abi by > default. > Side note: installed on Gentoo with the following command > | crossdev -t mips64el --abis n64 --ex-gdb > > And run the corresponding test (-g 7776 to use GDB server on 7776 > port): > | LUA_PATH="src/?.lua;test/tarantool-tests/?.lua;test/tarantool-tests/?/init.lua;;" \ > | LD_LIBRARY_PATH="/usr/lib/gcc/mips64el-unknown-linux-gnu/13/" \ > | qemu-mips64el -g 7776 -L /usr/mips64el-unknown-linux-gnu/ \ > | src/luajit -jdump=ta test/tarantool-tests/fix-mips64-spare-side-exit-patching.test.lua > > If you want to connect to the running test from multiarch-gdb: > | mips64el-unknown-linux-gnu-gdb src/luajit > | (gdb) target remote 0.0.0.0:7776 > | ... > | 0x000000400297fd00 in __start () from /usr/mips64el-unknown-linux-gnu/lib64/ld.so.1 > | (gdb) c > > [1]: https://github.com/LuaJIT/LuaJIT/commit/8ae5170c > > Branch: https://github.com/tarantool/luajit/tree/skaplun/gh-8825-mips-ppc-refactoring > PR: https://github.com/tarantool/tarantool/pull/8969 > Related Issues: > * https://github.com/tarantool/tarantool/issues/8825 > * https://github.com/LuaJIT/LuaJIT/pull/362 > * https://github.com/LuaJIT/LuaJIT/issues/812 > > Mike Pall (17): > MIPS: Use precise search for exit jump patching. > MIPS: Fix handling of spare long-range jump slots. > MIPS64: Add soft-float support to JIT compiler backend. > PPC: Add soft-float support to interpreter. > PPC: Add soft-float support to JIT compiler backend. > Windows: Add UWP support, part 1. > FFI: Eliminate hardcoded string hashes. > Cleanup math function compilation and fix inconsistencies. > Fix GCC 7 -Wimplicit-fallthrough warnings. > DynASM: Fix warning. > ARM: Fix GCC 7 -Wimplicit-fallthrough warnings. > Fix debug.getinfo() argument check. > Fix LJ_MAX_JSLOTS assertion in rec_check_slots(). > Prevent integer overflow while parsing long strings. > MIPS64: Fix register allocation in assembly of HREF. > DynASM/MIPS: Fix shadowed variable. > MIPS: Add MIPS64 R6 port. > > Sergey Kaplun (2): > test: introduce mcode generator for tests > build: fix non-Linux/macOS builds > > > -- > 2.41.0 > -- Best regards, IM