Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210129200416.GA2447252@port70.net>
Date: Fri, 29 Jan 2021 21:04:16 +0100
From: Szabolcs Nagy <nsz@...t70.net>
To: Jiahao XU <Jiahao_XU@...look.com>
Cc: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: Re: Can’t build musl with
 lto=thin

* Jiahao XU <Jiahao_XU@...look.com> [2021-01-29 12:19:42 +0000]:
> musl-1.2.2 compilation with clang-11 failed to build libc.so at the final linking stage:
>     ld.lld: error: undefined hidden symbol: __dls2
>     >>> referenced by ld-temp.o
>     >>>                          lto.tmp:(_dlstart_c)
>     >>> did you mean: __dls3
>     >>> defined in: lto.tmp


looks like a clang bug if -flto changes behaviour, doesn't it?


> 
> I am using CFLAGS=‘-march=native -mtune=native -Oz -flto -fmerge-all-constants -fomit-frame-pointer’ and LDFLAGS=‘-flto -fuse-ld=lld -Wl,—plugin-opt=O3,-O3,—icf=safe’.
> No configure option is supplied.
> 
> Get Outlook for iOS<https://aka.ms/o0ukef>

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.