From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19084 invoked by alias); 4 Feb 2012 22:37:26 -0000 Received: (qmail 19076 invoked by uid 22791); 4 Feb 2012 22:37:25 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp04.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.126) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 04 Feb 2012 22:37:11 +0000 Received: from treguer.localnet ([90.32.146.147]) by mwinf5d07 with ME id Vyd81i00N3B29oA03yd8dR; Sat, 04 Feb 2012 23:37:09 +0100 From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: [CT-NG] Build fails at "Installing C library headers & start files" (glib 2.3.5) Date: Sat, 04 Feb 2012 22:37:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.2.2-treguer; KDE/4.4.5; x86_64; ; ) Cc: Josh Kugelmann References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202042337.07821.yann.morin.1998@free.fr> Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00044.txt.bz2 Josh, All, On Saturday 04 February 2012 11:58:40 Josh Kugelmann wrote: > I am using glibc 2.3.5 glibc 2.3.5 is not in the list of available versions in crosstool-NG, It is really old now (released 7 years ago!). > because the target system runs a 2.4 kernel (and This will prove problematic, as the C library requires the kernel headers to decide what type of features to enable/disable and/or emulate. Without the correct headers, you'll end up with an unbbotable system (getting a message like :"ernel too old"). Getting proper kernel headers was not possible until linux-2.6.18 (or even later for some archs). Previous to that, I don't really know what headers were used. Building toolchains for linux-2.4 is *not* supported by crosstool-NG. > cannot be upgraded due since the NAND driver compiled into the kernel > was not included in the kernel source). > > Relevant section of build.log: [--SNIP--] > > [ERROR] configure: error: > > [CFG ] *** These critical programs are missing or too old: as ld > > [CFG ] *** Check the INSTALL file for required versions. This is a known issue. Old glibc incorrectly check the version of binutils, and fails to detect too recent binutils. From the logs, you are using binutils 2.21.1. Do you really expect to be able to build such an olg glibc, using such recent binutils? For the glibc issue, you can look at backporting the fic from glibc-2.9: patches/glibc/2.9/600-recent-binutils.patch But that will not magically make your toolchain work for a linux-2.4 kernel. Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' -- For unsubscribe information see http://sourceware.org/lists.html#faq