crash-utility / crash

Linux kernel crash utility
https://crash-utility.github.io
837 stars 274 forks source link

make target=ARM64, amd64-linux-nat.c:36:10: fatal error: sys/debugreg.h: No such file or directory #96

Open zqh1630 opened 3 years ago

zqh1630 commented 3 years ago

aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux -DHAVE_CONFIG_H --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -DRL_LIBRARY_VERSION='"6.2"' --sysroot=/opt/test/sysroots/aarch64-linux -DREADLINE_LIBRARY -c ./tilde.c rm -f libreadline.a aarch64-none-linux-gnu-ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xfree.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o test -n "aarch64-none-linux-gnu-ranlib" && aarch64-none-linux-gnu-ranlib libreadline.a rm -f libhistory.a aarch64-none-linux-gnu-ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o xfree.o test -n "aarch64-none-linux-gnu-ranlib" && aarch64-none-linux-gnu-ranlib libhistory.a Configuring in ./gdb configure: loading site script /opt/test/site-config-aarch64-linux configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-unknown-linux-gnu-gcc... aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux 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 aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux accepts -g... yes checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ISO C89... none needed checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes 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... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ANSI C... none needed checking dependency style of aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux... gcc3 checking for make... make checking whether make sets $(MAKE)... yes === configuring in build-gnulib (/home/test/test/crash-7.3.0/gdb-7.6/gdb/build-gnulib) configure: running /bin/sh .././gnulib/configure --disable-option-checking '--prefix=NONE' '--with-system-zlib' '--with-separate-debug-dir=/usr/lib/debug' '--with-bugurl=' '--with-expat=no' '--with-python=no' '--disable-sim' '--program-transform-name=s,y,y,' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-unknown-linux-gnu' 'CC=aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux' 'CFLAGS=--sysroot=/opt/test/sysroots/aarch64-linux' 'LDFLAGS=-static-libstdc++ -static-libgcc ' 'CPPFLAGS= --sysroot=/opt/test/sysroots/aarch64-linux' 'CPP=aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=./config.cache --srcdir=.././gnulib configure: loading site script /opt/test/site-config-aarch64-linux configure: creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-unknown-linux-gnu-gcc... aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux 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 aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux accepts -g... yes checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ISO C89... none needed checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes 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... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for Minix Amsterdam compiler... no checking for x86_64-unknown-linux-gnu-gcc... (cached) aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux checking whether we are using the GNU C compiler... (cached) yes checking whether aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux accepts -g... (cached) yes checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ISO C89... (cached) none needed checking target system type... x86_64-unknown-linux-gnu checking for working alloca.h... yes checking for alloca... yes checking for mbstate_t... yes checking for btowc... yes checking for isblank... yes checking for iswctype... yes checking for mbsrtowcs... yes checking for mempcpy... yes checking for wmemchr... yes checking for wmemcpy... yes checking for wmempcpy... yes checking for symlink... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for iswcntrl... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for unsigned long long int... yes checking for long long int... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking whether stdint.h conforms to C99... yes checking whether imaxabs is declared without a macro... yes checking whether imaxdiv is declared without a macro... yes checking whether strtoimax is declared without a macro... yes checking whether strtoumax is declared without a macro... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for nl_langinfo and CODESET... yes checking for working fcntl.h... (cached) yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for a traditional french locale... (cached) fr_FR checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memmem is declared... yes checking for memmem... yes checking whether memmem works... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wchar_t... yes checking for C/C++ restrict keyword... restrict checking whether ffsl is declared without a macro... yes checking whether ffsll is declared without a macro... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strerror_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether uses 'inline' correctly... yes checking for wint_t... yes checking for alloca as a compiler built-in... yes checking for working GNU fnmatch... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... (cached) yes checking whether mbrtowc returns 0 when parsing a NUL character... (cached) yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether mbsrtowcs works... yes checking whether memmem works in linear time... yes checking for memmem... (cached) yes checking whether memmem works... (cached) yes checking whether NULL can be used in arbitrary expressions... yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... yes checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... yes checking whether wcwidth is declared without a macro... yes checking whether wmemchr is declared without a macro... yes checking whether wmemcmp is declared without a macro... yes checking whether wmemcpy is declared without a macro... yes checking whether wmemmove is declared without a macro... yes checking whether wmemset is declared without a macro... yes checking whether wcslen is declared without a macro... yes checking whether wcsnlen is declared without a macro... yes checking whether wcscpy is declared without a macro... yes checking whether wcpcpy is declared without a macro... yes checking whether wcsncpy is declared without a macro... yes checking whether wcpncpy is declared without a macro... yes checking whether wcscat is declared without a macro... yes checking whether wcsncat is declared without a macro... yes checking whether wcscmp is declared without a macro... yes checking whether wcsncmp is declared without a macro... yes checking whether wcscasecmp is declared without a macro... yes checking whether wcsncasecmp is declared without a macro... yes checking whether wcscoll is declared without a macro... yes checking whether wcsxfrm is declared without a macro... yes checking whether wcsdup is declared without a macro... yes checking whether wcschr is declared without a macro... yes checking whether wcsrchr is declared without a macro... yes checking whether wcscspn is declared without a macro... yes checking whether wcsspn is declared without a macro... yes checking whether wcspbrk is declared without a macro... yes checking whether wcsstr is declared without a macro... yes checking whether wcstok is declared without a macro... yes checking whether wcswidth is declared without a macro... yes checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking whether wctype is declared without a macro... yes checking whether iswctype is declared without a macro... yes checking whether wctrans is declared without a macro... yes checking whether towctrans is declared without a macro... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux... gcc3 checking whether ln -s works... yes checking for x86_64-unknown-linux-gnu-ranlib... aarch64-none-linux-gnu-ranlib checking for x86_64-unknown-linux-gnu-ar... aarch64-none-linux-gnu-ar configure: updating cache ./config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating import/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands checking whether NLS is requested... yes checking for catalogs to be installed... checking whether makeinfo --split-size=5000000 supports @click... yes checking for default auto-load directory... $debugdir:$datadir/auto-load checking for default auto-load safe-path... $debugdir:$datadir/auto-load 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 etext... yes checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for x86_64-unknown-linux-gnu-ranlib... aarch64-none-linux-gnu-ranlib checking for bison... bison -y checking for x86_64-unknown-linux-gnu-ar... aarch64-none-linux-gnu-ar checking for x86_64-unknown-linux-gnu-dlltool... dlltool checking for x86_64-unknown-linux-gnu-windres... windres checking for x86_64-unknown-linux-gnu-mig... no checking for mig... no checking for main in -lm... yes checking for wctype... yes checking for library containing gethostbyname... none required checking for library containing socketpair... none required checking for library containing zlibVersion... -lz checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for library containing dlgetmodinfo... no checking for iconv... yes checking for iconv declaration... install-shextern size_t iconv (iconv_t cd, char inbuf, size_t inbytesleft, char outbuf, size_t outbytesleft); checking for library containing waddstr... -lncurses checking for library containing tgetent... none required checking size of unsigned long long... 8 checking size of unsigned long... 8 checking size of unsigned int128... 16 checking for library containing dlopen... -ldl checking whether to use expat... no configure: WARNING: expat support disabled; some features may be unavailable. checking whether to use python... no configure: WARNING: python support disabled; some features may be unavailable. checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking machine/reg.h usability... no checking machine/reg.h presence... no checking for machine/reg.h... no 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... yes checking proc_service.h presence... yes checking for proc_service.h... yes checking thread_db.h usability... yes checking thread_db.h presence... yes checking for thread_db.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... 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 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... no checking sys/filio.h presence... no checking for sys/filio.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/procfs.h usability... yes checking sys/procfs.h presence... yes checking for sys/procfs.h... yes 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 sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking wait.h usability... yes checking wait.h presence... yes checking for wait.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking for unistd.h... (cached) yes checking elf_hp.h usability... no checking elf_hp.h presence... no checking for elf_hp.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking linux/perf_event.h usability... yes checking linux/perf_event.h presence... yes checking for linux/perf_event.h... yes checking for link.h... yes checking for sys/proc.h... no checking for sys/user.h... 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 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 whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking for LC_MESSAGES... yes checking for struct stat.st_blocks... yes checking for struct stat.st_blksize... yes checking return type of signal handlers... void checking for socklen_t... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... (cached) no checking for working alloca.h... yes checking for alloca... 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 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... yes checking for realpath... yes checking for getrusage... yes checking for getuid... yes checking for getgid... yes checking for pipe... yes checking for poll... yes checking for pread... yes checking for pread64... yes checking for pwrite... yes checking for readlink... yes checking for resize_term... yes checking for sbrk... yes checking for setpgid... yes checking for setpgrp... yes checking for setsid... 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 for wresize... yes checking for setlocale... yes checking for iconvlist... no checking for libiconvlist... no checking for btowc... yes checking for setrlimit... yes checking for getrlimit... yes checking for posix_madvise... yes checking for waitpid... yes checking for lstat... yes checking for nl_langinfo and CODESET... yes checking whether ptrace is declared... yes checking return type of ptrace... long checking types of arguments for ptrace... int,int,long,long checking whether setpgrp takes no argument... (cached) yes checking for sigsetjmp... yes checking for GNU regex... yes checking for struct thread.td_pcb... no checking for struct lwp... no checking for struct reg in machine/reg.h... no checking for struct reg.r_fs... no checking for struct reg.r_gs... no checking for struct user_regs_struct.fs_base... no checking for struct user_regs_struct.gs_base... no checking for PTRACE_GETREGS... no checking for PTRACE_GETFPXREGS... no checking for PT_GETDBREGS... no checking for PT_GETXMMREGS... no checking for pstatus_t in sys/procfs.h... no checking for prrun_t in sys/procfs.h... no checking for gregset_t in sys/procfs.h... no checking for fpregset_t in sys/procfs.h... no checking for prgregset_t in sys/procfs.h... yes checking for prfpregset_t in sys/procfs.h... yes checking for prgregset32_t in sys/procfs.h... no checking for prfpregset32_t in sys/procfs.h... no checking for lwpid_t in sys/procfs.h... yes checking for psaddr_t in sys/procfs.h... yes checking for prsysent_t in sys/procfs.h... no checking for pr_sigset_t in sys/procfs.h... no checking for pr_sigaction64_t in sys/procfs.h... no checking for pr_siginfo64_t in sys/procfs.h... no checking whether prfpregset_t type is broken... no checking for PIOCSET ioctl entry in sys/procfs.h... no checking for member l_addr in struct link_map... yes checking for member lm_addr in struct link_map... no checking for member som_addr in struct so_map... no 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 decfloat support in printf... no 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 for the dynamic export flag... -Wl,--dynamic-list checking whether has TD_NOTALLOC... yes checking whether has TD_VERSION... yes checking whether has TD_NOTLS... yes checking whether <sys/syscall.h> has NR_tkill... yes checking whether ADDR_NO_RANDOMIZE is declared... yes checking compiler warning flags... -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body checking for cygwin... no checking for ELF support in BFD... yes checking for Mach-O support in BFD... no checking for SOM support in BFD... no checking whether to use lzma... auto checking for liblzma... yes checking how to link with liblzma... -llzma checking for X... no enable_sim = no enableval = no checking whether gdbserver is supported on this host... yes configure: updating cache ./config.cache configure: creating ./config.status config.status: creating jit-reader.h config.status: creating Makefile config.status: creating gdb-gdb.gdb config.status: creating doc/Makefile config.status: creating data-directory/Makefile config.status: creating config.h config.status: linking config/nm-linux.h to nm.h config.status: executing depdir commands mkdir -p -- .deps config.status: executing default commands === configuring in testsuite (/home/test/test/crash-7.3.0/gdb-7.6/gdb/testsuite) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--with-system-zlib' '--with-separate-debug-dir=/usr/lib/debug' '--with-bugurl=' '--with-expat=no' '--with-python=no' '--disable-sim' '--program-transform-name=s,y,y,' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-unknown-linux-gnu' 'CC=aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux' 'CFLAGS=--sysroot=/opt/test/sysroots/aarch64-linux' 'LDFLAGS=-static-libstdc++ -static-libgcc ' 'CPPFLAGS= --sysroot=/opt/test/sysroots/aarch64-linux' 'CPP=aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=. configure: loading site script /opt/test/site-config-aarch64-linux configure: loading cache .././config.cache checking build system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking target system type... (cached) x86_64-unknown-linux-gnu checking for make... (cached) make checking whether make sets $(MAKE)... (cached) yes checking for x86_64-unknown-linux-gnu-gcc... (cached) aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux 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 aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux accepts -g... (cached) yes checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/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) yes checking for unistd.h... (cached) yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes configure: updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating gdb.ada/Makefile config.status: creating gdb.arch/Makefile config.status: creating gdb.asm/Makefile config.status: creating gdb.base/Makefile config.status: creating gdb.btrace/Makefile config.status: creating gdb.cell/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.go/Makefile config.status: creating gdb.server/Makefile config.status: creating gdb.java/Makefile config.status: creating gdb.hp/Makefile config.status: creating gdb.hp/gdb.objdbg/Makefile config.status: creating gdb.hp/gdb.base-hp/Makefile config.status: creating gdb.hp/gdb.aCC/Makefile config.status: creating gdb.hp/gdb.compat/Makefile config.status: creating gdb.hp/gdb.defects/Makefile config.status: creating gdb.linespec/Makefile config.status: creating gdb.mi/Makefile config.status: creating gdb.modula2/Makefile config.status: creating gdb.multi/Makefile config.status: creating gdb.objc/Makefile config.status: creating gdb.opencl/Makefile config.status: creating gdb.opt/Makefile config.status: creating gdb.pascal/Makefile config.status: creating gdb.python/Makefile config.status: creating gdb.reverse/Makefile config.status: creating gdb.stabs/Makefile config.status: creating gdb.threads/Makefile config.status: creating gdb.trace/Makefile config.status: creating gdb.xml/Makefile === configuring in gdbserver (/home/test/test/crash-7.3.0/gdb-7.6/gdb/gdbserver) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' '--with-system-zlib' '--with-separate-debug-dir=/usr/lib/debug' '--with-bugurl=' '--with-expat=no' '--with-python=no' '--disable-sim' '--program-transform-name=s,y,y,' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-unknown-linux-gnu' 'CC=aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux' 'CFLAGS=--sysroot=/opt/test/sysroots/aarch64-linux' 'LDFLAGS=-static-libstdc++ -static-libgcc ' 'CPPFLAGS= --sysroot=/opt/test/sysroots/aarch64-linux' 'CPP=aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=. configure: loading site script /opt/test/site-config-aarch64-linux configure: loading cache .././config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-unknown-linux-gnu-gcc... (cached) aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux 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 aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux accepts -g... (cached) yes checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/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) yes checking for unistd.h... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define EXTENSIONS... (cached) yes checking for special C compiler options needed for large files... (cached) no checking for _FILE_OFFSET_BITS value needed for large files... (cached) no checking build system type... (cached) x86_64-unknown-linux-gnu checking host system type... (cached) x86_64-unknown-linux-gnu checking target system type... (cached) x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-unknown-linux-gnu-ranlib... (cached) aarch64-none-linux-gnu-ranlib checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking dependency style of aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux... (cached) gcc3 checking for make... (cached) make checking whether make sets $(MAKE)... (cached) yes === configuring in build-gnulib-gdbserver (/home/test/test/crash-7.3.0/gdb-7.6/gdb/gdbserver/build-gnulib-gdbserver) configure: running /bin/sh .././../gnulib/configure --disable-option-checking '--prefix=/usr/local' '--with-system-zlib' '--with-separate-debug-dir=/usr/lib/debug' '--with-bugurl=' '--with-expat=no' '--with-python=no' '--disable-sim' '--program-transform-name=s,y,y,' '--build=x86_64-unknown-linux-gnu' '--host=x86_64-unknown-linux-gnu' '--target=x86_64-unknown-linux-gnu' 'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-unknown-linux-gnu' 'target_alias=x86_64-unknown-linux-gnu' 'CC=aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux' 'CFLAGS=--sysroot=/opt/test/sysroots/aarch64-linux' 'LDFLAGS=-static-libstdc++ -static-libgcc ' 'CPPFLAGS= --sysroot=/opt/test/sysroots/aarch64-linux' 'CPP=aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=.././../gnulib configure: loading site script /opt/test/site-config-aarch64-linux configure: creating cache .././config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-unknown-linux-gnu-gcc... aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux 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 aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux accepts -g... yes checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ISO C89... none needed checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E --sysroot=/opt/test/sysroots/aarch64-linux checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes 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... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define EXTENSIONS... yes checking for Minix Amsterdam compiler... no checking for x86_64-unknown-linux-gnu-gcc... (cached) aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux checking whether we are using the GNU C compiler... (cached) yes checking whether aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux accepts -g... (cached) yes checking for aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux option to accept ISO C89... (cached) none needed checking target system type... x86_64-unknown-linux-gnu checking for working alloca.h... yes checking for alloca... yes checking for mbstate_t... yes checking for btowc... yes checking for isblank... yes checking for iswctype... yes checking for mbsrtowcs... yes checking for mempcpy... yes checking for wmemchr... yes checking for wmemcpy... yes checking for wmempcpy... yes checking for symlink... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for iswcntrl... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking for unsigned long long int... yes checking for long long int... yes checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking whether stdint.h conforms to C99... yes checking whether imaxabs is declared without a macro... yes checking whether imaxdiv is declared without a macro... yes checking whether strtoimax is declared without a macro... yes checking whether strtoumax is declared without a macro... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for nl_langinfo and CODESET... yes checking for working fcntl.h... (cached) yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for a traditional japanese locale... none checking for a transitional chinese locale... none checking for a french Unicode locale... none checking for a traditional french locale... (cached) fr_FR checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memmem is declared... yes checking for memmem... yes checking whether memmem works... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for wchar_t... yes checking for C/C++ restrict keyword... restrict checking whether ffsl is declared without a macro... yes checking whether ffsll is declared without a macro... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strerror_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether uses 'inline' correctly... yes checking for wint_t... yes checking for alloca as a compiler built-in... yes checking for working GNU fnmatch... yes checking whether INT32_MAX < INTMAX_MAX... yes checking whether INT64_MAX == LONG_MAX... yes checking whether UINT32_MAX < UINTMAX_MAX... yes checking whether UINT64_MAX == ULONG_MAX... yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether mbrtowc handles a NULL pwc argument... guessing yes checking whether mbrtowc handles a NULL string argument... guessing yes checking whether mbrtowc has a correct return value... (cached) yes checking whether mbrtowc returns 0 when parsing a NUL character... (cached) yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether mbsrtowcs works... yes checking whether memmem works in linear time... yes checking for memmem... (cached) yes checking whether memmem works... (cached) yes checking whether NULL can be used in arbitrary expressions... yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... yes checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... yes checking whether wcwidth is declared without a macro... yes checking whether wmemchr is declared without a macro... yes checking whether wmemcmp is declared without a macro... yes checking whether wmemcpy is declared without a macro... yes checking whether wmemmove is declared without a macro... yes checking whether wmemset is declared without a macro... yes checking whether wcslen is declared without a macro... yes checking whether wcsnlen is declared without a macro... yes checking whether wcscpy is declared without a macro... yes checking whether wcpcpy is declared without a macro... yes checking whether wcsncpy is declared without a macro... yes checking whether wcpncpy is declared without a macro... yes checking whether wcscat is declared without a macro... yes checking whether wcsncat is declared without a macro... yes checking whether wcscmp is declared without a macro... yes checking whether wcsncmp is declared without a macro... yes checking whether wcscasecmp is declared without a macro... yes checking whether wcsncasecmp is declared without a macro... yes checking whether wcscoll is declared without a macro... yes checking whether wcsxfrm is declared without a macro... yes checking whether wcsdup is declared without a macro... yes checking whether wcschr is declared without a macro... yes checking whether wcsrchr is declared without a macro... yes checking whether wcscspn is declared without a macro... yes checking whether wcsspn is declared without a macro... yes checking whether wcspbrk is declared without a macro... yes checking whether wcsstr is declared without a macro... yes checking whether wcstok is declared without a macro... yes checking whether wcswidth is declared without a macro... yes checking whether iswcntrl works... yes checking for towlower... yes checking for wctype_t... yes checking for wctrans_t... yes checking whether wctype is declared without a macro... yes checking whether iswctype is declared without a macro... yes checking whether wctrans is declared without a macro... yes checking whether towctrans is declared without a macro... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux... gcc3 checking whether ln -s works... yes checking for x86_64-unknown-linux-gnu-ranlib... aarch64-none-linux-gnu-ranlib checking for x86_64-unknown-linux-gnu-ar... aarch64-none-linux-gnu-ar configure: updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating import/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands checking for sgtty.h... (cached) yes checking for termio.h... (cached) yes checking for termios.h... (cached) yes checking for sys/reg.h... (cached) no checking for string.h... (cached) yes checking for proc_service.h... (cached) yes checking for sys/procfs.h... (cached) yes checking for thread_db.h... (cached) yes checking linux/elf.h usability... yes checking linux/elf.h presence... yes checking for linux/elf.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for signal.h... (cached) yes checking for sys/file.h... (cached) yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for sys/ioctl.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for sys/socket.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for sys/wait.h... (cached) yes checking for wait.h... (cached) yes checking for sys/un.h... (cached) yes checking for linux/perf_event.h... (cached) yes checking for pread... (cached) yes checking for pwrite... (cached) yes checking for pread64... (cached) yes checking for readlink... (cached) yes checking for vasprintf... yes checking for vsnprintf... yes checking for ust... no checking compiler warning flags... -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-char-subscripts -Wempty-body -Werror checking for dladdr... yes checking for errno... yes - in errno.h checking whether strerror is declared... (cached) yes checking whether strstr is declared... (cached) yes checking whether perror is declared... yes checking whether vasprintf is declared... yes checking whether vsnprintf is declared... (cached) yes checking for socklen_t... (cached) yes checking for Elf32_auxv_t... yes checking for Elf64_auxv_t... yes checking for PTRACE_GETREGS... no checking for PTRACE_GETFPXREGS... no checking for lwpid_t in sys/procfs.h... (cached) yes checking for psaddr_t in sys/procfs.h... (cached) yes checking for prgregset_t in sys/procfs.h... (cached) yes checking for elf_fpregset_t in sys/procfs.h... yes checking for dlopen in -ldl... yes checking for the dynamic export flag... -Wl,--dynamic-list checking for TD_VERSION... yes checking whether the target supports _sync*_compare_and_swap... yes checking whether ADDR_NO_RANDOMIZE is declared... (cached) yes configure: updating cache .././config.cache configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depdir commands mkdir -p -- .deps config.status: executing default commands CONFIG_HEADERS=config.h:config.in \ CONFIG_COMMANDS="default depdir" \ CONFIG_FILES= \ CONFIG_LINKS= \ /bin/sh config.status config.status: creating config.h config.status: config.h is unchanged config.status: executing default commands config.status: executing depdir commands ./observer.sh h ./doc/observer.texi observer.h Creating observer.htmp Moving observer.htmp to observer.h ./observer.sh inc ./doc/observer.texi observer.inc Creating observer.itmp Moving observer.itmp to observer.inc config.status: creating Makefile config.status: executing depfiles commands aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o gdb.o -MT gdb.o -MMD -MP -MF .deps/gdb.Tpo gdb.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o amd64-tdep.o -MT amd64-tdep.o -MMD -MP -MF .deps/amd64-tdep.Tpo amd64-tdep.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o amd64-linux-tdep.o -MT amd64-linux-tdep.o -MMD -MP -MF .deps/amd64-linux-tdep.Tpo amd64-linux-tdep.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o i386-tdep.o -MT i386-tdep.o -MMD -MP -MF .deps/i386-tdep.Tpo i386-tdep.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o i387-tdep.o -MT i387-tdep.o -MMD -MP -MF .deps/i387-tdep.Tpo i387-tdep.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o i386-linux-tdep.o -MT i386-linux-tdep.o -MMD -MP -MF .deps/i386-linux-tdep.Tpo i386-linux-tdep.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o glibc-tdep.o -MT glibc-tdep.o -MMD -MP -MF .deps/glibc-tdep.Tpo glibc-tdep.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o solib-svr4.o -MT solib-svr4.o -MMD -MP -MF .deps/solib-svr4.Tpo solib-svr4.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o symfile-mem.o -MT symfile-mem.o -MMD -MP -MF .deps/symfile-mem.Tpo symfile-mem.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o linux-tdep.o -MT linux-tdep.o -MMD -MP -MF .deps/linux-tdep.Tpo linux-tdep.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o linux-record.o -MT linux-record.o -MMD -MP -MF .deps/linux-record.Tpo linux-record.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o ser-base.o -MT ser-base.o -MMD -MP -MF .deps/ser-base.Tpo ser-base.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o ser-unix.o -MT ser-unix.o -MMD -MP -MF .deps/ser-unix.Tpo ser-unix.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o ser-pipe.o -MT ser-pipe.o -MMD -MP -MF .deps/ser-pipe.Tpo ser-pipe.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o ser-tcp.o -MT ser-tcp.o -MMD -MP -MF .deps/ser-tcp.Tpo ser-tcp.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o inf-ptrace.o -MT inf-ptrace.o -MMD -MP -MF .deps/inf-ptrace.Tpo inf-ptrace.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o fork-child.o -MT fork-child.o -MMD -MP -MF .deps/fork-child.Tpo fork-child.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o i386-nat.o -MT i386-nat.o -MMD -MP -MF .deps/i386-nat.Tpo i386-nat.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o amd64-nat.o -MT amd64-nat.o -MMD -MP -MF .deps/amd64-nat.Tpo amd64-nat.c aarch64-none-linux-gnu-gcc --sysroot=/opt/test/sysroots/aarch64-linux --sysroot=/opt/test/sysroots/aarch64-linux -I. -I. -I./common -I./config -DLOCALEDIR="\"/usr/local/share/locale\"" -DCRASH_MERGE -DHAVE_CONFIG_H -I./../include/opcode -I./../opcodes/.. -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../libdecnumber -I./../libdecnumber -I./gnulib/import -Ibuild-gnulib/import -DTUI=1 --sysroot=/opt/test/sysroots/aarch64-linux -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wmissing-prototypes -Wdeclaration-after-statement -Wempty-body -c -o amd64-linux-nat.o -MT amd64-linux-nat.o -MMD -MP -MF .deps/amd64-linux-nat.Tpo amd64-linux-nat.c amd64-linux-nat.c:36:10: fatal error: sys/debugreg.h: No such file or directory 36 | #include <sys/debugreg.h> | ^~~~ compilation terminated. Makefile:980: recipe for target 'amd64-linux-nat.o' failed make[4]: [amd64-linux-nat.o] Error 1 Makefile:8264: recipe for target 'all-gdb' failed make[3]: [all-gdb] Error 2 Makefile:834: recipe for target 'all' failed make[2]: *** [all] Error 2

