Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 29 Jan 2021 12:19:42 +0000
From: Jiahao XU <Jiahao_XU@...look.com>
To: "musl@...ts.openwall.com" <musl@...ts.openwall.com>
Subject: Can’t build musl with lto=thin

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

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>

Content of type "text/html" skipped

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.