From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14568 invoked by alias); 20 Mar 2002 00:34:18 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 14495 invoked from network); 20 Mar 2002 00:34:17 -0000 Received: from unknown (HELO ttt17.tttech1.ttt) (194.152.163.250) by sources.redhat.com with SMTP; 20 Mar 2002 00:34:17 -0000 Received: from groessinger (helo=localhost) by ttt17.tttech1.ttt with local-esmtp (Exim 3.12 #1 (Debian)) id 16nU3U-0000oe-00 for ; Wed, 20 Mar 2002 01:34:16 +0100 Date: Tue, 19 Mar 2002 16:34:00 -0000 From: =?iso-8859-1?Q?Peter_Gr=F6ssinger?= X-Sender: groessinger@ttt17.tttech1.ttt To: gcc-help@gcc.gnu.org Subject: powerpc cross compilier - glibc Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-03/txt/msg00145.txt.bz2 Hello ! I am a newbie to building a GCC. I am trying to build a cross compiler for power pc 855. My host platform is i686-pc-linux-gnu. I am using Kernel 2.4.16 BINUTILS=binutils-2.11.2 GCC=gcc-2.95.2 GLIBC=glibc-2.2.4 The binutils get compiled fine as well as the stage1 gcc. I encounter troubles when building the glibs. When reaching powerpc-linux-gcc ../sysdeps/unix/sysv/linux/profil.c I get the following error message : In file included from ../sysdeps/unix/sysv/linux/powerpc/profil-counter.h:2, from ../sysdeps/posix/profil.c:54, from ../sysdeps/unix/sysv/linux/profil.c:3: ../sysdeps/unix/sysv/linux/i386/profil-counter.h: In function `profil_counter': ../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: structure has no member named `regs' ../sysdeps/posix/profil.c:39: warning: inlining failed in call to `profil_count' ../sysdeps/unix/sysv/linux/i386/profil-counter.h:26: warning: called from here make[2]: *** [/root/crossdev/build/glibc-2.2.3-powerpc/gmon/profil.o] Error 1 make[2]: Leaving directory `/root/pristine/glibc-2.2.3/gmon' make[1]: *** [gmon/subdir_lib] Error 2 make[1]: Leaving directory `/root/pristine/glibc-2.2.3' make: *** [all] Error 2 Any help is very much appreciated ! Thank you very much in advance ! Peter _____________________________________________________ Peter Groessinger Software Development TTTech Computertechnik AG Schoenbrunner Strasse 7, A-1040 Vienna, Austria http://www.tttech.com Phone: +43(1)585 34 34-42, Fax: +43(1)585 34 34-90 mailto: groessinger@tttech.com _____________________________________________________