From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24976 invoked by alias); 16 Feb 2004 18:27:28 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 24911 invoked from network); 16 Feb 2004 18:27:23 -0000 Received: from unknown (HELO thinkpad.wg-ro-gar1.inext.cz) (212.111.6.80) by sources.redhat.com with SMTP; 16 Feb 2004 18:27:23 -0000 Received: from karel (helo=localhost) by thinkpad.wg-ro-gar1.inext.cz with local-esmtp (Exim 3.35 #1 (Debian)) id 1AsnT2-0006qJ-00 for ; Mon, 16 Feb 2004 19:27:40 +0100 Date: Mon, 16 Feb 2004 18:27:00 -0000 From: Karel Gardas X-X-Sender: karel@thinkpad.wg-ro-gar1.inext.cz To: gdb@sources.redhat.com Subject: gdb head fails to compile for arm-elf target. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2004-02/txt/msg00163.txt.bz2 Hello, following information on http://gcc.gnu.org/simtest-howto.html I'm trying to build gcc and associated gnu tools includig gdb for arm-elf target. The build fails while compiling gdb with: gcc -c -g -O2 -I. -I../../combined/gdb -I../../combined/gdb/config -DLOCALEDIR="\"/mnt/karel/gcc340-sim/arm-elf/share/locale\"" -DHAVE_CONFIG_H -I../../combined/gdb/../include/opcode -I../../combined/gdb/../readline/.. -I../bfd -I../../combined/gdb/../bfd -I../../combined/gdb/../include -I../intl -I../../combined/gdb/../intl -DMI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function ../../combined/gdb/auxv.c ../../combined/gdb/auxv.c: In function `fprint_target_auxv': ../../combined/gdb/auxv.c:230: error: `AT_SECURE' undeclared (first use in this function) ../../combined/gdb/auxv.c:230: error: (Each undeclared identifier is reported only once ../../combined/gdb/auxv.c:230: error: for each function it appears in.) ../../combined/gdb/auxv.c:231: error: `AT_SUN_UID' undeclared (first use in this function) ../../combined/gdb/auxv.c:232: error: `AT_SUN_RUID' undeclared (first use in this function) ../../combined/gdb/auxv.c:233: error: `AT_SUN_GID' undeclared (first use in this function) ../../combined/gdb/auxv.c:234: error: `AT_SUN_RGID' undeclared (first use in this function) ../../combined/gdb/auxv.c:235: error: `AT_SUN_LDELF' undeclared (first use in this function) ../../combined/gdb/auxv.c:236: error: `AT_SUN_LDSHDR' undeclared (first use in this function) ../../combined/gdb/auxv.c:237: error: `AT_SUN_LDNAME' undeclared (first use in this function) ../../combined/gdb/auxv.c:238: error: `AT_SUN_LPAGESZ' undeclared (first use in this function) ../../combined/gdb/auxv.c:239: error: `AT_SUN_PLATFORM' undeclared (first use in this function) ../../combined/gdb/auxv.c:240: error: `AT_SUN_HWCAP' undeclared (first use in this function) ../../combined/gdb/auxv.c:241: error: `AT_SUN_IFLUSH' undeclared (first use in this function) ../../combined/gdb/auxv.c:242: error: `AT_SUN_CPU' undeclared (first use in this function) ../../combined/gdb/auxv.c:243: error: `AT_SUN_EMUL_ENTRY' undeclared (first use in this function) ../../combined/gdb/auxv.c:244: error: `AT_SUN_EMUL_EXECFD' undeclared (first use in this function) ../../combined/gdb/auxv.c:245: error: `AT_SUN_EXECNAME' undeclared (first use in this function) ../../combined/gdb/auxv.c:247: error: `AT_SUN_MMU' undeclared (first use in this function) ../../combined/gdb/auxv.c:248: error: `AT_SUN_LDDATA' undeclared (first use in this function) make[1]: *** [auxv.o] Error 1 make[1]: Leaving directory `/mnt/karel/gcc340-sim/obj/gdb' make: *** [all-gdb] Error 2 The sources are from today. Cheers, Karel -- Karel Gardas kgardas@objectsecurity.com ObjectSecurity Ltd. http://www.objectsecurity.com