Skip to content

最新master编译qemu-virt64-aarch64失败 #7923

Closed
@FragrantRye

Description

@FragrantRye
user@DESKTOP-USER:~/source/rt-thread/bsp/qemu-virt64-aarch64$ git describe
v2.0.0_beta-11974-g8dfb3d14a

user@DESKTOP-USER:~/source/rt-thread/bsp/qemu-virt64-aarch64$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean

user@DESKTOP-USER:~/source/rt-thread/bsp/qemu-virt64-aarch64$ $RTT_EXEC_PATH/aarch64-none-elf-gcc -v
Using built-in specs.
COLLECT_GCC=/home/user/arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-elf/bin//aarch64-none-elf-gcc
COLLECT_LTO_WRAPPER=/home/user/arm-gnu-toolchain-12.3.rel1-x86_64-aarch64-none-elf/bin/../libexec/gcc/aarch64-none-elf/12.3.1/lto-wrapper
Target: aarch64-none-elf
Configured with: /data/jenkins/workspace/GNU-toolchain/arm-12/src/gcc/configure --target=aarch64-none-elf --prefix=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-elf/install --with-gmp=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-elf/host-tools --with-mpfr=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-elf/host-tools --with-mpc=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-elf/host-tools --with-isl=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-elf/host-tools --disable-shared --disable-nls --disable-threads --disable-tls --enable-checking=release --enable-languages=c,c++,fortran --with-newlib --with-gnu-as --with-gnu-ld --with-sysroot=/data/jenkins/workspace/GNU-toolchain/arm-12/build-aarch64-none-elf/install/aarch64-none-elf --with-pkgversion='Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35)' --with-bugurl=https://bugs.linaro.org/
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 12.3.1 20230626 (Arm GNU Toolchain 12.3.Rel1 (Build arm-12.35))

user@DESKTOP-USER:~/source/rt-thread/bsp/qemu-virt64-aarch64$ scons
scons: Reading SConscript files ...
Newlib version: 4.3.0
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: build
CC build/kernel/components/libc/posix/io/stdio/libc.o
/home/user/source/rt-thread/components/libc/posix/io/stdio/libc.c: In function 'libc_stdio_set_console':
/home/user/source/rt-thread/components/libc/posix/io/stdio/libc.c:124:22: error: 'struct _reent' has no member named '__sdidinit'
  124 |         _GLOBAL_REENT->__sdidinit = 1;
      |                      ^~
scons: *** [build/kernel/components/libc/posix/io/stdio/libc.o] Error 1
scons: building terminated because of errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions