From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 5303038438E4 for ; Thu, 30 Jun 2022 11:54:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 5303038438E4 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=none smtp.mailfrom=CeBiTec.Uni-Bielefeld.DE Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 0C7BAB0482; Thu, 30 Jun 2022 13:54:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at CeBiTec.Uni-Bielefeld.DE Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3MGaA5d3poQB; Thu, 30 Jun 2022 13:54:19 +0200 (CEST) Received: from itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (itzacchiuatl.CeBiTec.Uni-Bielefeld.DE [129.70.161.157]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 42138AFEE0; Thu, 30 Jun 2022 13:54:19 +0200 (CEST) Received: (from ro@localhost) by itzacchiuatl.CeBiTec.Uni-Bielefeld.DE (8.15.2+Sun/8.15.2/Submit) id 25UBsIho020926; Thu, 30 Jun 2022 13:54:18 +0200 (CEST) X-Authentication-Warning: itzacchiuatl.CeBiTec.Uni-Bielefeld.DE: ro set sender to ro@CeBiTec.Uni-Bielefeld.DE using -f From: Rainer Orth To: Xi Ruoyao via Gcc-patches Subject: Re: doc: extend --{enable,disable}-libsanitizer description [PR 105614] References: Date: Thu, 30 Jun 2022 13:54:18 +0200 In-Reply-To: (Xi Ruoyao via Gcc-patches's message of "Thu, 30 Jun 2022 18:34:31 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3941.5 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jun 2022 11:54:23 -0000 Hi Xi, > A documentation improvement with no code change. OK for trunk? > > -- >8 -- > > We are receiving several reports that people are (mis)using > --enable-libsanitizer option, which was not documented by GCC > installation doc. It forces to build libsanitizer even for unsupported > targets, causing build failure. Extend the --disable-libsanitizer > description to also include --enable-libsanitizer, and warn about the > possible consequences if it's enabled explicitly. this behaviour isn't specific to libsanitizer at all: it probably pertains to every target library using configure.tgt (libatomic, libgomp, libitm, liboffloadmic, libphobos, libsanitizer, libvtv). I think it should be documented in a more generic way. > gcc/ChangeLog: > > PR sanitizer/105614 > * doc/install.texi: Document --enable-libsanitizer and possible > consequences. It's better to specific which part of install.texi is affected. In this case, this would be * doc/install.texi (Configuration, --disable-libsanitizer): ... Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University