From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,URIBL_BLACK autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25839 invoked from network); 8 Jan 2021 10:08:59 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 8 Jan 2021 10:08:59 -0000 Received: (qmail 11350 invoked by uid 550); 8 Jan 2021 10:08:57 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 11320 invoked from network); 8 Jan 2021 10:08:56 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=+mgoT1X19rCEA1/stFo8ftFdDaCJjeD2plpWxYcN5OA=; b=j7JSowzLl1G1HGn2kuTAyDve+6h7O1Lc4L2ew0lNh7XNJ9ebtjCx5l7FUH5ZkQ57d/ 3gtSYpPbW1bKvTNfyyvk/fEeWruttjwKI8NaSSLCRY8Rvyy1RS0g75teGAfxDckclK+E QCZcErvI4+RGrQL1B3jP+bWpDo1LKu6FRd1TTMbJ6l5L3LWiI9a7trdbgpvTIN7al+3F aUonx/+lGRdYbLZ8pD/53CdYWJIBe7rMSyLsrBrGzWYbOr+nxzAocYh062niyb/k6mEF uEuWULE3GOLfd2t8U0Q2jBqLPzR43XZiZB4pigwv082Ab+CAg6rt2pGG3IV0EAaYZPn6 O0rA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+mgoT1X19rCEA1/stFo8ftFdDaCJjeD2plpWxYcN5OA=; b=U5BB4RL1Y1alXYOAYw3ngvT9kE2RB3WzJ//2JML92k+XGH6aSBiPLumoGVdm7+Eis0 tsQnLquGhfN195eSLyhkMmV+OP7IGwegXQB/hsPljUyUaR10ZP95/TQc6k6bPnwgO9U5 qXniiU9nH9IczJ8mtCItXDpGg/v3KMMCj14anzUTzEgVm8POOTwXfCSzbUwU9Eq47Bq0 TBOZ6PjCmgVGDrW4Ywl77EqkygHUuVXYmf50nHVh5wcFIgbbrFTX1oa+8YUA0JQXEpp0 4bsD/rhwmH5BF74YtkpJ61GTUOLebcths4RduPg+jAQKGsxtuPxk4gL007LZwx8+Okma crSA== X-Gm-Message-State: AOAM531B48s/r4gQD8esZVxAaADpClnY7d4QotQzNbR7BRl2oHNu2Gig +HEw6HXHvf78fp9UHZUEtlWm9HI7iL2pQA== X-Google-Smtp-Source: ABdhPJxTguNIp01a+fWcJaN5Xxw8fyqAHooNPvD2Ji5ziso9YSyfFYhIiTzXUh3Ec3wqh1CzYAN/rA== X-Received: by 2002:a17:906:518a:: with SMTP id y10mr2223535ejk.323.1610100525169; Fri, 08 Jan 2021 02:08:45 -0800 (PST) From: Jens Staal X-Google-Original-From: Jens Staal Date: Fri, 8 Jan 2021 11:08:35 +0100 To: musl@lists.openwall.com Message-ID: <20210108100835.6ydb2b2b5y4z322y@Krypton> X-Operating-System: Linux, kernel 5.10.4-zen2-1-zen X-Message-Flag: WARNING!! Outlook sucks X-Info: Keep It Simple, Stupid. References: <20210107042006.mom5srw52cs3b6gw@Krypton> <20210108100143.vvmzi3gwtuvcqy2e@Krypton> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210108100143.vvmzi3gwtuvcqy2e@Krypton> Subject: [musl] Re: Aalbus linux : a musl/llvm libc++ based distro On Fri, Jan 08, 2021 at 11:01:45AM +0100, Jens Staal wrote: > On Thu, Jan 07, 2021 at 05:27:35AM +0100, Jens Staal wrote: > > > > Based on the recent announcements of compiler-rt being fixed for musl I > > think it is relatively timely. At this moment I am using the ngtc > > patches but hope to re-build the toolchain soon with the upstream > > solution. > > > > It has now been rebuilt with upstream so vanilla llvm seems to work now. > > > I am also experimenting with building musl libc with kati + samurai > > (Ninja) as an alternative to gmake (default make in Aalbus is bmake). > > > > If anyone is interested, this is the error output I get at the moment > when I try to build musl with ckati instead of gmake: > > ld.lld: error: undefined hidden symbol: __dls2 > >>> referenced by dlstart.c > >>> lto.tmp:(_dlstart_c) > >>> did you mean: __dls3 > >>> defined in: lto.tmp > clang-12: error: linker command failed with exit code 1 (use -v to see invocation) > *** [lib/libc.so] Error 1 > Oops sorry about the noise. Just when I wrote this, I saw that Gentoo had hit the same bug with musl when -flto is set in CFLAGS. Removing that actually makes it work! So ckati CAN be used as an alternative to gmake for musl. > > so something ckati does with the ld.lld linker in the generation of the > build.ninja file is not working for musl. The linker is working and ckati is > working on other projects (including itself) > > > >