0

我正在尝试构建 openxt openembedded 代码。在构建配方 libgcc 9.3.0 时出现此错误。如果有人知道解决这个问题的任何方法。问候 Shrawise

Initialising tasks: 100% |##################################################################################################################################################################| Time: 0:00:03
Sstate summary: Wanted 12 Found 0 Missed 12 Current 57 (0% match, 82% complete)
NOTE: Executing Tasks
ERROR: libgcc-9.3.0-r0 do_compile: oe_runmake failed
ERROR: libgcc-9.3.0-r0 do_compile: Execution of '/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/run.do_compile.1768' failed with exit code 1
ERROR: Logfile of failure stored in: /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/log.do_compile.1768
Log data follows:
| DEBUG: Executing python function autotools_aclocals
| DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc', 'bit-64', 'x86_64-linux', 'common']
| DEBUG: Python function autotools_aclocals finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j 1 MULTIBUILDTOP=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/gcc-9.3.0/build.x86_64-oe-linux.x86_64-oe-linux/x86_64-oe-linux/libgcc/
| # If this is the top-level multilib, build all the other
| # multilibs.
| ln -s ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/enable-execute-stack-empty.c enable-execute-stack.c
| ln -s ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/unwind-generic.h unwind.h
| ln -s ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/config/i386/linux-unwind.h md-unwind-support.h
| ln -s ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/config/i386/sfp-machine.h sfp-machine.h
| ln -s ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/gthr-posix.h gthr-default.h
| DEFINES='' HEADERS='../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/config/i386/elf-lib.h ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/config/i386/value-unwind.h' \
|   ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/mkheader.sh > tmp-libgcc_tm.h
| /bin/sh ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h
| echo timestamp > libgcc_tm.stamp
| x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0=/usr/src/debug/libgcc/9.3.0-r0 -fdebug-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0=/usr/src/debug/libgcc/9.3.0-r0 -fdebug-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot-native= -O2  -g -O2 -DIN_GCC  -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fpic -mlong-double-80  -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fpic -mlong-double-80  -I. -I. -I/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/gcc-9.3.0/build.x86_64-oe-linux.x86_64-oe-linux/x86_64-oe-linux/libgcc/../.././gcc -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/. -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../gcc -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../include -I../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS  -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF _muldi3.dep -DL_muldi3 -c ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS
| In file included from /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot/usr/include/sys/types.h:227,
|                  from ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/../gcc/tsystem.h:90,
|                  from ../../../../../../../work-shared/gcc-9.3.0-r0/gcc-9.3.0/libgcc/libgcc2.c:27:
| /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/recipe-sysroot/usr/include/bits/pthreadtypes.h:88:34: error: field '__data' has incomplete type
|    88 |   struct __pthread_rwlock_arch_t __data;
|       |                                  ^~~~~~
| make: *** [Makefile:498: _muldi3.o] Error 1
| ERROR: oe_runmake failed
| WARNING: /home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/run.do_compile.1768:1 exit 1 from 'exit 1'
| ERROR: Execution of '/home/build/openxt/build-a/tmp-glibc/work/core2-64-oe-linux/libgcc/9.3.0-r0/temp/run.do_compile.1768' failed with exit code 1
ERROR: Task (/home/build/openxt/build-a/layers/openembedded-core/meta/recipes-devtools/gcc/libgcc_9.3.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 441 tasks of which 437 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/build/openxt/build-a/layers/openembedded-core/meta/recipes-devtools/gcc/libgcc_9.3.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
4

0 回答 0