From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10492 invoked by alias); 21 Jul 2011 06:57:28 -0000 Received: (qmail 10470 invoked by uid 22791); 21 Jul 2011 06:57:27 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 21 Jul 2011 06:57:13 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 93CF1CB0255; Thu, 21 Jul 2011 08:57:12 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s9CCc3PEYlCV; Thu, 21 Jul 2011 08:57:02 +0200 (CEST) Received: from [192.168.1.2] (bon31-9-83-155-120-49.fbx.proxad.net [83.155.120.49]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id ABF61CB022B; Thu, 21 Jul 2011 08:57:01 +0200 (CEST) From: Eric Botcazou To: David Edelsohn Subject: Re: PATCH RFA: Build stages 2 and 3 with C++ Date: Thu, 21 Jul 2011 07:25:00 -0000 User-Agent: KMail/1.9.9 Cc: gcc@gcc.gnu.org, Mike Stump , Ian Lance Taylor , gcc-patches@gcc.gnu.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201107210856.08933.ebotcazou@adacore.com> Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-07/txt/msg00400.txt.bz2 > This is not the global constructor/destructor issue with names > generated by collect2. But ELF or SVR4 is able to provide a unique > name without resorting to random numbers. Not clear if the name needs be unique at all if you have the right features, see name-lookup.c:get_anonymous_namespace_name. -- Eric Botcazou