From patchwork Mon Jul 25 14:58:43 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 106689 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id D218DB6F90 for ; Tue, 26 Jul 2011 00:59:02 +1000 (EST) Received: (qmail 30250 invoked by alias); 25 Jul 2011 14:59:01 -0000 Received: (qmail 30240 invoked by uid 22791); 25 Jul 2011 14:59:00 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from snape.CeBiTec.Uni-Bielefeld.DE (HELO smtp-relay.CeBiTec.Uni-Bielefeld.DE) (129.70.160.84) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 25 Jul 2011 14:58:45 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id C376C9B5 for ; Mon, 25 Jul 2011 16:58:44 +0200 (CEST) Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (malfoy.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DQ0HFPLtT0-c for ; Mon, 25 Jul 2011 16:58:43 +0200 (CEST) Received: from manam.CeBiTec.Uni-Bielefeld.DE (manam.CeBiTec.Uni-Bielefeld.DE [129.70.161.120]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPS id 796769B4 for ; Mon, 25 Jul 2011 16:58:43 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.5+Sun/8.14.5/Submit) id p6PEwhVa004835; Mon, 25 Jul 2011 16:58:43 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: Reject unqualified *-*-solaris2 configurations (PR target/47124) Date: Mon, 25 Jul 2011 16:58:43 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (usg-unix-v) MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org As described in the PR, configuring for e.g. sparc-sun-solaris2 fails to build in the gcc directory. While this could be made to work, it doesn't really make sense: in a native build, you don't have to specify the configure triplet you're building for, and in a cross you must, given the differences between different versions of Solaris. Thus I'm simply rejecting such a target. The following patch was tested by configuring with --target i386-pc-solaris2 and observing the configuration being rejected. Installed on mainline. Rainer 2011-07-22 Rainer Orth PR target/47124 * config.gcc: Reject *-*-solaris2 configuration. diff --git a/gcc/config.gcc b/gcc/config.gcc --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -280,6 +280,7 @@ case ${target} in | *-*-linux*oldld* \ | *-*-rtemsaout* \ | *-*-rtemscoff* \ + | *-*-solaris2 \ | *-*-solaris2.[0-7] \ | *-*-solaris2.[0-7].* \ | *-*-sysv* \