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 3C222C433FE for ; Tue, 11 Oct 2022 13:56:45 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2B15D84EFB; Tue, 11 Oct 2022 15:56:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="r20ogRex"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id EB7B484EFD; Tue, 11 Oct 2022 15:56:41 +0200 (CEST) Received: from mail-qk1-x72c.google.com (mail-qk1-x72c.google.com [IPv6:2607:f8b0:4864:20::72c]) (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 3C0FC84567 for ; Tue, 11 Oct 2022 15:56:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72c.google.com with SMTP id o2so1287398qkk.10 for ; Tue, 11 Oct 2022 06:56:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=X8BbO0n5t9DmWNy3q02URkrmX4S9aJUXzexlxfC85xI=; b=r20ogRexKDG1ct7UyTYLZPPao8dIb9ecDMpuwJ/804yFXHBc43AJ9NAhqs+lhdvaUP R5N7wRRyYIpSJdrLAHa90DJ9CY9C8Ckz9E9k3qfsobWjo+nQ3+rSjinobD2/yOClHKWG XZuvxztH3SsMPrGaf+kdKQgr5fKKpOOjJJGos= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=X8BbO0n5t9DmWNy3q02URkrmX4S9aJUXzexlxfC85xI=; b=JrQwufFaWziEhdhVJyNCYRsSOgxT3Upw2/YKVDvu6Zn+e6CBv/iV86MBuIM3WyO3Wx GBZluR3e3AfILcSHiDwOInN4NQ/hkoZnroNZK7Lo/Ro+ETUCjYW/SSmCZqfKNL/u3uwa uIP320AOr0hKJrL6rMy8JeMNWf2nq0Sj/FsNYC/Ky5ehCZAidQ+N+qQoJUfa2S+KuEs1 bjQlqjM3GGu2KkcVKjIXZIACrM/HtSI7x9/K/qx8tqUmOfnNfgpeUR5FZactK+p1SrV5 90VKnfI02mFwj1GOzufsX/19W0xdgiMZvmeYkYU/cieYHq9HlZmbpDjPA8Oets6I1kKc QnGw== X-Gm-Message-State: ACrzQf393UEL9gtFc3sxI147vS33q7W6C7n/kx7A7A8h73Pll+41FglH S/T6Hn8I+/CdH4OKrrGk9HYdNg== X-Google-Smtp-Source: AMsMyM4NGSaUqi/WQ9/T3KpGd1KNfw4k5xStdiPGQPxnvtDT1sytNVE+Qtt6hfTW03qHDggJisiieQ== X-Received: by 2002:a05:620a:4015:b0:6ed:a8db:32c0 with SMTP id h21-20020a05620a401500b006eda8db32c0mr5523337qko.656.1665496597889; Tue, 11 Oct 2022 06:56:37 -0700 (PDT) Received: from bill-the-cat (2603-6081-7b00-6400-9506-5302-f3bb-a137.res6.spectrum.com. [2603:6081:7b00:6400:9506:5302:f3bb:a137]) by smtp.gmail.com with ESMTPSA id s2-20020a05620a29c200b006cbdc9f178esm12792979qkp.25.2022.10.11.06.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 06:56:37 -0700 (PDT) Date: Tue, 11 Oct 2022 09:56:35 -0400 From: Tom Rini To: Alistair Delva Cc: u-boot@lists.denx.de, Rick Chen , Simon Glass , Nick Desaulniers Subject: Re: [PATCH] examples: standalone: Fix build with LLVM toolchain Message-ID: <20221011135635.GY2020586@bill-the-cat> References: <20220926204710.860923-1-adelva@google.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="jllsgs4PL/sXFNaa" Content-Disposition: inline In-Reply-To: <20220926204710.860923-1-adelva@google.com> X-Clacks-Overhead: GNU Terry Pratchett 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.6 at phobos.denx.de X-Virus-Status: Clean --jllsgs4PL/sXFNaa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 26, 2022 at 08:47:10PM +0000, Alistair Delva wrote: > When building the standalone example with llvm, the link step fails: >=20 > examples/standalone/libstubs.o: In function `dummy': > include/_exports.h:10: undefined reference to `jt' > include/_exports.h:11: undefined reference to `jt' > include/_exports.h:12: undefined reference to `jt' > include/_exports.h:13: undefined reference to `jt' > include/_exports.h:14: undefined reference to `jt' > examples/standalone/libstubs.o:include/_exports.h:15: > more undefined references to `jt' follow >=20 > Indeed, the standalone libstubs.o does use the jt symbol, but it was > marked 'static' in stubs.c. It's strange how gcc builds are working. >=20 > Signed-off-by: Alistair Delva > Cc: Rick Chen > Cc: Simon Glass > Cc: Tom Rini > Cc: Nick Desaulniers Applied to u-boot/master, thanks! --=20 Tom --jllsgs4PL/sXFNaa Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmNFdg0ACgkQFHw5/5Y0 tyzzjAv+Nt6p3F77gvXNIhMQQUPkZYIczVt3CJ3lgHosbF/KNxwcHJ/27riayW6r fabrl/OWpKGmbpSgnhy+GE4jzwGleXnfR3zONru85WLPdZ7KisxdvquOfiN691Q3 7SZoz8RkjyR4FhWxxc+plcjh8pfYQryyoGsXn/L0wasD+HsOh1GqLqvZiW4hw67N 9DCj8rhp4h4qUn4VnnA0K/TwUOxuj25QcsA5J1o/MFGdAuXVQUzMO5kKvsnGa+sj npWCfigk2HRay9KZGKTQPdtOdi1+c3jzEXisl8KRLPlh+DIWUVkmF98CRCHphL7F UUkOaLP6fp4DRhhCwA2x9fAzYOdBS65WxbXWjenmSj48cuqzf1UXkYPLmTsQcxg9 WkP9NAJSj9FOqOz7tLZAOE7B9h3rdw3ybm7tnBnjYhahASA2AIf0eYiX7e1KxidC XuMEjhzVdTE+JBKefkJKD7OjMxJP7lJ/Q2rscAS4dYE1GjrxH1rikr1N77UCKpmy YTyeJlQL =TwKN -----END PGP SIGNATURE----- --jllsgs4PL/sXFNaa--