Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1320702pxb; Fri, 6 Nov 2020 06:50:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMJs0Id0kKkNYisCsJh/OZT6QmWTU7fJ3tQ4+67sI4lpergae8vZK3EJ9HRgiPE/rBILv4 X-Received: by 2002:a17:906:1317:: with SMTP id w23mr2318440ejb.120.1604674217459; Fri, 06 Nov 2020 06:50:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604674217; cv=none; d=google.com; s=arc-20160816; b=FVHbelmIcOWKj/p4yWs9oc+HCZVuQ6F6sVbcpzQioKEj4D6pNKyViSRxQylNa9Yc1/ z/sDvcQyK6hrJ65u308DPSi2DJ3BfJNZDsKD4z7opL07vcwuwSa0mYg93UHKoxhQmqcU xvTRKL3wEDA1J6/YZXrWxmauvVRIiPPzKO1zHxl/+9SIVebg1WriG90Jp3O040sQV9Zk xSZSAIGYsRSVEhl5+WNJDDWUqttQyAkQsGn53wDjbpbcjh7nOeuaxbZYNPSmz6HagSOg bg911xNu22fUENolVcNsYM87YeUSKwKg7BW9ecEVdbj68xtW4tJHSnjRXAApx1r3IqHq NH/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RRI6O/KTs26atgke/v2YFwDIWNXDef5AwD2lI3W39cA=; b=DdTyZlT9kpivAlEDrxBGsLBEYdOKWTrtLY2L0E4o9n/ZqeqJ2a7o7HsetQWBG1pP7x DZVKzP7mo+0EoZKHSeDTtefHvCNBej50FX/nv2SdB0xuLNT5f/XLDBu6UXZ4wI+h04zK SIYuXp/cNH6zaOj1xEqr+8l6LzWXiME+uKDwwMu17VA9RySyi+CpsWXvNcT8/YJRxh7h XnIx+HntPNvmX5gsCW3R88RnHQbej03G3XtCXEBVNiRmHw+b4gDzxrPJmNgcLl4mv7Vd umyOYD6Q68JFpnhUWBS29Lf4h28FRu3vNGja4OPqWy/VzZSj6J3VAi0VwS0Ec4bVTMBV TSvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DV34WTKS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn1si1204377edb.319.2020.11.06.06.49.54; Fri, 06 Nov 2020 06:50:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DV34WTKS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727395AbgKFOrU (ORCPT + 99 others); Fri, 6 Nov 2020 09:47:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726565AbgKFOrT (ORCPT ); Fri, 6 Nov 2020 09:47:19 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59AEBC0613D2 for ; Fri, 6 Nov 2020 06:47:19 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id s13so1576683wmh.4 for ; Fri, 06 Nov 2020 06:47:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=RRI6O/KTs26atgke/v2YFwDIWNXDef5AwD2lI3W39cA=; b=DV34WTKSwLTxt5vyFBrk4yHE7joKw3Wvi0HFKU0z/DZqAKDffa3CnKj+NtXHrVicNJ YHsOOl/Awk85NQnt7yXDo3Gcv+Sx/3LubQ07kUGQDIhXGMmfuob5PMQImBRW5InqA31t piLeNKkp0ZUZSH4UKlk9vIuP+5woPb/0p/zcebGRDJQ1ywVg9u9ALS4wzaZk6/8HBRDJ P/XalWkjlHmRp5OpTHdQBeLbkmJ+zwxi54yPIwXj6Fr1O9UuNlY9KyEa1dXJTyFUq0xw jHpRFYf5wX/OS5971YFF6dbGOEULGbdZC4xgUp5CqjtHS+Wg2EAg7bMrG7AIJUoAE46p hoMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=RRI6O/KTs26atgke/v2YFwDIWNXDef5AwD2lI3W39cA=; b=IlG6rUVVZ6lkQXKVXMOaZYo4IZodHRt7mN+3feHiHwv9yS4oovy/krCqmUe7+HsC1l qfeVRR0vwNmAzDfvAoiTjuFiEo1/whm6uo6HuJ/kPiOnWZWWQuvJnXWwGKFlqY1guptc NNNUH4EsVDaY9CSCnqyXk3RK8/FbRrHgouyI/Lm5+djPfz+8tdMBE6JMyPbdL4YmGGLf AuracX4HT1KUBwHm2WTQ5qxKvLONv5c0+ARGgvdW5RKW8OsCEOaTpTnUyXMBicZUIITF vqSjkSCAW86WrGbP3b7u8XKoGMlo5mrGub2SEg4dYPpRMqUuFQvsjK5XFn1YOMGLOLnv dYMQ== X-Gm-Message-State: AOAM531yvcL0t93JcaZBxpsK4pJs+qtZ/+NpPAwYfxkC1emKGqwzDKSr E4qEm1mmrJjcDcoEczP3P5YNug== X-Received: by 2002:a1c:1f06:: with SMTP id f6mr2770572wmf.108.1604674037968; Fri, 06 Nov 2020 06:47:17 -0800 (PST) Received: from dell ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id y63sm2426409wmg.28.2020.11.06.06.47.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Nov 2020 06:47:17 -0800 (PST) Date: Fri, 6 Nov 2020 14:47:15 +0000 From: Lee Jones To: Jiri Slaby Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Mike Hudson , linux-serial@vger.kernel.org Subject: Re: [PATCH 13/36] tty: serial: 8250: 8250_port: Staticify functions referenced by pointers Message-ID: <20201106144715.GM2063125@dell> References: <20201104193549.4026187-1-lee.jones@linaro.org> <20201104193549.4026187-14-lee.jones@linaro.org> <20201106095326.GA2652562@kroah.com> <20201106100552.GA2063125@dell> <20201106101646.GB2063125@dell> <20201106103955.GA2784089@kroah.com> <20201106104810.GE2063125@dell> <20201106105552.GA2810950@kroah.com> <20201106111251.GF2063125@dell> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 06 Nov 2020, Jiri Slaby wrote: > On 06. 11. 20, 12:12, Lee Jones wrote: > > I cannot recreate the issue or work out why: > > > > # THE OUTPUT > > # *_port.o and *_early.o were both built > You have to _link_ to see linker errors ;). > > Like make vmlinux The default make that I am using does link: make -f Makefile -j24 KBUILD_OUTPUT=../builds/build-x86 But I do see what's happening now (thanks for the nudge). The issue is being masked because I'm specifying a specific directory to build. I would have hoped that it would at least link into a subsystem type object file, but it looks as though it's only being *-ar'ed into an archive. It appears linking is only done once at the very end of the compile, which is kind of frustrating for my use-case. This confused me because I know that I'd received linking errors before. However this must have been for files compiled as modules (these are linked on-the-fly) rather than built-ins, which are only linked once everything else has finished. Not sure how I'm going to fix this yet, since compiling everything is very time consuming, but I'll work something out. Thanks again. -- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog