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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5702 invoked from network); 24 Jun 2022 05:25:14 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 24 Jun 2022 05:25:14 -0000 Received: (qmail 26492 invoked by uid 550); 24 Jun 2022 05:25:12 -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 26457 invoked from network); 24 Jun 2022 05:25:11 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=0SBJnvJwvxcVl6LfVb3n1TqucU9Y0hCC/xOxR7nimqQ=; b=qlT7KIG3EqghudND71IIZP0WwF9/QjMjMFbBP/fvpEU6z06yzOkwq6cxRYRP8xnPr5 DT6TSvYEQXWZ42HdA7OfknwfxOPACuDlMMTvM5maDsrWWXrEfXiTEyudt/d/rUp37QpM GZKkMiIU4AHskNfgmjW/0VOJ3yxsb+9NkQXV//BK0YczfOYVQso95ry7MZYR82BZK3xq qJJDazKi0urG8B5VcN+hss/8+mV94LhURmPz7CIb5UcyLqN8nDf1ovS4aeDvUpNuM/zg qiq2n/cIfGI2D0gAGiY+jeURTpr6STRlQeDzmOmlbubm/X97u8cKKfmOdtVm2md2P+qx 9ATQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=0SBJnvJwvxcVl6LfVb3n1TqucU9Y0hCC/xOxR7nimqQ=; b=kNLTzFvv2Se3pHtCLszo5Uz7pWlYberDXjJQ8zrSWpf2N1a76O7ypZbNzrOyZwX2aC 5E7RgQ5v22NmX+OpQwjZIJqfx414LRN7u6QgEazbFyjgsaT6sORILQIwuTPU90O+yiBB OSq7OCdeTL35+0e6dNWpZrsbICEroFh1mzJl278Xdx1nsRzZWEv+xqPuuEXsnL4a0GYf 38QRHtqFr4/30F9ryG3MpsuckzuDNFDn43/vND8UcukQk8hKgf9YiJjTpBklngCXwQFj qnoxs7YmLdFbgfdWrRvbCHmi15YJ7NTlDR4b+8VmFUDIhaeDaL1wIRpUoi3ZnvuoByDg wnPg== X-Gm-Message-State: AJIora9ycw7ktMKVi6nRVXFIDVWAJIMDbuAfwIaWRQ+Z1rai/TFxyajv fHBFXcqSsW0J1qAY3K+QKRntnTLpa0hfRuneb6NZBpxZlzfTGw== X-Google-Smtp-Source: AGRyM1tLpwEdTen41W5GpcZao1JSmZFEBby0uKRZU9kKp07DOeRx2FWHB3/o5105QXXgeZSgsdjaeIpH9L8TwrqBV9c= X-Received: by 2002:a05:6638:13d2:b0:331:c4f7:770c with SMTP id i18-20020a05663813d200b00331c4f7770cmr7938376jaj.110.1656048299309; Thu, 23 Jun 2022 22:24:59 -0700 (PDT) MIME-Version: 1.0 References: <20220622131859.GM7074@brightrain.aerifal.cx> In-Reply-To: From: He X Date: Fri, 24 Jun 2022 13:24:48 +0800 Message-ID: To: musl@lists.openwall.com, Rich Felker Cc: wolf@wolfsden.cz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [musl] g++ fpermissive compilation error for strdupa > I will explore the possibility of sending a patch to remove this usage to upstream. FYI, Wolf, I've opened an issue https://github.com/bazelbuild/bazel/issues/= 15729 Wolf =E4=BA=8E2022=E5=B9=B46=E6=9C=8824=E6=97=A5=E5=91= =A8=E4=BA=94 03:25=E5=86=99=E9=81=93=EF=BC=9A > > On 2022-06-23 10:59:07 +0800, He X wrote: > > > so it's been kinda nice that this is catching bugs in C++ programs. > > > > I agreed. I will see what bazel guys say about the usage of strdupa. Ma= ybe > > they are willing to remove strdupa. > > As far as I can tell there is exactly one usage of strdupa in bazel [0]. > And that usage should be fairly easily replaceable by a dynamic > allocation, or static buffer. > > I will explore the possibility of sending a patch to remove this usage > to upstream. > > 0: https://github.com/bazelbuild/bazel/blob/master/src/main/tools/linux-s= andbox-pid1.cc#L149 > > -- > There are only two hard things in Computer Science: > cache invalidation, naming things and off-by-one errors. --=20 Best regards, xhe