From patchwork Tue Jan 17 09:43:51 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rainer Orth X-Patchwork-Id: 136434 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 84BE51007D2 for ; Tue, 17 Jan 2012 20:44:37 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1327398277; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Received:From:To:Cc:Subject:References:Date:In-Reply-To: Message-ID:User-Agent:MIME-Version:Content-Type:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:Sender:Delivered-To; bh=ljfqil82ixoP04TDoOjeZzGdE1o=; b=yb0EfbrTGoY37CG9QJNZ/LXgxTCzqIk7DjYKCfUjsA0oCeNDw8dFBVOKEWrzXF MFE9+X26jk7ErSj6DitdxBgqS5+KAaoDwiTe0GvVXpXDQpc1rnNs28SKlf/UZRz5 M8EGq9nwIgP0KTdkmLEbh2iWzR7rqeuShtRITkK0SlR24= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=gcc.gnu.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Received:Received:From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID:User-Agent:MIME-Version:Content-Type:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=tjQxgK1+s29NiRfwA6WpTQJ6XsTN/IJi2iHSmfKUMw0Iz0ejRXRuaoi530rLGP h4UuMRoloyJcSrQYvuzeiffA68LlUKSTtlEpPS5Xytr4noUdVi0sj7YU6s+8st+C kD5vf1xAYdslfUE4/GZvnw2kImxxHWI/GIZ+7/+Y+4l88=; Received: (qmail 19140 invoked by alias); 17 Jan 2012 09:44:33 -0000 Received: (qmail 19130 invoked by uid 22791); 17 Jan 2012 09:44:33 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD, T_TVD_MIME_NO_HEADERS 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; Tue, 17 Jan 2012 09:43:54 +0000 Received: from localhost (localhost.CeBiTec.Uni-Bielefeld.DE [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 82738DA4; Tue, 17 Jan 2012 10:43:53 +0100 (CET) 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 bWyAFVZ4WVVg; Tue, 17 Jan 2012 10:43:52 +0100 (CET) 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 1B1FBDA3; Tue, 17 Jan 2012 10:43:52 +0100 (CET) Received: (from ro@localhost) by manam.CeBiTec.Uni-Bielefeld.DE (8.14.5+Sun/8.14.5/Submit) id q0H9hp0O013435; Tue, 17 Jan 2012 10:43:51 +0100 (MET) From: Rainer Orth To: gcc-patches@gcc.gnu.org Cc: Paolo Bonzini Subject: Re: [build] Disable dl_iterate_phdr on Solaris 10 References: Date: Tue, 17 Jan 2012 10:43:51 +0100 In-Reply-To: (Rainer Orth's message of "Tue, 17 Jan 2012 10:41:47 +0100") 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 Rainer Orth writes: > 2012-01-15 Rainer Orth > > * configure.ac (gcc_cv_target_dl_iterate_phdr): Only check on > Solaris 11+. > * configure: Regenerate. It helps to actually attach the patch. diff --git a/gcc/configure.ac b/gcc/configure.ac --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4642,7 +4642,11 @@ fi AC_MSG_CHECKING(dl_iterate_phdr in target C library) gcc_cv_target_dl_iterate_phdr=unknown case "$target" in - *-*-solaris2*) + # Restrict to Solaris 11+. While most of the Solaris 11 linker changes + # were backported to Solaris 10 Update 10, dl_iterate_phdr only lives in + # libdl there, both complicating its use and breaking compatibility + # between Solaris 10 updates. + *-*-solaris2.1[[1-9]]*) # needs both a dl_iterate_phdr declaration and support for # compilation with largefile support. if grep dl_iterate_phdr $target_header_dir/link.h > /dev/null 2>&1 \