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 895B9C433F5 for ; Thu, 13 Jan 2022 13:41:56 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4957A832FD; Thu, 13 Jan 2022 14:41:53 +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=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="QVk/oAnC"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 72D4983531; Thu, 13 Jan 2022 14:41:51 +0100 (CET) Received: from mail-vk1-xa29.google.com (mail-vk1-xa29.google.com [IPv6:2607:f8b0:4864:20::a29]) (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 69CD3834E0 for ; Thu, 13 Jan 2022 14:41:48 +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-vk1-xa29.google.com with SMTP id 78so3823095vkz.7 for ; Thu, 13 Jan 2022 05:41:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g+UQ4mRHHnauwO4Zixv7puqcaJgOnv7R8n2IqqpeqVI=; b=QVk/oAnCGwkCnrUK3Q2c0XGNgI9G9b9G0g7pUOGUaGeRptJFFUEw7tw5W7uCfcdTwN Gp5B8gVgujp0OlSM2a0Na95V/8zEAbrYgD20EZ7/YiklAYYK5i8IcdF14XQPI1+jjsSi 2bFFL7FmI7nQyPxr7lL2C9+GRjIt7YwiNYLug= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=g+UQ4mRHHnauwO4Zixv7puqcaJgOnv7R8n2IqqpeqVI=; b=Qd+3uOSCO29n4122aA3G9+RO2C+YDlRTpOOqAWCjSi1PBFKUgsuVjZuR205YiMuG92 B2VlJd9uQ9BXLOVzWIRlIFQSDnsSPKyTRNIUYCDHFl81cKo51dDy/DG8buax91YaSVhI uiA7xRDwdpnSt5WDjgSmcooIc8h8qtWWJA+KJB0DksZIzOzh6Fo8GpZ+M56Jim5GlsTz 92oVQF3qLqdfNSc3toBx+IOALsC/vEUwCcQxF8dKZIgqR3Bh8GTGRX0tYPHLRXAMNsQY mOquk36usn1dwIY50aT+PNxOn85FsViynUBetiRi4m7h3n91nfhdJUdSXAFw4sWzdLE2 X+OQ== X-Gm-Message-State: AOAM532uoN6iCDM352KnOMoG97EMEjRVLWBzyCcW46s/UY8/pkAdeSqJ eT0mn9/fGJEFTGKcbnCnp82RYCvBU6rL6di3mrzLgYB/SWw= X-Google-Smtp-Source: ABdhPJyaNhvO/k6OOK9ZyIkbEUP+XgUHSstU9WgUYRG2orFc6041wOYCBgaxSV65i++RZepz3AokpMq7xsaS3/Dm67o= X-Received: by 2002:a1f:2d8a:: with SMTP id t132mr2283487vkt.3.1642081307037; Thu, 13 Jan 2022 05:41:47 -0800 (PST) MIME-Version: 1.0 References: <4d2205b3-9022-6529-762c-8b015d37d5f8@gmx.de> In-Reply-To: <4d2205b3-9022-6529-762c-8b015d37d5f8@gmx.de> From: Simon Glass Date: Thu, 13 Jan 2022 06:41:35 -0700 Message-ID: Subject: Re: [BUG] sandbox: NO_SDL=1 gcc: error: arch/sandbox/cpu/sdl.o: No such file or directory To: Heinrich Schuchardt Cc: =?UTF-8?Q?Milan_P=2E_Stani=C4=87?= , U-Boot Mailing List Content-Type: text/plain; charset="UTF-8" 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.2 at phobos.denx.de X-Virus-Status: Clean Hi Heinrich, On Mon, 10 Jan 2022 at 16:22, Heinrich Schuchardt wrote: > > Hello Simon, > > compiling with SDL fails on Alpine Linux: > https://gitlab.alpinelinux.org/alpine/aports/-/issues/13411 > > So I tried NO_SDL: > > make sandbox_defconfig NO_SDL=1 > make menuconfig # CONFIG_ETH_SANDBOX_RAW=n > make -j4 NO_SDL=1 > > But I got an error > gcc: error: arch/sandbox/cpu/sdl.o: No such file or directory Do you need mrproper first? I don't hit that problem. I see that I broke it...it needs a static inline for sandbox_sdl_remove_display(). > > Can't we make CONFIG_SANDBOX_SDL a Kconfig symbol to get rid of the > command line symbol? > > We already have CONFIG_SANDBOX_VIDEO_SDL. Do we need two symbols? You mean, manually change the defconfig file? I suppose we could do that, but it is harder for people to do. In any case, we should add this case to CI. Regards, Simon