* [patch/rfc] Only use ../intl/ when present @ 2005-01-18 0:04 Andrew Cagney 2005-01-18 0:24 ` Andreas Schwab 2005-01-24 19:32 ` Andrew Cagney 0 siblings, 2 replies; 13+ messages in thread From: Andrew Cagney @ 2005-01-18 0:04 UTC (permalink / raw) To: gdb-patches, binutils [-- Attachment #1: Type: text/plain, Size: 290 bytes --] Hello, This patch should stop getgext.m4 trying to use ../intl when it isn't present. I can't actually test it - all the systems I looked to test it on had a bundled gettext :-/ comments? Andrew (I'll need to regenerate the binutils@ and gdb@ configure files, hence the cross post.) [-- Attachment #2: diffs --] [-- Type: text/plain, Size: 952 bytes --] 2005-01-17 Andrew Cagney <cagney@gnu.org> * gettext.m4: Only fall back to ../intl/ when it's present. Index: gettext.m4 =================================================================== RCS file: /cvs/src/src/gettext.m4,v retrieving revision 1.3 diff -p -u -r1.3 gettext.m4 --- gettext.m4 14 Jan 2004 13:41:36 -0000 1.3 +++ gettext.m4 17 Jan 2005 23:56:17 -0000 @@ -81,9 +81,9 @@ AC_DEFUN([CY_WITH_NLS], dnl In the standard gettext, we would now check for catgets. dnl However, we never want to use catgets for our releases. - if test "$CATOBJEXT" = "NONE"; then - dnl Neither gettext nor catgets in included in the C library. - dnl Fall back on GNU gettext library. + if test "$CATOBJEXT" = "NONE" && test -d $srcdir/../intl; then + # Neither gettext nor catgets in included in the C library. + # Fall back on GNU gettext library (assuming it is present). nls_cv_use_gnu_gettext=yes fi fi ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [patch/rfc] Only use ../intl/ when present 2005-01-18 0:04 [patch/rfc] Only use ../intl/ when present Andrew Cagney @ 2005-01-18 0:24 ` Andreas Schwab 2005-01-24 19:35 ` Andrew Cagney 2005-01-24 19:32 ` Andrew Cagney 1 sibling, 1 reply; 13+ messages in thread From: Andreas Schwab @ 2005-01-18 0:24 UTC (permalink / raw) To: Andrew Cagney; +Cc: gdb-patches, binutils Andrew Cagney <cagney@gnu.org> writes: > Hello, > > This patch should stop getgext.m4 trying to use ../intl when it isn't > present. > > I can't actually test it - all the systems I looked to test it on had a > bundled gettext :-/ > > comments? Newer versions of gettext implement that as AM_GNU_GETTEXT([external]). Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [patch/rfc] Only use ../intl/ when present 2005-01-18 0:24 ` Andreas Schwab @ 2005-01-24 19:35 ` Andrew Cagney 0 siblings, 0 replies; 13+ messages in thread From: Andrew Cagney @ 2005-01-24 19:35 UTC (permalink / raw) To: Andreas Schwab; +Cc: gdb-patches, binutils Andreas Schwab wrote: > Andrew Cagney <cagney@gnu.org> writes: > > >>Hello, >> >>This patch should stop getgext.m4 trying to use ../intl when it isn't >>present. >> >>I can't actually test it - all the systems I looked to test it on had a >>bundled gettext :-/ >> >>comments? > > > Newer versions of gettext implement that as AM_GNU_GETTEXT([external]). Ah! Once GDB's 2.59 switch has settled down someone can take on the round-tuit with that task written on it :-). Andrew ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [patch/rfc] Only use ../intl/ when present 2005-01-18 0:04 [patch/rfc] Only use ../intl/ when present Andrew Cagney 2005-01-18 0:24 ` Andreas Schwab @ 2005-01-24 19:32 ` Andrew Cagney 2005-01-27 14:59 ` [commit] Avoid CATOBJEXT=NONE; Was: " Andrew Cagney 1 sibling, 1 reply; 13+ messages in thread From: Andrew Cagney @ 2005-01-24 19:32 UTC (permalink / raw) To: Andrew Cagney; +Cc: gdb-patches, binutils Andrew Cagney wrote: > Hello, > > This patch should stop getgext.m4 trying to use ../intl when it isn't > present. > > I can't actually test it - all the systems I looked to test it on had a > bundled gettext :-/ > > comments? > Andrew > > (I'll need to regenerate the binutils@ and gdb@ configure files, hence > the cross post.) > > > ------------------------------------------------------------------------ > > 2005-01-17 Andrew Cagney <cagney@gnu.org> > > * gettext.m4: Only fall back to ../intl/ when it's present. I've checked this in ... Andrew > Index: gettext.m4 > =================================================================== > RCS file: /cvs/src/src/gettext.m4,v > retrieving revision 1.3 > diff -p -u -r1.3 gettext.m4 > --- gettext.m4 14 Jan 2004 13:41:36 -0000 1.3 > +++ gettext.m4 17 Jan 2005 23:56:17 -0000 > @@ -81,9 +81,9 @@ AC_DEFUN([CY_WITH_NLS], > dnl In the standard gettext, we would now check for catgets. > dnl However, we never want to use catgets for our releases. > > - if test "$CATOBJEXT" = "NONE"; then > - dnl Neither gettext nor catgets in included in the C library. > - dnl Fall back on GNU gettext library. > + if test "$CATOBJEXT" = "NONE" && test -d $srcdir/../intl; then > + # Neither gettext nor catgets in included in the C library. > + # Fall back on GNU gettext library (assuming it is present). > nls_cv_use_gnu_gettext=yes > fi > fi ^ permalink raw reply [flat|nested] 13+ messages in thread
* [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present 2005-01-24 19:32 ` Andrew Cagney @ 2005-01-27 14:59 ` Andrew Cagney 2005-01-27 15:27 ` Andrew Cagney 2005-01-27 20:40 ` Mark Kettenis 0 siblings, 2 replies; 13+ messages in thread From: Andrew Cagney @ 2005-01-27 14:59 UTC (permalink / raw) To: gdb-patches, binutils [-- Attachment #1: Type: text/plain, Size: 655 bytes --] Andrew Cagney wrote: > Andrew Cagney wrote: > >> Hello, >> >> This patch should stop getgext.m4 trying to use ../intl when it isn't >> present. >> >> I can't actually test it - all the systems I looked to test it on had >> a bundled gettext :-/ The attached should fix a further problem - it was appending NONE as the catalog suffix. Again tested on a system with installed gettext, and with --disable-nls (which isn't very useful). If people still encounter problems can they please include a few details such as the broken Makefile. Otherwize I'm put in a situtation where I'm flying blind :-( committed, configures also regenerated, Andrew [-- Attachment #2: diffs --] [-- Type: text/plain, Size: 1124 bytes --] 2005-01-27 Andrew Cagney <cagney@gnu.org> * gettext.m4: Don't use NONE as a default for CATOBJEXT. Index: gettext.m4 =================================================================== RCS file: /cvs/src/src/gettext.m4,v retrieving revision 1.4 diff -p -u -r1.4 gettext.m4 --- gettext.m4 24 Jan 2005 20:00:49 -0000 1.4 +++ gettext.m4 27 Jan 2005 14:44:24 -0000 @@ -40,7 +40,7 @@ AC_DEFUN([CY_WITH_NLS], dnl catgets is only used if permitted by option --with-catgets. nls_cv_header_intl= nls_cv_header_libgt= - CATOBJEXT=NONE + CATOBJEXT= AC_CHECK_HEADER(libintl.h, [AC_CACHE_CHECK([for gettext in libc], gt_cv_func_gettext_libc, @@ -81,7 +81,7 @@ AC_DEFUN([CY_WITH_NLS], dnl In the standard gettext, we would now check for catgets. dnl However, we never want to use catgets for our releases. - if test "$CATOBJEXT" = "NONE" && test -d $srcdir/../intl; then + if test x"$CATOBJEXT" = x && test -d $srcdir/../intl; then # Neither gettext nor catgets in included in the C library. # Fall back on GNU gettext library (assuming it is present). nls_cv_use_gnu_gettext=yes ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present 2005-01-27 14:59 ` [commit] Avoid CATOBJEXT=NONE; Was: " Andrew Cagney @ 2005-01-27 15:27 ` Andrew Cagney 2005-01-27 15:32 ` Ian Lance Taylor 2005-01-27 20:40 ` Mark Kettenis 1 sibling, 1 reply; 13+ messages in thread From: Andrew Cagney @ 2005-01-27 15:27 UTC (permalink / raw) To: binutils > The attached should fix a further problem - it was appending NONE as the > catalog suffix. Again tested on a system with installed gettext, and > with --disable-nls (which isn't very useful). > > If people still encounter problems can they please include a few details > such as the broken Makefile. Otherwize I'm put in a situtation where > I'm flying blind :-( > > committed, configures also regenerated, Hmm, oops, little white lie. Both binutils/ and gas/ still require autoconf 3.12++ which I don't have installed :-( Andrew ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present 2005-01-27 15:27 ` Andrew Cagney @ 2005-01-27 15:32 ` Ian Lance Taylor 2005-01-27 15:57 ` Andrew Cagney 0 siblings, 1 reply; 13+ messages in thread From: Ian Lance Taylor @ 2005-01-27 15:32 UTC (permalink / raw) To: Andrew Cagney; +Cc: binutils Andrew Cagney <cagney@gnu.org> writes: > > The attached should fix a further problem - it was appending NONE as > > the catalog suffix. Again tested on a system with installed > > gettext, and with --disable-nls (which isn't very useful). > > If people still encounter problems can they please include a few > > details such as the broken Makefile. Otherwize I'm put in a > > situtation where I'm flying blind :-( > > committed, configures also regenerated, > > Hmm, oops, little white lie. Both binutils/ and gas/ still require > autoconf 3.12++ which I don't have installed :-( Install the autoconf213 rpm. Ian ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present 2005-01-27 15:32 ` Ian Lance Taylor @ 2005-01-27 15:57 ` Andrew Cagney 2005-01-27 16:02 ` Ian Lance Taylor 0 siblings, 1 reply; 13+ messages in thread From: Andrew Cagney @ 2005-01-27 15:57 UTC (permalink / raw) To: Ian Lance Taylor; +Cc: binutils Ian Lance Taylor wrote: >>Hmm, oops, little white lie. Both binutils/ and gas/ still require >>autoconf 3.12++ which I don't have installed :-( > > > Install the autoconf213 rpm. Er, I thought bintuils used autoconf-000227? (besides, with GDB being blundgeoned into using autoconf 2.59, binutils/ and gas/ are left as the only autoconf 2.13 hold outs :-) Andrew ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present 2005-01-27 15:57 ` Andrew Cagney @ 2005-01-27 16:02 ` Ian Lance Taylor 0 siblings, 0 replies; 13+ messages in thread From: Ian Lance Taylor @ 2005-01-27 16:02 UTC (permalink / raw) To: Andrew Cagney; +Cc: binutils Andrew Cagney <cagney@gnu.org> writes: > Ian Lance Taylor wrote: > > >>Hmm, oops, little white lie. Both binutils/ and gas/ still require > >>autoconf 3.12++ which I don't have installed :-( > > Install the autoconf213 rpm. > > Er, I thought bintuils used autoconf-000227? Not so much these days. > (besides, with GDB being > blundgeoned into using autoconf 2.59, binutils/ and gas/ are left as > the only autoconf 2.13 hold outs :-) Yes, I hope somebody will fix them soon. Ian ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [commit] Avoid CATOBJEXT=NONE; Was: [patch/rfc] Only use ../intl/ when present 2005-01-27 14:59 ` [commit] Avoid CATOBJEXT=NONE; Was: " Andrew Cagney 2005-01-27 15:27 ` Andrew Cagney @ 2005-01-27 20:40 ` Mark Kettenis 2005-01-31 21:22 ` [commit] Fix ENABLE_NLS; Was .... " Andrew Cagney 1 sibling, 1 reply; 13+ messages in thread From: Mark Kettenis @ 2005-01-27 20:40 UTC (permalink / raw) To: cagney; +Cc: gdb-patches, binutils [-- Attachment #1: Type: text/plain, Size: 2406 bytes --] Date: Thu, 27 Jan 2005 09:57:48 -0500 From: Andrew Cagney <cagney@gnu.org> Andrew Cagney wrote: > Andrew Cagney wrote: > >> Hello, >> >> This patch should stop getgext.m4 trying to use ../intl when it isn't >> present. >> >> I can't actually test it - all the systems I looked to test it on had >> a bundled gettext :-/ The attached should fix a further problem - it was appending NONE as the catalog suffix. Again tested on a system with installed gettext, and with --disable-nls (which isn't very useful). If people still encounter problems can they please include a few details such as the broken Makefile. Otherwize I'm put in a situtation where I'm flying blind :-( Sorry Andrew, but this just helps a tiny little bit. I'm sorry that I didn't provide more details, but I wasn't asking you to fix gettext.m4. The problem here is that gettext.m4 was only designed to be used with an included intl/ subdirectory. Therefore it does only a halfhearted check for an external intl/ and never ever disables internationalization unless you explicitly ask for it by specifying --disable-nls on the command line. Removing intl/ was a mistake that did go unnoticed because of limitations of cvs. When I first noticed the problem in december, I looked at whether we could fix gettext.m4. My assessment was that it wasn't easy and that it would be much easier to simply bring back intl/. Our motivation for removing intl/ was that it somethings caused build problems, but we never analyzed those problems quite in detail (my suspicion is that this case is similar to the ncurses breakage; compiler searching /usr/local/include but the linker not searching /usr/local/lib or the other way around). The proper way to fix this seems to be to bring over intl/ from GCC. The wish has been expressed several times on the gdb and binutils mailing lists, and I haven't seen any objections. I'll commit myself to doing the work in march if you'll bring back intl/ in the meantime. Mark P.S. I'm probably too much of a theoretical physicist by thinking one can prove something is broken by simply staring at a piece of paper (or in this case a computer screen). So attached you find some experimental evidence that things are still broken. If you need more details, just ask for them. I'll hapily tar up my whole build tree for you if necessary. [-- Attachment #2: make.log --] [-- Type: application/octet-stream, Size: 55533 bytes --] Configuring in sim configure: creating cache ./config.cache checking for i386-unknown-openbsd3.6-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /usr/bin/install -c checking for i386-unknown-openbsd3.6-ar... ar checking for i386-unknown-openbsd3.6-ranlib... ranlib checking build system type... i386-unknown-openbsd3.6 checking host system type... i386-unknown-openbsd3.6 checking target system type... i386-unknown-openbsd3.6 checking for i386-unknown-openbsd3.6-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for i386-unknown-openbsd3.6-ranlib... (cached) ranlib updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile Configuring in gdb configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for i386-unknown-openbsd3.6-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for library containing strerror... none required checking for gcc option to accept ANSI C... none needed checking build system type... i386-unknown-openbsd3.6 checking host system type... i386-unknown-openbsd3.6 checking target system type... i386-unknown-openbsd3.6 checking for i386-unknown-openbsd3.6-ranlib... ranlib checking whether make sets $(MAKE)... yes checking for i386-unknown-openbsd3.6-ranlib... (cached) ranlib checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... no checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no found xgettext programs is not GNU xgettext; ignore it checking for catalogs to be installed... checking libunwind.h usability... no checking libunwind.h presence... no checking for libunwind.h... no checking libunwind-ia64.h usability... no checking libunwind-ia64.h presence... no checking for libunwind-ia64.h... no checking for monstartup... yes checking for _mcleanup... yes checking for _etext... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for i386-unknown-openbsd3.6-ranlib... (cached) ranlib checking for bison... yacc checking for i386-unknown-openbsd3.6-ar... ar checking for i386-unknown-openbsd3.6-dlltool... dlltool checking for i386-unknown-openbsd3.6-windres... windres checking for i386-unknown-openbsd3.6-mig... no checking for mig... no checking for main in -lm... yes checking for wctype... no checking for wctype in -lw... no checking for library containing gethostbyname... none required checking for library containing socketpair... none required checking for library containing waddstr... -lncurses checking for library containing tgetent... none required checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for ANSI C header files... (cached) yes checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking for link.h... yes checking machine/reg.h usability... yes checking machine/reg.h presence... yes checking for machine/reg.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking proc_service.h usability... no checking proc_service.h presence... no checking for proc_service.h... no checking thread_db.h usability... no checking thread_db.h presence... no checking for thread_db.h... no checking gnu/libc-version.h usability... no checking gnu/libc-version.h presence... no checking for gnu/libc-version.h... no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) no checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking sys/fault.h usability... no checking sys/fault.h presence... no checking for sys/fault.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/filio.h usability... yes checking sys/filio.h presence... yes checking for sys/filio.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/param.h... (cached) yes checking for sys/proc.h... yes checking sys/procfs.h usability... no checking sys/procfs.h presence... no checking for sys/procfs.h... no checking sys/ptrace.h usability... yes checking sys/ptrace.h presence... yes checking for sys/ptrace.h... yes checking ptrace.h usability... no checking ptrace.h presence... no checking for ptrace.h... no checking sys/reg.h usability... no checking sys/reg.h presence... no checking for sys/reg.h... no checking sys/debugreg.h usability... no checking sys/debugreg.h presence... no checking for sys/debugreg.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking for sys/types.h... (cached) yes checking for sys/user.h... yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking wait.h usability... no checking wait.h presence... no checking for wait.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking for unistd.h... (cached) yes checking curses.h usability... yes checking curses.h presence... yes checking for curses.h... yes checking cursesX.h usability... no checking cursesX.h presence... no checking for cursesX.h... no checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking ncurses/ncurses.h usability... no checking ncurses/ncurses.h presence... no checking for ncurses/ncurses.h... no checking ncurses/term.h usability... no checking ncurses/term.h presence... no checking for ncurses/term.h... no checking for term.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking whether free is declared... yes checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether strerror is declared... yes checking whether strstr is declared... yes checking whether getopt is declared... yes checking for struct stat.st_blocks... yes checking return type of signal handlers... void checking for an ANSI C-conforming const... (cached) yes checking for inline... (cached) inline checking for working alloca.h... (cached) no checking for alloca... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for pid_t... yes checking for unistd.h... (cached) yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for canonicalize_file_name... no checking for realpath... yes checking for poll... yes checking for pread64... no checking for sbrk... yes checking for setpgid... yes checking for setpgrp... yes checking for sigaction... yes checking for sigprocmask... yes checking for sigsetmask... yes checking for socketpair... yes checking for syscall... yes checking for ttrace... no checking for wborder... yes checking whether ptrace is declared... yes checking return type of ptrace... int checking types of arguments for ptrace... int,pid_t,caddr_t,int checking whether setpgrp takes no argument... no checking for sigsetjmp... yes checking for GNU regex... no checking for struct thread.td_pcb... no checking for struct lwp... no checking for struct reg in machine/reg.h... yes checking for struct reg.r_fs... yes checking for struct reg.r_gs... yes checking for PTRACE_GETREGS... no checking for PTRACE_GETFPXREGS... no checking for PT_GETDBREGS... no checking for PT_GETXMMREGS... no checking for uintptr_t in stdint.h... no checking for member l_addr in struct link_map... no checking for member lm_addr in struct link_map... no checking for member som_addr in struct so_map... yes checking for struct link_map32 in sys/link.h... no checking for long long support in compiler... yes checking for long long support in printf... yes checking for long double support in compiler... yes checking for long double support in printf... yes checking for long double support in scanf... yes checking whether <sys/syscall.h> has __NR_tkill... no Setting GDB specific compiler warning flags = -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function -Werror checking compiler warning flags... -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function-Werror checking for cygwin... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking whether gdbserver is supported on this host... no checking for iconv... no, consider installing GNU libiconv updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating .gdbinit config.status: creating config.h config.status: linking ../../src/gdb/solib.h to tm.h config.status: executing default commands configure: configuring in doc configure: running /bin/sh '../../../src/gdb/doc/configure' --prefix=/usr/local '--cache-file=./config.cache' '--build=i386-unknown-openbsd3.6' '--host=i386-unknown-openbsd3.6' '--target=i386-unknown-openbsd3.6' '--enable-gdb-build-warnings=,-Werror' '--program-transform-name=s,y,y,' '--srcdir=../../src/gdb' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i386-unknown-openbsd3.6' 'host_alias=i386-unknown-openbsd3.6' 'target_alias=i386-unknown-openbsd3.6' --cache-file=.././config.cache --srcdir=../../../src/gdb/doc configure: loading cache .././config.cache checking for a BSD-compatible install... (cached) /usr/bin/install -c checking whether ln -s works... yes configure: creating ./config.status config.status: creating Makefile configure: configuring in testsuite configure: running /bin/sh '../../../src/gdb/testsuite/configure' --prefix=/usr/local '--cache-file=./config.cache' '--build=i386-unknown-openbsd3.6' '--host=i386-unknown-openbsd3.6' '--target=i386-unknown-openbsd3.6' '--enable-gdb-build-warnings=,-Werror' '--program-transform-name=s,y,y,' '--srcdir=../../src/gdb' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i386-unknown-openbsd3.6' 'host_alias=i386-unknown-openbsd3.6' 'target_alias=i386-unknown-openbsd3.6' --cache-file=.././config.cache --srcdir=../../../src/gdb/testsuite configure: loading cache .././config.cache checking build system type... (cached) i386-unknown-openbsd3.6 checking host system type... (cached) i386-unknown-openbsd3.6 checking target system type... (cached) i386-unknown-openbsd3.6 checking for i386-unknown-openbsd3.6-gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking for egrep... (cached) grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) no checking for unistd.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating gdb.ada/Makefile config.status: creating gdb.ada/gnat_ada.gpr config.status: creating gdb.arch/Makefile config.status: creating gdb.asm/Makefile config.status: creating gdb.base/Makefile config.status: creating gdb.cp/Makefile config.status: creating gdb.disasm/Makefile config.status: creating gdb.dwarf2/Makefile config.status: creating gdb.fortran/Makefile config.status: creating gdb.java/Makefile config.status: creating gdb.mi/Makefile config.status: creating gdb.objc/Makefile config.status: creating gdb.threads/Makefile config.status: creating gdb.trace/Makefile configure: configuring in gdb.stabs configure: running /bin/sh '../../../../src/gdb/testsuite/gdb.stabs/configure' --prefix=/usr/local '--prefix=/usr/local' '--cache-file=./config.cache' '--build=i386-unknown-openbsd3.6' '--host=i386-unknown-openbsd3.6' '--target=i386-unknown-openbsd3.6' '--enable-gdb-build-warnings=,-Werror' '--program-transform-name=s,y,y,' '--srcdir=../../src/gdb' 'CC=gcc' 'CFLAGS=-g -O2' 'LDFLAGS=' 'build_alias=i386-unknown-openbsd3.6' 'host_alias=i386-unknown-openbsd3.6' 'target_alias=i386-unknown-openbsd3.6' '--cache-file=.././config.cache' '--srcdir=../../../src/gdb/testsuite' --cache-file=../.././config.cache --srcdir=../../../../src/gdb/testsuite/gdb.stabs configure: loading cache ../.././config.cache checking build system type... (cached) i386-unknown-openbsd3.6 checking host system type... (cached) i386-unknown-openbsd3.6 checking target system type... (cached) i386-unknown-openbsd3.6 configure: creating ./config.status config.status: creating Makefile Configuring in libiberty configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for makeinfo... makeinfo checking for perl... perl checking build system type... i386-unknown-openbsd3.6 checking host system type... i386-unknown-openbsd3.6 checking for i386-unknown-openbsd3.6-ar... ar checking for i386-unknown-openbsd3.6-ranlib... ranlib checking for i386-unknown-openbsd3.6-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking whether gcc and cc understand -c and -o together... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for a BSD-compatible install... /usr/bin/install -c checking for sys/file.h... yes checking for sys/param.h... yes checking for limits.h... yes checking for stdlib.h... yes checking for malloc.h... no checking for string.h... yes checking for unistd.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for time.h... yes checking for sys/resource.h... yes checking for sys/stat.h... yes checking for sys/mman.h... yes checking for fcntl.h... yes checking for alloca.h... no checking for sys/pstat.h... no checking for sys/sysmp.h... no checking for sys/sysinfo.h... no checking for machine/hal_sysinfo.h... no checking for sys/table.h... no checking for sys/sysctl.h... yes checking for sys/systemcfg.h... no checking for stdint.h... no checking for sys/wait.h that is POSIX.1 compatible... yes checking whether time.h and sys/time.h may both be included... yes checking whether errno must be declared... no checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... yes checking for strings.h... (cached) yes checking for inttypes.h... yes checking for stdint.h... (cached) no checking for unistd.h... (cached) yes checking for int... yes checking size of int... 4 checking for uintptr_t... yes checking for a 64-bit type... unsigned long long checking for pid_t... yes checking for library containing strerror... none required checking for asprintf... yes checking for atexit... yes checking for basename... yes checking for bcmp... yes checking for bcopy... yes checking for bsearch... yes checking for bzero... yes checking for calloc... yes checking for clock... yes checking for ffs... yes checking for getcwd... yes checking for getpagesize... yes checking for index... yes checking for insque... yes checking for memchr... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for mempcpy... no checking for memset... yes checking for mkstemps... yes checking for putenv... yes checking for random... yes checking for rename... yes checking for rindex... yes checking for setenv... yes checking for snprintf... yes checking for sigsetmask... yes checking for stpcpy... no checking for stpncpy... no checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... yes checking for tmpnam... yes checking for vasprintf... yes checking for vfprintf... yes checking for vprintf... yes checking for vsnprintf... yes checking for vsprintf... yes checking for waitpid... yes checking whether alloca needs Cray hooks... no checking stack direction for C alloca... -1 checking for unistd.h... (cached) yes checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for _doprnt... no checking for sys_errlist... yes checking for sys_nerr... yes checking for sys_siglist... yes checking for external symbol _system_configuration... no checking for getrusage... yes checking for on_exit... no checking for psignal... yes checking for strerror... yes checking for strsignal... yes checking for sysconf... yes checking for times... yes checking for sbrk... yes checking for gettimeofday... yes checking for realpath... yes checking for canonicalize_file_name... no checking for pstat_getstatic... no checking for pstat_getdynamic... no checking for sysmp... no checking for getsysinfo... no checking for table... no checking for sysctl... yes checking whether canonicalize_file_name must be declared... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for working strncmp... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating testsuite/Makefile config.status: creating config.h config.status: executing default commands if [ x"" != x ] && [ ! -d pic ]; then mkdir pic; else true; fi touch stamp-picdir if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/regex.c -o pic/./regex.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/regex.c -o ./regex.o In file included from ../../src/include/xregex.h:26, from ../../src/libiberty/regex.c:199: ../../src/include/xregex2.h:548: warning: ISO C90 does not support `static' or type qualifiers in parameter array declarators In file included from ../../src/libiberty/regex.c:653: ../../src/libiberty/regex.c: In function `byte_compile_range': ../../src/libiberty/regex.c:4552: warning: signed and unsigned type in conditional expression ../../src/libiberty/regex.c:4562: warning: signed and unsigned type in conditional expression ../../src/libiberty/regex.c:4562: warning: signed and unsigned type in conditional expression if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/cplus-dem.c -o pic/./cplus-dem.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/cplus-dem.c -o ./cplus-dem.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/cp-demangle.c -o pic/./cp-demangle.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/cp-demangle.c -o ./cp-demangle.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/md5.c -o pic/./md5.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/md5.c -o ./md5.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/alloca.c -o pic/./alloca.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/alloca.c -o ./alloca.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/argv.c -o pic/./argv.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/argv.c -o ./argv.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/choose-temp.c -o pic/./choose-temp.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/choose-temp.c -o ./choose-temp.o ../../src/libiberty/choose-temp.c: In function `choose_temp_base': ../../src/libiberty/choose-temp.c:68: warning: implicit declaration of function `mktemp' if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/concat.c -o pic/./concat.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/concat.c -o ./concat.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/cp-demint.c -o pic/./cp-demint.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/cp-demint.c -o ./cp-demint.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/dyn-string.c -o pic/./dyn-string.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/dyn-string.c -o ./dyn-string.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/fdmatch.c -o pic/./fdmatch.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/fdmatch.c -o ./fdmatch.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/fibheap.c -o pic/./fibheap.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/fibheap.c -o ./fibheap.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/floatformat.c -o pic/./floatformat.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/floatformat.c -o ./floatformat.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/fnmatch.c -o pic/./fnmatch.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/fnmatch.c -o ./fnmatch.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getopt.c -o pic/./getopt.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getopt.c -o ./getopt.o ../../src/libiberty/getopt.c: In function `_getopt_initialize': ../../src/libiberty/getopt.c:396: warning: unused parameter `argc' ../../src/libiberty/getopt.c:397: warning: unused parameter `argv' if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getopt1.c -o pic/./getopt1.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getopt1.c -o ./getopt1.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getpwd.c -o pic/./getpwd.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getpwd.c -o ./getpwd.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getruntime.c -o pic/./getruntime.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/getruntime.c -o ./getruntime.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/hashtab.c -o pic/./hashtab.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/hashtab.c -o ./hashtab.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/hex.c -o pic/./hex.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/hex.c -o ./hex.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/lbasename.c -o pic/./lbasename.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/lbasename.c -o ./lbasename.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/lrealpath.c -o pic/./lrealpath.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/lrealpath.c -o ./lrealpath.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/make-relative-prefix.c -o pic/./make-relative-prefix.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/make-relative-prefix.c -o ./make-relative-prefix.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/make-temp-file.c -o pic/./make-temp-file.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/make-temp-file.c -o ./make-temp-file.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/objalloc.c -o pic/./objalloc.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/objalloc.c -o ./objalloc.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/obstack.c -o pic/./obstack.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/obstack.c -o ./obstack.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/partition.c -o pic/./partition.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/partition.c -o ./partition.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/physmem.c -o pic/./physmem.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/physmem.c -o ./physmem.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/pex-unix.c -o pic/./pex-unix.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/pex-unix.c -o ./pex-unix.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/safe-ctype.c -o pic/./safe-ctype.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/safe-ctype.c -o ./safe-ctype.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/sort.c -o pic/./sort.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/sort.c -o ./sort.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/spaces.c -o pic/./spaces.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/spaces.c -o ./spaces.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/splay-tree.c -o pic/./splay-tree.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/splay-tree.c -o ./splay-tree.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/strerror.c -o pic/./strerror.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/strerror.c -o ./strerror.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/strsignal.c -o pic/./strsignal.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/strsignal.c -o ./strsignal.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/ternary.c -o pic/./ternary.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/ternary.c -o ./ternary.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xatexit.c -o pic/./xatexit.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xatexit.c -o ./xatexit.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xexit.c -o pic/./xexit.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xexit.c -o ./xexit.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xmalloc.c -o pic/./xmalloc.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xmalloc.c -o ./xmalloc.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xmemdup.c -o pic/./xmemdup.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xmemdup.c -o ./xmemdup.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xstrdup.c -o pic/./xstrdup.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xstrdup.c -o ./xstrdup.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xstrerror.c -o pic/./xstrerror.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/xstrerror.c -o ./xstrerror.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/mempcpy.c -o pic/./mempcpy.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/mempcpy.c -o ./mempcpy.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/stpcpy.c -o pic/./stpcpy.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/stpcpy.c -o ./stpcpy.o if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/stpncpy.c -o pic/./stpncpy.o; else true; fi gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../src/libiberty/../include -W -Wall -Wtraditional -pedantic ../../src/libiberty/stpncpy.c -o ./stpncpy.o rm -f ./libiberty.a pic/./libiberty.a ar rc ./libiberty.a ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./physmem.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./mempcpy.o ./stpcpy.o ./stpncpy.o ranlib ./libiberty.a if [ x"" != x ]; then cd pic; ar rc ./libiberty.a ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./physmem.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o ./mempcpy.o ./stpcpy.o ./stpncpy.o; ranlib ./libiberty.a; cd ..; else true; fi rm -f needed-list; touch needed-list; for f in atexit calloc memchr memcmp memcpy memmove memset rename strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf vfork waitpid bcmp bcopy bzero; do for g in ./mempcpy.o ./stpcpy.o ./stpncpy.o ; do case "$g" in *$f*) echo $g >> needed-list ;; esac; done; done echo ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./alloca.o ./argv.o ./choose-temp.o ./concat.o ./cp-demint.o ./dyn-string.o ./fdmatch.o ./fibheap.o ./floatformat.o ./fnmatch.o ./getopt.o ./getopt1.o ./getpwd.o ./getruntime.o ./hashtab.o ./hex.o ./lbasename.o ./lrealpath.o ./make-relative-prefix.o ./make-temp-file.o ./objalloc.o ./obstack.o ./partition.o ./physmem.o ./pex-unix.o ./safe-ctype.o ./sort.o ./spaces.o ./splay-tree.o ./strerror.o ./strsignal.o ./ternary.o ./xatexit.o ./xexit.o ./xmalloc.o ./xmemdup.o ./xstrdup.o ./xstrerror.o > required-list Configuring in opcodes configure: creating cache ./config.cache checking build system type... i386-unknown-openbsd3.6 checking host system type... i386-unknown-openbsd3.6 checking target system type... i386-unknown-openbsd3.6 checking for i386-unknown-openbsd3.6-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for i386-unknown-openbsd3.6-ar... ar checking for i386-unknown-openbsd3.6-ranlib... ranlib checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... yes checking for ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependant libraries... unknown checking for i386-unknown-openbsd3.6-ranlib... (cached) ranlib checking for i386-unknown-openbsd3.6-strip... no checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes finding the maximum length of command line arguments... 98305 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... openbsd3.6 ld.so checking command to parse nm output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking whether to install libbfd... yes checking for i386-unknown-openbsd3.6-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for i386-unknown-openbsd3.6-ranlib... (cached) ranlib checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... no checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no found xgettext programs is not GNU xgettext; ignore it checking for a BSD-compatible install... /usr/bin/install -c checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands Configuring in bfd configure: creating cache ./config.cache checking build system type... i386-unknown-openbsd3.6 checking host system type... i386-unknown-openbsd3.6 checking target system type... i386-unknown-openbsd3.6 checking for i386-unknown-openbsd3.6-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for library containing strerror... none required checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for i386-unknown-openbsd3.6-ar... ar checking for i386-unknown-openbsd3.6-ranlib... ranlib checking for ld used by GCC... ld checking if the linker (ld) is GNU ld... yes checking for ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependant libraries... unknown checking for i386-unknown-openbsd3.6-ranlib... (cached) ranlib checking for i386-unknown-openbsd3.6-strip... no checking for strip... strip updating cache ./config.cache loading cache ./config.cache within ltconfig checking for objdir... .libs checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes finding the maximum length of command line arguments... 98305 checking if gcc supports -c -o file.o... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking whether the linker (ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... openbsd3.6 ld.so checking command to parse nm output... ok checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes creating libtool updating cache ./config.cache configure: loading cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking whether to install libbfd... yes checking for i386-unknown-openbsd3.6-gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking for i386-unknown-openbsd3.6-ranlib... (cached) ranlib checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking for off_t... yes checking for size_t... yes checking for working alloca.h... no checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for getcwd... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strchr... yes checking for strcasecmp... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for stpcpy... no checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no found xgettext programs is not GNU xgettext; ignore it checking for a BSD-compatible install... /usr/bin/install -c checking for long long... yes checking size of long long... 8 checking size of long... 4 checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for getpagesize... (cached) yes checking for setitimer... yes checking for sysconf... yes checking for fdopen... yes checking for getuid... yes checking for getgid... yes checking for strtoull... yes checking whether strstr must be declared... no checking whether malloc must be declared... no checking whether realloc must be declared... no checking whether free must be declared... no checking whether getenv must be declared... no checking sys/procfs.h usability... no checking sys/procfs.h presence... no checking for sys/procfs.h... no checking for ftello... yes checking for ftello64... no checking for fseeko... yes checking for fseeko64... no checking size of off_t... 8 checking file_ptr type... BFD_HOST_64_BIT checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for madvise... yes checking for mprotect... yes updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating bfd-in3.h config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands make all-recursive Making all in doc Making all in po rm -f bfd-tmp.h cp bfd-in3.h bfd-tmp.h /bin/sh ../../src/bfd/../move-if-change bfd-tmp.h bfd.h rm -f bfd-tmp.h touch stmp-bfd-h /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -D_GNU_SOURCE -DNETBSD_CORE -I. -I../../src/bfd -I../../src/bfd/../include -I../../src/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c -o archive.lo ../../src/bfd/archive.c gcc -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -D_GNU_SOURCE -DNETBSD_CORE -I. -I../../src/bfd -I../../src/bfd/../include -I../../src/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -c ../../src/bfd/archive.c -o archive.o In file included from ../../src/bfd/archive.c:131: ../../src/bfd/sysdep.h:135:21: libintl.h: No such file or directory ../../src/bfd/archive.c: In function `_bfd_write_archive_contents': ../../src/bfd/archive.c:1759: warning: implicit declaration of function `dgettext' ../../src/bfd/archive.c:1759: warning: passing arg 1 of pointer to function makes pointer from integer without a cast ../../src/bfd/archive.c: In function `_bfd_archive_bsd_update_armap_timestamp': ../../src/bfd/archive.c:2022: warning: passing arg 1 of `bfd_perror' makes pointer from integer without a cast ../../src/bfd/archive.c:2048: warning: passing arg 1 of `bfd_perror' makes pointer from integer without a cast *** Error code 1 Stop in /home/kettenis/sandbox/gdb/obj/bfd. *** Error code 1 Stop in /home/kettenis/sandbox/gdb/obj/bfd (line 1023 of Makefile). *** Error code 1 Stop in /home/kettenis/sandbox/gdb/obj/bfd (line 902 of Makefile). *** Error code 1 Stop in /home/kettenis/sandbox/gdb/obj (line 2488 of Makefile). ^ permalink raw reply [flat|nested] 13+ messages in thread
* [commit] Fix ENABLE_NLS; Was .... use ../intl/ when present 2005-01-27 20:40 ` Mark Kettenis @ 2005-01-31 21:22 ` Andrew Cagney 2005-01-31 21:46 ` Daniel Jacobowitz 0 siblings, 1 reply; 13+ messages in thread From: Andrew Cagney @ 2005-01-31 21:22 UTC (permalink / raw) To: gdb-patches, binutils; +Cc: Mark Kettenis [-- Attachment #1: Type: text/plain, Size: 5420 bytes --] Hello, First lets address the technical problem: [Several days scrounging up and installing a FreeBSD m/c, 10 minutes writing a patch, and then another day testing it later ...] I've also committed the attached. It fixes a problem where ENABLE_NLS was being set when there was no "nls". This time I've regenerated both the relevant gdb and binutils configures (where applicable using autoconf-2.13 per Ian's recommendation). This time I've also built things per the attached table (using CVS, not a snapshot - more on that latter): PPC-GNU/Linux FreeBSD-4.9 gdb-default built built gdb-disable built built gdb-enable built built bfd-default built [msgfmt] bfd-disable built [msgfmt] bfd-enable built built Notes: PPC-GNU/Linux: Has a full gettext installation FreeBSD-4.9: Doesn't. gdb-*: GDB from CVS with attach patch bfd-*: BINUTILS from CVS with attached patch *-default: Straight out-of-box config/build *-disable: Configured with --disable-nls *-enable: Configured with --enable-nls And finally, [msgfmt]: BFD barfed vis: make all-recursive Making all in doc Making all in po file=/home/cygnus/cagney/BINUTILS/src/bfd/po/`echo fr | sed 's,.*/,,'`.gmo && rm -f $file && PATH=../src:$PATH msgfmt -o $file /home/cygnus/cagney/BINUTILS/src/bfd/po/fr.po msgfmt: not found *** Error code 127 Stop in /home/cagney/BINUTILS/native/bfd/po. As you can see GDB is building fine out of CVS. BINUTILS on the other hand has trouble - it can only be built if msgfmt is installed (intl/ doesn't include this). (Mark, suspecting something like this is why I asked that you use a snapshot - it should at least avoid that). Now the logistic, or as some would describe it, political problem: Mark Kettenis wrote: > The attached should fix a further problem - it was appending NONE as the > catalog suffix. Again tested on a system with installed gettext, and > with --disable-nls (which isn't very useful). > > If people still encounter problems can they please include a few details > such as the broken Makefile. Otherwize I'm put in a situtation where > I'm flying blind :-( Per above, 10 minutes with a machine with the bug and a trivial tweak fixes the problem, and gets GDB building when binutils can't. > Sorry Andrew, but this just helps a tiny little bit. I'm sorry that I > didn't provide more details, but I wasn't asking you to fix > gettext.m4. The problem here is that gettext.m4 was only designed to > be used with an included intl/ subdirectory. Therefore it does only a > halfhearted check for an external intl/ and never ever disables > internationalization unless you explicitly ask for it by specifying > --disable-nls on the command line. Removing intl/ was a mistake that > did go unnoticed because of limitations of cvs. When I first noticed > the problem in december, I looked at whether we could fix gettext.m4. > My assessment was that it wasn't easy and that it would be much easier > to simply bring back intl/. Our motivation for removing intl/ was > that it somethings caused build problems, but we never analyzed those > problems quite in detail (my suspicion is that this case is similar to > the ncurses breakage; compiler searching /usr/local/include but the > linker not searching /usr/local/lib or the other way around). > > The proper way to fix this seems to be to bring over intl/ from GCC. > The wish has been expressed several times on the gdb and binutils > mailing lists, and I haven't seen any objections. I'll commit myself > to doing the work in march if you'll bring back intl/ in the meantime. GDB got out of the business of using src/intl/ for a very simple reason, it was broken, un-maintained, and out-of-date (sound familar? think src/dejagnu/ :-). The decision made was to drop the existing src/intl/ (known to not build on several systems) and instead have GDB use an external gettext when available, and none otherwise. Once GDB's i18ed (at the time 0% of GDB was i18n) and once intl/ was up-to-date the decision was to be reviewed. This way we could ensure that GDB at least built on all systems. While regrettable, it's not unsurprising that the decision's implementation had a few hiccups - after all the bulk of developers building GDB on systems with a bundled gettext the relevant code paths went untested. Oops! The key thing to note though is that such teething problems don't necessarily imply the immediate need to reverse that decision. In fact doing so just re-arranges the deck chairs on the titanic - it might fix some systems but sure as hell doesn't fix others (see above, it can't fix FreeBSD built from CVS). Contrast that to the action taken - by instead fixing the configury problems we've now [hopefully] got a GDB that builds builds on any system that lacks i18n (be it a snapshot or from CVS). Andrew PS: It's worth nothing that the proposal to upgrade src/intl/ is currently blocked by BINUTILS. It can't be scheduled until after the next BINUTILS has branched. PPS: Perhaps BINUTILS turn to re-think their position - "focus on the core competencies" and get out of the business of maintaining intl/. PPPS: Systems such as FreeBSD eventually end up installing gettext as part of the ports/packages install process. [-- Attachment #2: diffs --] [-- Type: text/plain, Size: 1007 bytes --] 2005-01-31 Andrew Cagney <cagney@gnu.org> * gettext.m4: Only set ENABLE_NLS when gettext is present. Index: gettext.m4 =================================================================== RCS file: /cvs/src/src/gettext.m4,v retrieving revision 1.5 diff -p -u -r1.5 gettext.m4 --- gettext.m4 27 Jan 2005 14:47:56 -0000 1.5 +++ gettext.m4 31 Jan 2005 20:27:37 -0000 @@ -24,7 +24,6 @@ AC_DEFUN([CY_WITH_NLS], dnl If we use NLS figure out what method if test "$USE_NLS" = "yes"; then - AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested]) AC_MSG_CHECKING([whether included gettext is requested]) AC_ARG_WITH(included-gettext, [ --with-included-gettext use the GNU gettext library included here], @@ -156,6 +155,9 @@ AC_DEFUN([CY_WITH_NLS], AC_SUBST(INTLOBJS) AC_SUBST(POFILES) AC_SUBST(POSUB) + if test "x$CATOBJEXT" != "x"; then + AC_DEFINE(ENABLE_NLS, 1, [Define to 1 if NLS is requested]) + fi ]) AC_DEFUN([CY_GNU_GETTEXT], ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [commit] Fix ENABLE_NLS; Was .... use ../intl/ when present 2005-01-31 21:22 ` [commit] Fix ENABLE_NLS; Was .... " Andrew Cagney @ 2005-01-31 21:46 ` Daniel Jacobowitz 2005-01-31 22:37 ` Andrew Cagney 0 siblings, 1 reply; 13+ messages in thread From: Daniel Jacobowitz @ 2005-01-31 21:46 UTC (permalink / raw) To: Andrew Cagney; +Cc: gdb-patches, binutils, Mark Kettenis On Mon, Jan 31, 2005 at 04:21:17PM -0500, Andrew Cagney wrote: > And finally, [msgfmt]: BFD barfed vis: > make all-recursive > Making all in doc > Making all in po > file=/home/cygnus/cagney/BINUTILS/src/bfd/po/`echo fr | sed > 's,.*/,,'`.gmo && rm -f $file && PATH=../src:$PATH msgfmt -o $file > /home/cygnus/cagney/BINUTILS/src/bfd/po/fr.po > msgfmt: not found > *** Error code 127 > Stop in /home/cagney/BINUTILS/native/bfd/po. > > As you can see GDB is building fine out of CVS. BINUTILS on the other > hand has trouble - it can only be built if msgfmt is installed (intl/ > doesn't include this). (Mark, suspecting something like this is why I > asked that you use a snapshot - it should at least avoid that). I'm not sure why you feel that this makes GDB "superior" in any regard. The reason this works for GDB is that GDB doesn't need msgfmt yet. Because it doesn't have any catalogs. Needing msgfmt available at build-from-CVS time seems to be pretty common for GNU packages; GCC even politely documents the requirement to have gettext available to modify GCC. > PS: It's worth nothing that the proposal to upgrade src/intl/ is > currently blocked by BINUTILS. It can't be scheduled until after the > next BINUTILS has branched. No, it's not worth noticing. I find it laughably unlikely that, even as slow as I may be to get the next release moving, anyone would want to touch src/intl/ before the branch is created. If it were to happen, I'd just create the branch early. -- Daniel Jacobowitz ^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [commit] Fix ENABLE_NLS; Was .... use ../intl/ when present 2005-01-31 21:46 ` Daniel Jacobowitz @ 2005-01-31 22:37 ` Andrew Cagney 0 siblings, 0 replies; 13+ messages in thread From: Andrew Cagney @ 2005-01-31 22:37 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: gdb-patches, binutils, Mark Kettenis Daniel Jacobowitz wrote: > On Mon, Jan 31, 2005 at 04:21:17PM -0500, Andrew Cagney wrote: > >>And finally, [msgfmt]: BFD barfed vis: >> make all-recursive >> Making all in doc >> Making all in po >> file=/home/cygnus/cagney/BINUTILS/src/bfd/po/`echo fr | sed >>'s,.*/,,'`.gmo && rm -f $file && PATH=../src:$PATH msgfmt -o $file >>/home/cygnus/cagney/BINUTILS/src/bfd/po/fr.po >> msgfmt: not found >> *** Error code 127 >> Stop in /home/cagney/BINUTILS/native/bfd/po. >> >>As you can see GDB is building fine out of CVS. BINUTILS on the other >>hand has trouble - it can only be built if msgfmt is installed (intl/ >>doesn't include this). (Mark, suspecting something like this is why I >>asked that you use a snapshot - it should at least avoid that). > > > I'm not sure why you feel that this makes GDB "superior" in any regard. > The reason this works for GDB is that GDB doesn't need msgfmt yet. > Because it doesn't have any catalogs. Eh? The barf is in _BFD_. GDB built because NLS was disabled, not because of a lack of catalogues. > Needing msgfmt available at > build-from-CVS time seems to be pretty common for GNU packages; GCC > even politely documents the requirement to have gettext available > to modify GCC. Mark, you might want to make a note of this point. Andrew ^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-01-31 22:37 UTC | newest] Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-01-18 0:04 [patch/rfc] Only use ../intl/ when present Andrew Cagney 2005-01-18 0:24 ` Andreas Schwab 2005-01-24 19:35 ` Andrew Cagney 2005-01-24 19:32 ` Andrew Cagney 2005-01-27 14:59 ` [commit] Avoid CATOBJEXT=NONE; Was: " Andrew Cagney 2005-01-27 15:27 ` Andrew Cagney 2005-01-27 15:32 ` Ian Lance Taylor 2005-01-27 15:57 ` Andrew Cagney 2005-01-27 16:02 ` Ian Lance Taylor 2005-01-27 20:40 ` Mark Kettenis 2005-01-31 21:22 ` [commit] Fix ENABLE_NLS; Was .... " Andrew Cagney 2005-01-31 21:46 ` Daniel Jacobowitz 2005-01-31 22:37 ` Andrew Cagney
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).