From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qv1-xf31.google.com (mail-qv1-xf31.google.com [IPv6:2607:f8b0:4864:20::f31]) by sourceware.org (Postfix) with ESMTPS id 3EC69384A030 for ; Thu, 5 Nov 2020 15:25:29 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3EC69384A030 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=acm.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nathanmsidwell@gmail.com Received: by mail-qv1-xf31.google.com with SMTP id r12so831323qvq.13 for ; Thu, 05 Nov 2020 07:25:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=auATXKWWOlLG8/gipgZc4HT+AQRyWodZu/WACb4zfwg=; b=T95z1lFYjYFVqRAy4B6sBKnWmst3e7SUvYpEgmVrsGMsLntrY+NA1xbkpF0mFMyKUK SqoC+/LlpjsZfpnIIRWYiRmd3eJTFSrpkGtZsCVkd2ECMUrTW0zl6fGdwtSZjRiLS9Mh LxjzARxR5v2SyH4Max0GQJ3Hll8UG7NsnARUkbS/iBIgRikVepasC3luqXJrDcehbmZA CZeM5eNBhEPYqIVhAS6Iq/CgxYx7YnxcSsec6nx6N8b115vrvJn0Iyzcuaur4FAP299M NDcjahZGNuKqJz/4BAuGe3rQUCWV9Sg34jyCd7KQKoTtZB6+gJxaBqLsE9VIhHrASyH5 Ywzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=auATXKWWOlLG8/gipgZc4HT+AQRyWodZu/WACb4zfwg=; b=dBqwjBos/X4m2xRVKu/pFviWLe6RrOUOir1UWXVDlzJ0RphjxOEnf5JK00xOhfEB0O xHKy6LS/mPmCSXN9WyQQ7jBec5W57kKxoxzqcDzhTNysSeaG7OXHvy93buh+c1KnQvc+ 8hz+BqKhogW46KZYtyjprJ8j87W03MsR53KogkssSDB/0l8MAijkxAmnOMj2iG7LANWx 1u0wPWBVezWKoZUvet/bgi/ll6dLWjLmIEQI3SO1RZiE88VWbpQAF9qpAtElpGHNStMS tb/Ox3yvHnP2pRQZQVx/3nJ0F1QNmkAygKu5hsjXG2LL50BkUhLZQ465STTsXSddrcC6 5Lhg== X-Gm-Message-State: AOAM533X1qYGLXWbFZM9ykEYG7O+LfJxOLBbimoB0ye3rdRRER9Ptiln opB0au0gDv9HIvzNb081iWw= X-Google-Smtp-Source: ABdhPJwYHfYZ2k7dgInHTaBb2EVK9LAIiK8LYPmDRoVdkcGnWt1XOBeJdYrS4JVicKY6uW5nJtho7w== X-Received: by 2002:ad4:5143:: with SMTP id g3mr2575780qvq.2.1604589928353; Thu, 05 Nov 2020 07:25:28 -0800 (PST) Received: from ?IPv6:2620:10d:c0a8:1102:c522:d84e:aa7b:eaff? ([2620:10d:c091:480::1:e8cf]) by smtp.googlemail.com with ESMTPSA id r133sm1217911qke.23.2020.11.05.07.25.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Nov 2020 07:25:25 -0800 (PST) Sender: Nathan Sidwell Subject: Re: [00/32] C++ 20 Modules To: Richard Biener Cc: GCC Patches , Jason Merrill References: <94392c65-0a81-17c3-c5d3-f15a5e91dd79@acm.org> From: Nathan Sidwell Message-ID: Date: Thu, 5 Nov 2020 10:25:23 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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, 05 Nov 2020 15:25:31 -0000 On 11/5/20 8:33 AM, Richard Biener wrote: > Moving the module mapper to a more easily (build-)testable location > and to a place where host dependences can be more easily fixed > & customized than in a bootstrapped directory would be nice. Thus, > I think the module mapper should be in the toplevel somehow > and independently buildable. Ok, that makes sense. It is where it is, because originally it was much more tightly coupled with cc1plus. The mapper-server and cc1plus do share some (maybe just one?) obj files. The in-process resolving and the server's default have the same functionality. For bootstrap cc1plus needs them, so I guess they should remain in gcc/cp/? The alternative would be to put them in new mapper-server dir and have it provide somekind of library that cc1plus could link with. However that'll probably mess up bootstrap. Having a --with-module-mapper configure option seems sensible. nathan -- Nathan Sidwell