From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from albireo.enyo.de (albireo.enyo.de [37.24.231.21]) by sourceware.org (Postfix) with ESMTPS id 0B1F9388C01D for ; Mon, 4 Jan 2021 22:08:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0B1F9388C01D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=fw@deneb.enyo.de Received: from [172.17.203.2] (helo=deneb.enyo.de) by albireo.enyo.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) id 1kwY1M-0002Ft-RZ; Mon, 04 Jan 2021 22:08:12 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.92) (envelope-from ) id 1kwY1M-0007Jy-Oh; Mon, 04 Jan 2021 23:08:12 +0100 From: Florian Weimer To: nu quaquaraqua via Gcc-help Subject: Re: [OpenMP] 40% slow down when setting OMP_PLACES="sockets" References: Date: Mon, 04 Jan 2021 23:08:12 +0100 In-Reply-To: (nu quaquaraqua via Gcc-help's message of "Mon, 4 Jan 2021 22:58:55 +0100") Message-ID: <87a6to4apf.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-6.1 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham 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-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2021 22:08:16 -0000 * nu quaquaraqua via Gcc-help: > okay, I think I can already answer myself why Clang is unaffected by this > setting. The environment variables in libgomp are parsed in > > static void __attribute__((constructor)) > initialize_env (void) > > this is attribute is GCC specific and basically ignored by Clang. Why do you think that? Clang doesn't ignore it (at least not for GNU targets such as Fedora).