From patchwork Mon Jul 11 16:38:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 104248 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 A6042B6F54 for ; Tue, 12 Jul 2011 02:38:51 +1000 (EST) Received: (qmail 18646 invoked by alias); 11 Jul 2011 16:38:49 -0000 Received: (qmail 18552 invoked by uid 22791); 11 Jul 2011 16:38:48 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_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, 11 Jul 2011 16:38:35 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id AC4FBC4D for ; Mon, 11 Jul 2011 18:38:33 +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 a2RTO167IfTB for ; Mon, 11 Jul 2011 18:38:32 +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 192FCC4B for ; Mon, 11 Jul 2011 18:38:32 +0200 (CEST) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.4+Sun/8.14.4/Submit) id p6BGcVsF006110; Mon, 11 Jul 2011 18:38:31 +0200 (MEST) From: Rainer Orth To: gcc-patches@gcc.gnu.org Subject: [build] Use libgcc copy of i386/t-crtstuff on Solaris/x86 Date: Mon, 11 Jul 2011 18:38:31 +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 I noticed that libgcc/configure.ac uses the gcc copy of i386/t-crtstuff on Solaris/x86, while the identical libgcc copy is perfectly fine. This patch corrects this. Bootstrapped without regressions on i386-pc-solaris2.11, installed on mainline. Rainer 2011-07-10 Rainer Orth * configure.ac (i?86-*-solaris2*): Use libgcc copy of i386/t-crtstuff. * configure: Regenerate. diff --git a/libgcc/configure.ac b/libgcc/configure.ac --- a/libgcc/configure.ac +++ b/libgcc/configure.ac @@ -215,9 +215,7 @@ i?86-*-solaris2* | x86_64-*-solaris2.1[[ .zero 8 EOF if AC_TRY_COMMAND(${CC-cc} -shared -nostartfiles -nodefaultlibs -o conftest.so conftest.s 1>&AS_MESSAGE_LOG_FD); then - # configure expects config files in libgcc/config, so need a relative - # path here. - tmake_file="${tmake_file} ../../gcc/config/i386/t-crtstuff" + tmake_file="${tmake_file} i386/t-crtstuff" fi ;; esac