This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb head fails to compile for arm-elf target.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]