From patchwork Fri Nov 2 14:04:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johannes Stezenbach X-Patchwork-Id: 196564 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 15E192C00AC for ; Sat, 3 Nov 2012 01:04:26 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1352469867; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To:User-Agent: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=W5re/u2 IzbvZuzgxIDU8Rc1ihkU=; b=dP1Adqjh1iCa3faEQ7VuwJuEJfpMb3UwYfLfil1 b9l89a6GQFRj/rSHCgLGWIQPAK6pbkKTuptiD2pcmEppOIOvjbyZw4SSzDhoEsUp 12A8Zf5gIAlb6pSMU8zK7efr3ESMeuu5ZxYDFbncgqi3+l1vwgNrW4im5OP9jUtb Up1o= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:Received:Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Spam-21-Score:X-Spam-21-Report:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=Gl4n13U/h8MmQNMxNMOM4i00/+Z/SHfCST89Cg46i+Y8qa3Q+rgpg9TQ+397XD ot0WWg30GkxX6PiktXeMVCFN63qfd2PX3eHNfguQlbSu8nnf8qUABL/5xcU3kX9U JFCf7YEkMQtGiKQbsDzbu0h3Rxf2zG7mVT5Z/68iV6vUs=; Received: (qmail 5823 invoked by alias); 2 Nov 2012 14:04:23 -0000 Received: (qmail 5810 invoked by uid 22791); 2 Nov 2012 14:04:22 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL, BAYES_00, KHOP_SPAMHAUS_DROP, RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from bar.sig21.net (HELO bar.sig21.net) (80.81.252.164) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Nov 2012 14:04:10 +0000 Received: from p5099b351.dip0.t-ipconnect.de ([80.153.179.81] helo=zzz.local) by bar.sig21.net with esmtpsa (TLS1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.72) (envelope-from ) id 1TUHqw-00023x-Bt; Fri, 02 Nov 2012 15:04:07 +0100 Received: from js by zzz.local with local (Exim 4.80) (envelope-from ) id 1TUHqu-00021Q-E8; Fri, 02 Nov 2012 15:04:04 +0100 Date: Fri, 2 Nov 2012 15:04:04 +0100 From: Johannes Stezenbach To: "Yann E. MORIN" Cc: crossgcc@sourceware.org Subject: [PATCH] enable rpc in eglibc-2.16 Message-ID: <20121102140404.GA7707@sig21.net> References: <20121031163138.GB19978@sig21.net> <201210311406.24625.vapier@gentoo.org> <20121031225334.GA26603@sig21.net> <201210312358.10696.yann.morin.1998@free.fr> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201210312358.10696.yann.morin.1998@free.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-21-Score: -2.9 (--) X-Spam-21-Report: No, score=-2.9 required=8.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9 autolearn=ham X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org While eglibc-2.16 recommends to use TI-RPC instead of the old sunrpc, the old one can be included using a configure option. Since the user can still use TI-RPC to override the libc implementation, we enable rpc unconditionally. Signed-off-by: Johannes Stezenbach --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r bd4af15b7c75 scripts/build/libc/glibc-eglibc.sh-common --- a/scripts/build/libc/glibc-eglibc.sh-common Wed Oct 31 23:31:32 2012 +0100 +++ b/scripts/build/libc/glibc-eglibc.sh-common Fri Nov 02 14:54:33 2012 +0100 @@ -214,6 +214,10 @@ else OPTIMIZE=-O2 fi + if [ "${CT_LIBC_EGLIBC_2_16_or_later}" = "y" ]; then + # always include rpc, the user can still override it with TI-RPC + extra_config+=( --enable-obsolete-rpc ) + fi ;; glibc) # glibc can't be built without -O2 (reference needed!)