From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 322F1C63686 for ; Wed, 26 Jan 2022 15:36:55 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E53F583841; Wed, 26 Jan 2022 16:36:47 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="V1KZnSDj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D54F983841; Wed, 26 Jan 2022 16:36:41 +0100 (CET) Received: from mail-ua1-x92d.google.com (mail-ua1-x92d.google.com [IPv6:2607:f8b0:4864:20::92d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8DCBC837E1 for ; Wed, 26 Jan 2022 16:36:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@google.com Received: by mail-ua1-x92d.google.com with SMTP id f24so43430172uab.11 for ; Wed, 26 Jan 2022 07:36:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:in-reply-to:references:date:message-id :subject:to:cc:content-transfer-encoding; bh=FNhVBNT9JOqldnkC8+bY2keH2L9VwpQLH0YTtxF9A3M=; b=V1KZnSDjtsw6IEQSHVTUHcV1DAJc7BWzju+jaQNJsGEgc9sk1IvG+ooinsgVILeMqg m2bQ56Dux6fybhqWGlmsyyUpCW7q87rL2jgFNnKG5WD0xgPIw9ox/kzyxYexUDRha7iN cWF/RCeCvIzrfJMh1Odh0yw/kOd6GAv6c52xE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:sender:from:in-reply-to:references :date:message-id:subject:to:cc:content-transfer-encoding; bh=FNhVBNT9JOqldnkC8+bY2keH2L9VwpQLH0YTtxF9A3M=; b=mpOPPfpPRzlRKCia9i3zkYvpjLXKLu5eD1Q1/1HNTpa3Z1sS1rSJQfOX9aJ7REX5lg eQCcl14OODwxIkuuyBHufUFINvnZMOp/8EVmvYHox6ACZ8BaIT1incgKEKLjuJHzyj6j HqjAfdQEFzxd90key8qlvfUkwn0Hi/YSGi5NU2DZ28VHI0PXOvote0U6/nDfrEqnLx7n wGl4ukvHrDck8M+nzEROk25nrr3sjNulV4xwCtEm3Sx4w15WhyRpnxABKLSckUX7osSL 3vSUZqFWM2wb4Yf9Jl8K9UGsqSwui2CPdZHa/w4hH2FQl8DX0BPq5zPkNaAUhvpCWjcI v6Fw== X-Gm-Message-State: AOAM533XGY9DRosFxhm2IXxDZ9FwryAC4kAGZ9bpZHLaLKMqfHwdxqR2 saxS4TdHt44L/HvEwoRnJmqxe2Mhly0f8wp5/0AkSg== X-Google-Smtp-Source: ABdhPJyk5SgxjbtWhdWCePHT2na62emkYg8dzrjFFDj03fzl6HnxlP/Gea8Xcxe43wPNOuse2F6R6XOXgJZODiB26CY= X-Received: by 2002:a67:a249:: with SMTP id t9mr1120274vsh.51.1643211392278; Wed, 26 Jan 2022 07:36:32 -0800 (PST) Received: from 480794996271 named unknown by gmailapi.google.com with HTTPREST; Wed, 26 Jan 2022 07:36:30 -0800 MIME-Version: 1.0 From: Simon Glass In-Reply-To: References: <20220121170123.363645-1-heinrich.schuchardt@canonical.com> Date: Wed, 26 Jan 2022 07:36:30 -0800 X-Google-Sender-Auth: VbAMB-gWka6di10FZMDqok_m1Mk Message-ID: Subject: Re: [PATCH 1/1] sandbox: eth-raw: fix building with musl library To: =?UTF-8?Q?Milan_P=2E_Stani=C4=87?= Cc: Simon Glass , u-boot@lists.denx.de, Heinrich Schuchardt Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean Hi, it works and build pass without error or warning. Tested on alpine edge aarch64 bare metal. Thank you On Fri, 2022-01-21 at 18:01, Heinrich Schuchardt wrote: > The definition of struct udphdr in include netinet/udp.h in the > musl library differs from the definition in the glibc library. > > To use the same definition with musl the symbol _GNU_SOURCE has > to be defined. > > Reported-by: Milan P. Stani=C4=87 > Signed-off-by: Heinrich Schuchardt Tested-by: Milan P. Stani=C4=87 > --- > arch/sandbox/cpu/eth-raw-os.c | 2 ++ > 1 file changed, 2 insertions(+) > Applied to u-boot-dm, thanks!