From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTPS id 1BC2D394FC34 for ; Thu, 17 Mar 2022 09:50:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1BC2D394FC34 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647510601; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=BjdKVzn2IgdqqhpExHzNz0G4mcJsdbx5nVL7NFbpavk=; b=FzPuhDsrB5TZSer/Vd5PGUrNIqcPH51ecBF4f0YvcefwqcxWjQ2dFJHLT0TiASsDU5oT9S MxpdzfVlCSgrqRSqK0exPPo8AO61AGWC+PqoikWS8bIaIhbuu20QMvW1odhDtYkOn+7+Ff 0+Ff2PYaA+f5OCzt7nrb0aZvM2qNFEo= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-411-j9SXNPmCMQi__SHcDNW72Q-1; Thu, 17 Mar 2022 05:50:00 -0400 X-MC-Unique: j9SXNPmCMQi__SHcDNW72Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4E342299E758 for ; Thu, 17 Mar 2022 09:50:00 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.36.112.5]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 260C241136F3 for ; Thu, 17 Mar 2022 09:50:00 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 108B2A8096F; Thu, 17 Mar 2022 10:49:59 +0100 (CET) Date: Thu, 17 Mar 2022 10:49:59 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [RFC/PATCH] newlib: enable automatic dependency generation Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20220317021654.15410-1-vapier@gentoo.org> <3ecd50ec-f9f4-9cf9-a5ce-52f082c50e50@embedded-brains.de> MIME-Version: 1.0 In-Reply-To: <3ecd50ec-f9f4-9cf9-a5ce-52f082c50e50@embedded-brains.de> X-Scanned-By: MIMEDefang 2.84 on 10.11.54.1 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=vinschen@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Mar 2022 09:50:03 -0000 On Mar 17 07:25, Sebastian Huber wrote: > On 17/03/2022 03:16, Mike Frysinger wrote: > > This was disabled as part of the migration away from the cygnus option > > as that implied no-dependencies. > > > > We currently have 1-to-1 updates enabled -- if you touch a .c file, > > the corresponding .o file will be rebuilt. But if you touch a header > > file, none of the files using that get rebuilt. > > > > Not sure how much we care. I think we want this since it's probably > > what people are expecting. It increases the size of the Makefile a > > bit, and adds a little build overhead to generate & process. > > I think the proper dependency tracking should be enabled. This helps > everyone doing changes in Newlib. The dependency files generated by GCC are > also sometimes helpful to figure out what is actually used to build a file. Right, we want that. Corinna