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 9F77BF1F4E1; Tue, 29 Oct 2024 11:43:39 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 9F77BF1F4E1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1730191419; bh=GnT+c1VzT0lmfmhjp9+KboovEEQWUefXeGlMz80olHM=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=SuBRVUrXhCVtlAhAqT+Yy2mBaM2wOWIUTy21LN/N0YwM8wZialAW8y1kXgsxUJOtR 509ZfWchWX5xtbY9pe8GBsLx4eeqJHfw3eOweI3fPS7U4WiTGzNnZE0GcwWXegmO08 gvrm3wnkE/F0Y2aKlilZCXFBQlkyqzkP8ccetubM= Received: from smtp29.i.mail.ru (smtp29.i.mail.ru [95.163.41.68]) (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 5B669410E87 for ; Tue, 29 Oct 2024 11:43:38 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5B669410E87 Received: by exim-smtp-7fbf7c596c-9968r with esmtpa (envelope-from ) id 1t5hpB-00000000Y1e-22Nh; Tue, 29 Oct 2024 11:43:37 +0300 To: Maxim Kokryashkin , Sergey Bronnikov Date: Tue, 29 Oct 2024 11:42:58 +0300 Message-ID: <20241029084258.6881-1-skaplun@tarantool.org> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mailru-Src: smtp X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD93D9A9D6B1727919256BCC5067E987A9377C72054A6269E0700894C459B0CD1B9081180A34FCB8C9AC0EF64EBAB67AF459642ACD3E7DC52F7F5B9299853EB1414E14C30E3D2487BCD X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE716FAD50E497B9C14EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637B84F9009663064BD8638F802B75D45FF36EB9D2243A4F8B5A6FCA7DBDB1FC311F39EFFDF887939037866D6147AF826D82572DAB892371B26CD8AAD01193C15BEE8F4BFB83A3BCB23CC7F00164DA146DAFE8445B8C89999728AA50765F7900637DCE3DBD6F8E38AFD389733CBF5DBD5E9C8A9BA7A39EFB766F5D81C698A659EA7CC7F00164DA146DA9985D098DBDEAEC80CABCCA60F52D7EBF6B57BC7E6449061A352F6E88A58FB86F5D81C698A659EA7E827F84554CEF5019E625A9149C048EE9ECD01F8117BC8BEE2021AF6380DFAD18AA50765F7900637B8FA30D9455089A722CA9DD8327EE4930A3850AC1BE2E73525A4AB119743A3B3C4224003CC83647689D4C264860C145E X-87b9d050: 1 X-C1DE0DAB: 0D63561A33F958A51E141D2EA30D62A35002B1117B3ED69657905696D151E3878B25839F35DFE037823CB91A9FED034534781492E4B8EEAD3F23D99D50CED82FC79554A2A72441328621D336A7BC284946AD531847A6065A535571D14F44ED41 X-C8649E89: 1C3962B70DF3F0ADE00A9FD3E00BEEDF77DD89D51EBB7742D3581295AF09D3DF87807E0823442EA2ED31085941D9CD0AF7F820E7B07EA4CFA32F6361466F86A3BB2293AF4501C5BF284CA2984FF5B7DC8376CD6E5AF98746715D154A38A044DC62F6083D2AD86BCE6C6FE91EA269A7B7455CF3733C06167E08E59BD14D25B6D6C226CC413062362A913E6812662D5F2A5EAB5682573093F7837F15F2B5E4A70B33F2C28C22F508233FCF178C6DD14203 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojbL9S8ysBdXg6qCWIG7ypho9RtLNR281l X-DA7885C5: A6FC028F86D6C7C1F255D290C0D534F977415B0A17BF1443F70A21D039DF977AD57F023044F6B5D45B1A4C17EAA7BC4BEF2421ABFA55128DAF83EF9164C44C7E X-Mailru-Sender: 689FA8AB762F739381B31377CF4CA219EF22A799E76A2545C2B07976C7425D138E8012C737DD8089E49D44BB4BD9522A059A1ED8796F048DB274557F927329BE89D5A3BC2B10C37545BD1C3CC395C826B4A721A3011E896F X-Mras: Ok Subject: [Tarantool-patches] [PATCH luajit] test: fix build for macOS Sequoia 15.0 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: Sergey Kaplun via Tarantool-patches Reply-To: Sergey Kaplun Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" When building on macOS Sequoia 15.0, I've got the following error from including : | error: unknown type name 'caddr_t' | int ptrace(int _request, pid_t _pid, caddr_t _addr, int _data); It can be fixed by including , but since this test is skipped for macOS anyway, I prefer just to move all necessary includes under the corresponding define. --- Branch: https://github.com/tarantool/luajit/tree/skaplun/gh-noticket-fix-macos-c-tests .../gh-8594-sysprof-ffunc-crash.test.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c b/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c index cf1d815a..4067ba1d 100644 --- a/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c +++ b/test/tarantool-c-tests/gh-8594-sysprof-ffunc-crash.test.c @@ -5,12 +5,6 @@ #include "test.h" #include "utils.h" -#include -#include -#include -#include -#include - /* XXX: Still need normal assert inside and helpers. */ #undef NDEBUG #include @@ -24,6 +18,12 @@ #if LUAJIT_OS == LUAJIT_OS_LINUX && LUAJIT_TARGET == LUAJIT_ARCH_X64 +#include +#include +#include +#include +#include + /* * XXX: The test makes sysprof collect the particular event * (FFUNC) at the particular instruction () to -- 2.47.0