This is the mail archive of the gdb-prs@sourceware.org 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]

RE: gdb/2336: gdb 6.7 release unable to load elf symbol tablesonsolaris


The following reply was made to PR gdb/2336; it has been noted by GNATS.

From: "Larry McGhaw" <lmcghaw@connx.com>
To: "Daniel Jacobowitz" <drow@false.org>
Cc: <gdb-gnats@sources.redhat.com>
Subject: RE: gdb/2336: gdb 6.7 release unable to load elf symbol tablesonsolaris
Date: Fri, 12 Oct 2007 14:00:21 -0700

 Ok ... Now that I'm looking at the correct config.log .. I see the error
 
 libintl.a is not present on my system .. I didn't realize it was a
 prerequisite.
 
 Thanks
 
 lm
 
 configure:21848: checking for ELF support in BFD
 configure:21872: gcc -o conftest -g -O2 -I.././gdb/../include -I../bfd
 -I.././gdb/../bfd   -L../bfd -L../libiberty conftest.c -ldl -lcurses
 -lsocket -lnsl -lm  -lbfd -liberty ${top_builddir}/../intl/libintl.a
 /usr/local/lib/libiconv.so -L/usr/local/lib -L/usr/local/ssl/lib
 -R/usr/local/lib >&5
 gcc: ${top_builddir}/../intl/libintl.a: No such file or directory
 configure:21878: $? =3D 1
 configure: failed program was:
 | /* confdefs.h.  */
 |=20
 | #define PACKAGE_NAME ""
 | #define PACKAGE_TARNAME ""
 | #define PACKAGE_VERSION ""
 | #define PACKAGE_STRING ""
 | #define PACKAGE_BUGREPORT ""
 | #define _GNU_SOURCE 1
 | #define ENABLE_NLS 1
 | #define PACKAGE "gdb"
 | #define DEBUGDIR "/usr/local/lib/debug"
 | #define DEBUGDIR_RELOCATABLE 1
 | #define DEFAULT_BFD_ARCH bfd_sparc_arch
 | #define DEFAULT_BFD_VEC bfd_elf32_sparc_vec
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE__ETEXT 1
 | #define HAVE_LIBM 1
 | #define HAVE_DIRENT_H 1
 | #define STDC_HEADERS 1
 | #define HAVE_NLIST_H 1
 | #define HAVE_LINK_H 1
 | #define HAVE_POLL_H 1
 | #define HAVE_SYS_POLL_H 1
 | #define HAVE_PROC_SERVICE_H 1
 | #define HAVE_THREAD_DB_H 1
 | #define HAVE_SIGNAL_H 1
 | #define HAVE_STDDEF_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_SYS_FAULT_H 1
 | #define HAVE_SYS_FILE_H 1
 | #define HAVE_SYS_FILIO_H 1
 | #define HAVE_SYS_IOCTL_H 1
 | #define HAVE_SYS_PARAM_H 1
 | #define HAVE_SYS_RESOURCE_H 1
 | #define HAVE_SYS_PROC_H 1
 | #define HAVE_SYS_PROCFS_H 1
 | #define HAVE_SYS_PTRACE_H 1
 | #define HAVE_SYS_REG_H 1
 | #define HAVE_SYS_SELECT_H 1
 | #define HAVE_SYS_SYSCALL_H 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_USER_H 1
 | #define HAVE_SYS_WAIT_H 1
 | #define HAVE_WAIT_H 1
 | #define HAVE_TERMIOS_H 1
 | #define HAVE_TERMIO_H 1
 | #define HAVE_SGTTY_H 1
 | #define HAVE_UNISTD_H 1
 | #define _MSE_INT_H 1
 | #define HAVE_CURSES_H 1
 | #define HAVE_TERM_H 1
 | #define HAVE_CTYPE_H 1
 | #define HAVE_TIME_H 1
 | #define HAVE_DECL_FREE 1
 | #define HAVE_DECL_MALLOC 1
 | #define HAVE_DECL_REALLOC 1
 | #define HAVE_DECL_STRERROR 1
 | #define HAVE_DECL_STRSTR 1
 | #define HAVE_DECL_GETOPT 1
 | #define HAVE_DECL_SNPRINTF 1
 | #define HAVE_DECL_VSNPRINTF 1
 | #define HAVE_STRUCT_STAT_ST_BLOCKS 1
 | #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
 | #define RETSIGTYPE void
 | #define HAVE_SOCKLEN_T 1
 | #define HAVE_UINTPTR_T 1
 | #define HAVE_ALLOCA_H 1
 | #define HAVE_ALLOCA 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_GETPAGESIZE 1
 | #define HAVE_MMAP 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_FORK 1
 | #define HAVE_VFORK 1
 | #define HAVE_WORKING_VFORK 1
 | #define HAVE_WORKING_FORK 1
 | #define HAVE_REALPATH 1
 | #define HAVE_GETRUSAGE 1
 | #define HAVE_GETUID 1
 | #define HAVE_GETGID 1
 | #define HAVE_POLL 1
 | #define HAVE_PREAD64 1
 | #define HAVE_SBRK 1
 | #define HAVE_SETPGID 1
 | #define HAVE_SETPGRP 1
 | #define HAVE_SIGACTION 1
 | #define HAVE_SIGPROCMASK 1
 | #define HAVE_SOCKETPAIR 1
 | #define HAVE_SYSCALL 1
 | #define HAVE_WBORDER 1
 | #define HAVE_DECL_PTRACE 1
 | #define PTRACE_TYPE_RET long
 | #define PTRACE_TYPE_ARG3 long
 | #define SETPGRP_VOID 1
 | #define HAVE_SIGSETJMP 1
 | #define USE_INCLUDED_REGEX 1
 | #define HAVE_PTRACE_GETREGS 1
 | #define NEW_PROC_API 1
 | #define HAVE_PRRUN_T 1
 | #define HAVE_GREGSET_T 1
 | #define HAVE_FPREGSET_T 1
 | #define HAVE_PRGREGSET_T 1
 | #define HAVE_PRFPREGSET_T 1
 | #define HAVE_PRGREGSET32_T 1
 | #define HAVE_PRFPREGSET32_T 1
 | #define HAVE_PROCFS_PIOCSET 1
 | #define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
 | #define HAVE_STRUCT_LINK_MAP32 1
 | #define _SYSCALL32 1
 | #define CC_HAS_LONG_LONG 1
 | #define PRINTF_HAS_LONG_LONG 1
 | #define HAVE_LONG_DOUBLE 1
 | #define PRINTF_HAS_LONG_DOUBLE 1
 | #define SCANF_HAS_LONG_DOUBLE 1
 | #define HAVE_THREAD_DB_LIB 1
 | #define HAVE_LIBDL 1
 | #define THREAD_DB_HAS_TD_NOTLS 1
 | /* end confdefs.h.  */
 | #include <stdlib.h>
 | #include "bfd.h"
 | #include "elf-bfd.h"
 |=20
 | int
 | main ()
 | {
 | bfd *abfd =3D NULL; bfd_get_elf_phdr_upper_bound (abfd);
 |   ;
 |   return 0;
 | }
 configure:21903: result: no=20
 
 -----Original Message-----
 From: Daniel Jacobowitz [mailto:drow@false.org]=20
 Sent: Thursday, October 11, 2007 7:21 PM
 To: Larry McGhaw
 Cc: gdb-gnats@sources.redhat.com
 Subject: Re: gdb/2336: gdb 6.7 release unable to load elf symbol
 tablesonsolaris
 
 On Thu, Oct 11, 2007 at 02:49:10PM -0700, Larry McGhaw wrote:
 > Hello,
 >=20
 > I don't think I explained the issue properly.
 >=20
 > elfread.c does get compiled and linked into gdb.exe .. The problem is=20
 > that the makefile in the GDB directory dynamically builds init.c by=20
 > scanning a list of source files searching for tokens.
 > Elfread is missing from the list when dynamically building init.c, but
 
 > it is present when building gdb.exe.
 
 I do not see how that is possible.  The same variable builds it and
 includes it in init.c.  If it isn't in CONFIG_OBS, it should not be
 built.
 
 > It took me a while to track this down but it looks like it should be=20
 > an easy problem to fix.
 
 Not unless you give me enough information to figure out why it isn't in
 CONFIG_OBS.  If you don't see a problem in gdb/config.log, please send
 it to the bug.
 
 --
 Daniel Jacobowitz
 CodeSourcery


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