[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201106144715.GM2063125@dell>
Date: Fri, 6 Nov 2020 14:47:15 +0000
From: Lee Jones <lee.jones@...aro.org>
To: Jiri Slaby <jirislaby@...nel.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, Mike Hudson <Exoray@...s.ca>,
linux-serial@...r.kernel.org
Subject: Re: [PATCH 13/36] tty: serial: 8250: 8250_port: Staticify functions
referenced by pointers
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
Powered by blists - more mailing lists