crash build failed

Makefile:231: recipe for target 'gdb_merge' failed make[1]: [gdb_merge] Error 1 Makefile:226: recipe for target 'all' failed make: [all] Error 2

arm gcc version: test@ubuntu:~/test/crash-7.3.0$ aarch64-none-linux-gnu-gcc -v Using built-in specs. COLLECT_GCC=aarch64-none-linux-gnu-gcc COLLECT_LTO_WRAPPER=/opt/test/sysroots/x86_64-arago-linux/usr/bin/../libexec/gcc/aarch64-none-linux-gnu/9.2.1/lto-wrapper Target: aarch64-none-linux-gnu Configured with: /tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/src/gcc/configure --target=aarch64-none-linux-gnu --prefix= --with-sysroot=/aarch64-none-linux-gnu/libc --with-build-sysroot=/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/build-aarch64-none-linux-gnu/install//aarch64-none-linux-gnu/libc --with-bugurl=https://bugs.linaro.org/ --enable-gnu-indirect-function --enable-shared --disable-libssp --disable-libmudflap --enable-checking=release --enable-languages=c,c++,fortran --with-gmp=/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/build-aarch64-none-linux-gnu/host-tools --with-mpfr=/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/build-aarch64-none-linux-gnu/host-tools --with-mpc=/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/build-aarch64-none-linux-gnu/host-tools --with-isl=/tmp/dgboter/bbs/rhev-vm2--rhe6x86_64/buildbot/rhe6x86_64--aarch64-none-linux-gnu/build/build-aarch64-none-linux-gnu/host-tools --enable-fix-cortex-a53-843419 --with-pkgversion='GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)' Thread model: posix gcc version 9.2.1 20191025 (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10))

See the attachment for detailed logs

build crash log.txt

k-hagio commented 3 years ago

Cross-compilation is not supported. I'm not sure whether that error is due to it though.

There were some efforts to support it, but not merged. https://listman.redhat.com/archives/crash-utility/2020-November/msg00016.html