Skip to content

编译x86_64的gdb报错 #57

Description

@5-Super-Rookie-5

config.status: creating data-directory/Makefile
config.status: creating config.h
config.status: linking ../../gdb/config/nm-linux.h to nm.h
config.status: executing libtool commands
config.status: executing depdir commands
mkdir -p -- .deps
config.status: executing default-1 commands
=== configuring in testsuite (/home/ohos/OpenHarmony/Termony/build-hnp/gdb/temp/gdb-16.3/build/gdb/testsuite)
configure: running /bin/bash ../../../gdb/testsuite/configure --disable-option-checking '--prefix=/data/app/base.org/base_1.0' '--with-lzma' '--disable-sim' '--disable-static' '--enable-shared' '--with-system-readline' '--disable-nls' '--disable-testsuite' '--disable-unit-tests' '--disable-selftest' '--program-transform-name=s,y,y,' '--disable-year2038' '--build=x86_64-pc-linux-gnu' '--host=x86_64-unknown-linux-musl' '--target=x86_64-unknown-linux-musl' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-unknown-linux-musl' 'target_alias=x86_64-unknown-linux-musl' 'CC=/home/ohos/command-line-tools/sdk/default/openharmony/native/llvm/bin/x86_64-unknown-linux-ohos-clang' 'CFLAGS=-I/home/ohos/OpenHarmony/Termony/build-hnp/gdb/../sysroot/include -Wno-int-conversion -O2 ' 'LDFLAGS= -L/home/ohos/OpenHarmony/Termony/build-hnp/gdb/../sysroot/lib' 'CXX=/home/ohos/command-line-tools/sdk/default/openharmony/native/llvm/bin/x86_64-unknown-linux-ohos-clang++' 'CXXFLAGS=-I/home/ohos/OpenHarmony/Termony/build-hnp/gdb/../sysroot/include -O2 ' 'PKG_CONFIG_PATH=' 'PKG_CONFIG_LIBDIR=/home/ohos/OpenHarmony/Termony/build-hnp/gdb/../sysroot/lib/pkgconfig:/home/ohos/OpenHarmony/Termony/build-hnp/gdb/../sysroot/share/pkgconfig' 'MAKEINFO=/home/ohos/OpenHarmony/Termony/build-hnp/gdb/temp/gdb-16.3/missing makeinfo --split-size=5000000' 'YACC=bison -y' 'GMPLIBS=-lmpfr -lgmp' 'GMPINC=' --cache-file=.././config.cache --srcdir=../../../gdb/testsuite
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-pc-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-musl
checking target system type... (cached) x86_64-unknown-linux-musl
checking for x86_64-unknown-linux-musl-gcc... (cached) /home/ohos/command-line-tools/sdk/default/openharmony/native/llvm/bin/x86_64-unknown-linux-ohos-clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether /home/ohos/command-line-tools/sdk/default/openharmony/native/llvm/bin/x86_64-unknown-linux-ohos-clang accepts -g... (cached) yes
checking for /home/ohos/command-line-tools/sdk/default/openharmony/native/llvm/bin/x86_64-unknown-linux-ohos-clang option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... (cached) /home/ohos/command-line-tools/sdk/default/openharmony/native/llvm/bin/x86_64-unknown-linux-ohos-clang -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/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 lib/pdtrace
config.status: creating Makefile
make[3]: Leaving directory '/home/ohos/OpenHarmony/Termony/build-hnp/gdb/temp/gdb-16.3/build'
make[2]: *** [Makefile:1028: all] Error 2
make[2]: Leaving directory '/home/ohos/OpenHarmony/Termony/build-hnp/gdb/temp/gdb-16.3/build'
make[1]: *** [Makefile:14: all] Error 2
make[1]: Leaving directory '/home/ohos/OpenHarmony/Termony/build-hnp/gdb'
make: *** [Makefile:89: gdb/.stamp] Error 2
make: Leaving directory '/home/ohos/OpenHarmony/Termony/build-hnp'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions