From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15428 invoked by alias); 11 Mar 2009 10:00:15 -0000 Received: (qmail 15420 invoked by uid 22791); 11 Mar 2009 10:00:15 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mta-out.inet.fi (HELO jenni1.inet.fi) (195.156.147.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 Mar 2009 10:00:01 +0000 Received: from [192.168.0.42] (88.192.88.204) by jenni1.inet.fi (8.5.014) id 49B77FAA0000A3CF; Wed, 11 Mar 2009 11:59:57 +0200 Message-ID: <49B78C61.9070705@wippies.com> Date: Wed, 11 Mar 2009 10:00:00 -0000 From: Kai Ruottu User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: "Koornstra, Reinoud" CC: "gcc-help@gcc.gnu.org" Subject: Re: which glibc to use References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-03/txt/msg00115.txt.bz2 Koornstra, Reinoud wrote: > Ian Lance Taylor wrote: > >>> I like to use gcc 4.1.2 as compiler version. >>> Which glibc version can I use with this one? >>> Glibc 2.9 give me this error: >>> >>> checking for -z relro option... no >>> configure: error: linker with -z relro support required >> >> The linker is not part of gcc. It is part of the GNU binutils. You >> need to use a version of the GNU binutils new enough to support -z >> relro. I think GNU binutils 2.16 or later should work. >> Any other things I need to have before being able to successfully build glibc? Why do you think you must build glibc? Are you producing a native or a cross compiler? If native : Please DON'T try to replace your system glibc! If cross : Please use the original glibc for your target, DON'T try to replace its system glibc!