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 446EE3858CDB for ; Tue, 10 Jan 2023 08:43:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 446EE3858CDB 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=1673340231; 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=4BwCQjCrsV0vxFPJAPWwTX43VrsFZwJUANaf1QOTzm8=; b=bZVE+O0zsy7Ukc2usN2j951PXbuySadGiH1mo3RlPVZHpNj/dmFvZdOXiEM/AnRN2M20x3 8+EiWMrudKmcaIu3OrBuins2TCLmnEZg1EDUv8UP6cuDe5uzFAQa0o87mNDXb+APqgV0pP laIPZeITxHiTI+Pu+yU3j/X5/2WLedQ= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-353-_UyZT2m0Pca3F0kGx-v5Uw-1; Tue, 10 Jan 2023 03:43:50 -0500 X-MC-Unique: _UyZT2m0Pca3F0kGx-v5Uw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DBA9F101A52E for ; Tue, 10 Jan 2023 08:43:49 +0000 (UTC) Received: from calimero.vinschen.de (unknown [10.39.193.197]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B67C4422F2 for ; Tue, 10 Jan 2023 08:43:49 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 4214BA80A3A; Tue, 10 Jan 2023 09:43:48 +0100 (CET) Date: Tue, 10 Jan 2023 09:43:48 +0100 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: [PATCH] libgloss: arm: break newlib dependency Message-ID: Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20221214091304.25170-1-vapier@gentoo.org> <20230104020454.22501-1-vapier@gentoo.org> <1Msq2E-1oxIJ12sOm-00t9f5@mail.gmx.net> MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 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=-4.7 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_H2,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Jan 9 21:07, Mike Frysinger wrote: > On 09 Jan 2023 11:29, Corinna Vinschen wrote: > > On Jan 3 22:06, Mike Frysinger wrote: > > > On 04 Jan 2023 03:17, Stefan Tauner wrote: > > > > wouldn't it make sense to add the "include" directory itself to the > > > > build process(es) as include directory instead of prepending it to all > > > > #include statements? > > > > > > the include/ dir has headers that conflict with standard headers like > > > getopt.h. this causes build failures. > > > > What about using -idirafter instead? > > that should work. newlib isn't using it today, so i didn't think we > wanted to start. if you're fine with it, i can try it. > -mike No problems. It exists for just such an opportunity and we're already using it in the winsup/utils branch. Corinna