From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67804 invoked by alias); 29 May 2015 09:53:49 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 67794 invoked by uid 89); 29 May 2015 09:53:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_40,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: smtp.eu.adacore.com Received: from mel.act-europe.fr (HELO smtp.eu.adacore.com) (194.98.77.210) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 29 May 2015 09:53:48 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id BFAC628529BE; Fri, 29 May 2015 11:53:44 +0200 (CEST) Received: from smtp.eu.adacore.com ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zqri5QMUG63W; Fri, 29 May 2015 11:53:44 +0200 (CEST) Received: from polaris.localnet (bon31-6-88-161-99-133.fbx.proxad.net [88.161.99.133]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eu.adacore.com (Postfix) with ESMTPSA id 70B4828529A1; Fri, 29 May 2015 11:53:44 +0200 (CEST) From: Eric Botcazou To: Rainer Orth Cc: gcc-patches@gcc.gnu.org, Andreas Tobler Subject: Re: [patch] fix bootstrap on FreeBSD i386/arm Date: Fri, 29 May 2015 10:26:00 -0000 Message-ID: <4092748.xoV9DTK2AR@polaris> User-Agent: KMail/4.7.2 (Linux/3.1.10-1.29-desktop; KDE/4.7.2; x86_64; ; ) In-Reply-To: References: <55675D73.8080804@fgznet.ch> <6154248.kZpWmyJ86f@polaris> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-SW-Source: 2015-05/txt/msg02735.txt.bz2 > Only Solaris 10, actually: Solaris 11 isn't affected since it has > clearenv(3C). That's not the only problem AFAICS: /usr/include/sys/resource.h: At global scope: /usr/include/sys/resource.h:79:25: error: declaration does not declare anything [-fpermissive] /homes/botcazou/gcc-head/src/gcc/system.h:469:48: error: 'char* strstr(const char*, const char*)' conflicts with previous using declaration 'const char* std::strstr(const char*, const char*)' and so on. It's SPARC/Solaris 10. > OTOH, why use sun in this place instead of __sun__ (or rather __sun__ && > __svr4__) like any other platform? Yes, I can change that, but it's probably not the only case. -- Eric Botcazou