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=-3.3 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 17026 invoked from network); 31 Dec 2020 17:04:48 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 31 Dec 2020 17:04:48 -0000 Received: (qmail 1371 invoked by uid 550); 31 Dec 2020 17:04:41 -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 1349 invoked from network); 31 Dec 2020 17:04:40 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=UttXrH/FTdfrhpFxYl+W+jcGVzXV+TWrb2vTcjI3N1Q=; b=g44cbulQwuk2TtZkMG23TMo0645Bj8xT/yoSBA6BPnwui7v86ttPPW+euh2XhO6rgf XwsHpTRNLKMz4iA1cq/SLaaEt+pqSiSsiNebfwC8WMGTb7dklAxi/ileg1SN5aWtDNKv 3Yj5WXojOnNLcEvZug0RwRXxJJsN9Im68PhX4ZJ5M/w42yPicjwtQve0paafgBwiN6gr 22SFxHtHFHsN1AdhOxnQ1jIhcpEAYujkJrz5Lg/jWTRUtx3ZenEsYOJEDPpogEP6X6Xc +7uJTaO6wPSn6j/Ub9HGdjJ9t42+YkfHDyf8okWvCqQ8zOSMEIQ3wCcQxZXEtEPi2d5A XNxw== X-Gm-Message-State: AOAM5323vy34m7TT74j87p1FjNPE05tlZiV8ihAz29GWVaospGWn2qpZ 8feFLARipDY6mp9+dOAX79rSL2kxjdA= X-Google-Smtp-Source: ABdhPJzI+mPCiet0gKvQAyOgsSijb5YgmZ812kNsm52jPOPDIvj5StrKEUZ+OF6M9LNzSNdMb9dy3w== X-Received: by 2002:a17:90a:4a85:: with SMTP id f5mr14089467pjh.117.1609434268671; Thu, 31 Dec 2020 09:04:28 -0800 (PST) Date: Thu, 31 Dec 2020 09:04:27 -0800 From: Fangrui Song To: musl@lists.openwall.com Cc: anarchy@gentoo.org Message-ID: <20201231170427.wkvn3qiqkpezygac@gmail.com> References: <20201229061500.7eksavfiobh326lk@gmail.com> <561201609227527@mail.yandex.ru> <594331609260735@mail.yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <594331609260735@mail.yandex.ru> Subject: Re: [musl] sanitizers and musl On 2020-12-29, Dmitry Golovin wrote: >29.12.2020, 10:37, "Ray" : >> On Mon, Dec 28, 2020 at 11:44 PM Dmitry Golovin wrote: >>>  29.12.2020, 08:15, "Fangrui Song" : >>>  > With https://reviews.llvm.org/D93848 (and various random fixes I pushed >>>  > separately), many sanitizers will build and work on a musl based distribution. >>>  > A maintainer said the patch is in a pretty good shape and is very likely >>>  > accepted. >>> >>>  Hi Fangrui, >>> >>>  Did I understand correctly that your patches this one is rendered useless? >>> >>>  https://github.com/tpimh/ngtc/blob/docker/root/patch/compiler-rt-01-sanitizer-nongnu.patch >>> >>>  If your changes make it to LLVM 12, patching for musl won't be necessary anymore? >>> >>>  Regards, >>>  Dima >> >> Thanks for the link! I was not aware of the other attempts. I'll check >> whether your patch includes anything I'm missing. >> >> (My patch hasn't sorted out the ioctl issues.) > >Hi Ray, > >I'm not quite sure now who is the original author of this patch. Maybe Jory Pratt? > >Anyway I was updating the patch for recent LLVM releases, most up-to-date code should be in version-11.0.0 branch. > >Regards, >Dima https://reviews.llvm.org/D93848 will be available in the upcoming LLVM 12.0.0. I have figured out and fixed the CMake libc++ problem.