On Tue, 9 Mar 2021 23:24:01 +0800 Bin Meng <bmeng...@gmail.com> wrote:
> On Sun, Mar 7, 2021 at 12:26 PM Marek BehĂșn <marek.be...@nic.cz> wrote: > > > > When building with LTO, move $(PLATFORM_LIBS) into the --start-group / > > --end-group list. > > This should be --whole-archive > > > Otherwise some functions declared in assembly may not be resolved and > > linking may fail. > > I am not sure if this is caused by we build these lib functions with -flto? It is caused by using thin archives, not LTO