From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E3A841B4231 for ; Mon, 16 Jun 2025 15:13:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750086833; cv=none; b=uerYmn/cUm5QSqEFW8trx9kiNgvy3SMp7UWGasKueSfc1nU47aV/uOJV45QkhfJ3+8OQW5Px4yzo9cLCthFZcc+ad+DFg8/0mesWEypZwlO9BvzHINQevT+y/2KJgFVmZjxhBMNyzSbrB/UJe5MFxR4qVqRis+MOvvir1WLjvKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750086833; c=relaxed/simple; bh=2eVZl6GdA3IjDOHpsnTmqitGGBPKnEPRY27R4NBedgQ=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CkmqW/tN7mvdnZcxK+ZyMxOFFP/J7DbkcAYflawl7Yvmuth87uacJnUwfbdKLny7Py/0hHwNK970PJk23VSeDS5Iqg/8sBji9i3zAo4Sd3UQXwVu8q/qsnaRQH+9NLAdhkTEO4m3aVdVrC2pIdtmCWuY0cwQyK3G03vG/nBANFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk; spf=pass smtp.mailfrom=kernel.dk; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b=cQPnppc/; arc=none smtp.client-ip=209.85.166.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.dk Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kernel.dk Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel-dk.20230601.gappssmtp.com header.i=@kernel-dk.20230601.gappssmtp.com header.b="cQPnppc/" Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-86d0bd7ebb5so129976839f.0 for ; Mon, 16 Jun 2025 08:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20230601.gappssmtp.com; s=20230601; t=1750086828; x=1750691628; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qYIKb61Mda4wxuBUF1/UHBao6rN8Ws5tX7+Yof2KsZ8=; b=cQPnppc/m4deayNV8KksXlDOiU2A5njkpzbsXcCWoZkxsnBeIVs+Odg9GmN6EVUjJH 6NjQdEydyic8muronqvlbjK8iExrGsxOgMJvpGxkzhnFW120Lt0U0/5K808ZArV9LYVX flDgTxGH7vxuigF7OQh77D7GO6Z4JNPKkqcNkNQjFqLWFmYShsT855/o1Mtaao4Hr1kR QcFFyfiTWWlktT3Hou9q7n/X+Z2JxPOsRgwv2fZuIIq0GlGOUVw9QJ4J+qWKcdwq5mxP WHd+OQ9sWdrdwjtVPGNzfmuYqFmhazR856mPytu15k4FcHKy3WQInAlWF2I5NXPuZOd1 GqHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750086828; x=1750691628; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qYIKb61Mda4wxuBUF1/UHBao6rN8Ws5tX7+Yof2KsZ8=; b=jaoaWWM8OP1NtWCLlKO9Xk1iJmpZwmLex2nnk2ScUpxUivtLSDZOQ4wDSeafOdIyda ItM0dZNGcaU4pXbrqx56w+HEMm0Rnqd7WGN8uoOXSEEo75e6IrHVHCe8h9nz6oYqHzDB iEMc4bZdQmLef2fs7QvOmxiTrh24k8IXYoR7h+MaN8siix67cGCCrV7QK+NEFbycwruH Yv+HCFTNtnd2BU7g94ZDEsyL16wej4JzEwt7mtHDEDtG50rj4aS6baY968q4GDkcUjs9 GUEcENYeOZzzj3iHJlrzy5S2AJoSBIskgkrsP/z2cEiPGFEJjSBM4HI8XEEm20kjrSlC ZGpg== X-Gm-Message-State: AOJu0Yz42ZuFjKgi5Aw/aolMTqBwMRTC7o8sCszvNF8d0vagkUd/RfWJ ID/7D5bx4tSLIrO4INP8fdTC91ue6UWI/HWWGBnpQRRiSHkVmrWiKT82bw20NBVmQfGw58mW1C1 vdj10 X-Gm-Gg: ASbGnct8LD4Km1F3fblTUuaptjyrrHWyA6rDRXT4/kJELQY87CVZ85U8uX5XFqU6quB HMsKeYNI/eDgoBvyQyeSwWWU/cC97nB0ifhyoO4I9O8jkFvwmUmGxScCAKDGLpOvg8of2Dq06UR JA+GmG2E2rBkbt3BQ2fjLSF1p+mkOunGFKRWAooMZ8pDZsVpJJjNohMXjx/K3ysSQe780BBj1G2 jA/PDlUqr8vS4663YUgY1soPWrfQsWoypfOsJp1oUmpRvq17RSOxsphElqNCL/4nV5BqwZakxnl 1LsnzIxyB3AlGxmV03qntAOWe4YcU845eI5RqnzEqqjns01dK57eF1351jU= X-Google-Smtp-Source: AGHT+IFh4NpSD7vOmWCMcoB82+FkS8Hkje0nV3inSrccjKXTCZB9X/cpiscDJ7FNCkpXXvQaJhV2vQ== X-Received: by 2002:a05:6e02:19cd:b0:3dc:88ca:5ebe with SMTP id e9e14a558f8ab-3de07c931a9mr102141955ab.4.1750086828406; Mon, 16 Jun 2025 08:13:48 -0700 (PDT) Received: from [192.168.1.150] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-3de1627cef8sm7585445ab.13.2025.06.16.08.13.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Jun 2025 08:13:47 -0700 (PDT) Message-ID: <290bfa14-b595-4fea-b1fe-a3f0881f4220@kernel.dk> Date: Mon, 16 Jun 2025 09:13:46 -0600 Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Building liburing on musl libc gives error that errno.h not found To: =?UTF-8?Q?Milan_P=2E_Stani=C4=87?= Cc: io-uring@vger.kernel.org References: <20250615171638.GA11009@m1pro.arvanta.net> <20250615195617.GA15397@m1pro.arvanta.net> <1198c63d-4fe8-4dda-ae9f-23a9f5dafd5c@kernel.dk> <20250616130612.GA21485@m1pro.arvanta.net> <39ae421b-a633-4b47-bf2b-6a55d818aa7c@kernel.dk> <20250616141823.GA27374@m1pro.arvanta.net> Content-Language: en-US From: Jens Axboe In-Reply-To: <20250616141823.GA27374@m1pro.arvanta.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/16/25 8:18 AM, Milan P. Stani? wrote: > On Mon, 2025-06-16 at 07:59, Jens Axboe wrote: >> On 6/16/25 7:06 AM, Milan P. Stani? wrote: >>> On Mon, 2025-06-16 at 06:34, Jens Axboe wrote: >>>> On 6/15/25 1:56 PM, Milan P. Stani? wrote: >>>>> On Sun, 2025-06-15 at 12:57, Jens Axboe wrote: >>>>>> On 6/15/25 11:16 AM, Milan P. Stani? wrote: >>>>>>> Hi, >>>>>>> >>>>>>> Trying to build liburing 2.10 on Alpine Linux with musl libc got error >>>>>>> that errno.h is not found when building examples/zcrx.c >>>>>>> >>>>>>> Temporary I disabled build zcrx.c, merge request with patch for Alpine >>>>>>> is here: >>>>>>> https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/84981 >>>>>>> I commented in merge request that error.h is glibc specific. >>>>>> >>>>>> I killed it, it's not needed and should've been caught during review. >>>>>> We should probably have alpine/musl as part of the CI... >>>>> >>>>> Fine. >>>>> >>>>>>> Side note: running `make runtests` gives 'Tests failed (32)'. Not sure >>>>>>> should I post full log here. >>>>>> >>>>>> Either that or file an issue on GH. Sounds like something is very wrong >>>>>> on the setup if you get failing tests, test suite should generally >>>>>> pass on the current kernel, or any -stable kernel. >>>>>> >>>>> I'm attaching log here to this mail. Actually it is one bug but repeated >>>>> in different tests, segfaults >>>> >>>> Your kernel is ancient, and that will surely account from some of the >>>> failures you see. A 6.6 stable series from January 2024 is not current >>>> by any stretch, should definitely upgrade that. But I don't think this >>>> accounts for all the failures seen, it's more likely there's some musl >>>> related issue as well which is affecting some of the tests. >>> >>> This happens also on 6.14.8-1 asahi kernel on apple m1pro machine. >>> I forgot to mention this in previous mail, sorry. >> >> Also on musl, correct? > > Yes, correct. > >> Guessing it must be some musl oddity. I'll try and setup a vm with >> alpine and see how that goes. > > It could be. I can ask on #musl IRC channel on libera.chat Probably easier if I just take a look at it, as long as I can get an alpine vm image going. -- Jens Axboe