Building App: helloworld, Arch: x86_64, Platform: pc-x86, Language: c cargo rustc --target x86_64-unknown-none --target-dir /home/jacky/Coding/arceos/target --release --crate-type staticlib --features "libax/platform-pc-x86 libax/log-level-info libax/fs libax/bus-pci libax/cbindings" --no-default-features -p libax -- -Clink-args="-T/home/jacky/Coding/arceos/modules/axhal/linker_x86_64.lds -no-pie" Compiling proc-macro2 v1.0.57 Compiling unicode-ident v1.0.8 Compiling quote v1.0.27 Compiling autocfg v1.1.0 Compiling log v0.4.17 Compiling cfg-if v1.0.0 Compiling indexmap v1.9.3 Compiling serde v1.0.163 Compiling hashbrown v0.12.3 Compiling bitflags v1.3.2 Compiling winnow v0.4.6 Compiling toml_datetime v0.6.1 Compiling syn v2.0.16 Compiling bit_field v0.10.2 Compiling axerrno v0.1.0 (/home/jacky/Coding/arceos/crates/axerrno) Compiling libc v0.2.144 Compiling syn v1.0.109 Compiling bitflags v2.2.1 Compiling rustversion v1.0.12 Compiling toml_edit v0.19.8 Compiling volatile v0.4.6 Compiling x86_64 v0.14.10 Compiling raw-cpuid v10.7.0 Compiling buddy_system_allocator v0.9.0 Compiling x86 v0.52.0 Compiling paste v1.0.12 Compiling memory_addr v0.1.0 (/home/jacky/Coding/arceos/crates/memory_addr) Compiling slab_allocator v0.3.1 (/home/jacky/Coding/arceos/crates/slab_allocator) Compiling serde_derive v1.0.163 Compiling crate_interface v0.1.1 Compiling bitmap-allocator v0.1.0 (https://github.com/rcore-os/bitmap-allocator.git?rev=88e871a#88e871a5) Compiling percpu v0.1.0 (/home/jacky/Coding/arceos/crates/percpu) Compiling allocator v0.1.0 (/home/jacky/Coding/arceos/crates/allocator) Compiling crate_interface v0.1.1 (/home/jacky/Coding/arceos/crates/crate_interface) Compiling kernel_guard v0.1.0 (/home/jacky/Coding/arceos/crates/kernel_guard) Compiling spinlock v0.1.0 (/home/jacky/Coding/arceos/crates/spinlock) Compiling percpu_macros v0.1.0 (/home/jacky/Coding/arceos/crates/percpu_macros) Compiling zerocopy-derive v0.3.2 Compiling page_table_entry v0.1.0 (/home/jacky/Coding/arceos/crates/page_table_entry) Compiling lock_api v0.4.9 Compiling glob v0.3.1 Compiling memchr v2.5.0 Compiling io-lifetimes v1.0.10 Compiling bit v0.1.1 Compiling byteorder v1.4.3 Compiling clang-sys v1.6.1 Compiling zerocopy v0.6.1 Compiling x2apic v0.4.2 Compiling page_table v0.1.0 (/home/jacky/Coding/arceos/crates/page_table) Compiling axlog v0.1.0 (/home/jacky/Coding/arceos/modules/axlog) Compiling axalloc v0.1.0 (/home/jacky/Coding/arceos/modules/axalloc) Compiling raw-cpuid v11.0.1 Compiling scopeguard v1.1.0 Compiling lazy_init v0.1.0 (/home/jacky/Coding/arceos/crates/lazy_init) Compiling static_assertions v1.1.0 Compiling handler_table v0.1.0 (/home/jacky/Coding/arceos/crates/handler_table) Compiling ratio v0.1.0 (/home/jacky/Coding/arceos/crates/ratio) Compiling prettyplease v0.2.5 Compiling rustix v0.37.19 Compiling virtio-drivers v0.4.0 (https://github.com/rcore-os/virtio-drivers.git?rev=409ee72#409ee723) Compiling linux-raw-sys v0.3.7 Compiling minimal-lexical v0.2.1 Compiling serde_json v1.0.96 Compiling os_str_bytes v6.5.0 Compiling driver_common v0.1.0 (/home/jacky/Coding/arceos/crates/driver_common) Compiling clap_lex v0.2.4 Compiling driver_block v0.1.0 (/home/jacky/Coding/arceos/crates/driver_block) Compiling nom v7.1.3 Compiling spin v0.9.8 Compiling atty v0.2.14 Compiling axfs_vfs v0.1.0 (/home/jacky/Coding/arceos/crates/axfs_vfs) Compiling libloading v0.7.4 Compiling ryu v1.0.13 Compiling termcolor v1.2.0 Compiling axconfig v0.1.0 (/home/jacky/Coding/arceos/modules/axconfig) Compiling either v1.8.1 Compiling itoa v1.0.6 Compiling regex-syntax v0.7.1 Compiling strsim v0.10.0 Compiling axhal v0.1.0 (/home/jacky/Coding/arceos/modules/axhal) Compiling fastrand v1.9.0 Compiling spin v0.5.2 Compiling cbindgen v0.24.3 Compiling axdriver v0.1.0 (/home/jacky/Coding/arceos/modules/axdriver) Compiling bindgen v0.65.1 Compiling textwrap v0.16.0 Compiling axtask v0.1.0 (/home/jacky/Coding/arceos/modules/axtask) Compiling tempfile v3.5.0 Compiling clap v3.2.25 Compiling lazy_static v1.4.0 Compiling cexpr v0.6.0 Compiling regex v1.8.1 Compiling which v4.4.0 Compiling toml v0.5.11 Compiling driver_virtio v0.1.0 (/home/jacky/Coding/arceos/crates/driver_virtio) Compiling driver_pci v0.1.0 (/home/jacky/Coding/arceos/crates/driver_pci) Compiling heck v0.4.1 Compiling rustc-hash v1.1.0 Compiling peeking_take_while v0.1.2 Compiling shlex v1.1.0 Compiling lazycell v1.3.0 Compiling axsync v0.1.0 (/home/jacky/Coding/arceos/modules/axsync) Compiling axfs_ramfs v0.1.0 (/home/jacky/Coding/arceos/crates/axfs_ramfs) Compiling axfs_devfs v0.1.0 (/home/jacky/Coding/arceos/crates/axfs_devfs) Compiling capability v0.1.0 (/home/jacky/Coding/arceos/crates/capability) Compiling axio v0.1.0 (/home/jacky/Coding/arceos/crates/axio) Compiling fatfs v0.4.0 (https://github.com/rafalh/rust-fatfs?rev=a3a834e#a3a834ef) Compiling axfs v0.1.0 (/home/jacky/Coding/arceos/modules/axfs) Compiling bitmaps v3.2.0 Compiling axruntime v0.1.0 (/home/jacky/Coding/arceos/modules/axruntime) Compiling flatten_objects v0.1.0 (/home/jacky/Coding/arceos/crates/flatten_objects) Compiling libax v0.1.0 (/home/jacky/Coding/arceos/ulib/libax) Finished release [optimized] target(s) in 1m 03s x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o apps/c/helloworld//main.o apps/c/helloworld//main.c mkdir -p ulib/c_libax/build_x86_64 x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/assert.o ulib/c_libax/src/assert.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/ctype.o ulib/c_libax/src/ctype.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/errno.o ulib/c_libax/src/errno.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/fcntl.o ulib/c_libax/src/fcntl.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/mmap.o ulib/c_libax/src/mmap.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/network.o ulib/c_libax/src/network.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/pthread.o ulib/c_libax/src/pthread.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/resource.o ulib/c_libax/src/resource.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/signal.o ulib/c_libax/src/signal.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/socket.o ulib/c_libax/src/socket.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/stat.o ulib/c_libax/src/stat.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/stdio.o ulib/c_libax/src/stdio.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/stdlib.o ulib/c_libax/src/stdlib.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/string.o ulib/c_libax/src/string.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/time.o ulib/c_libax/src/time.c x86_64-unknown-linux-musl-gcc -nostdinc -static -no-pie -fno-builtin -ffreestanding -Wall -Iulib/c_libax/include -Iulib/c_libax/../libax -O3 -mno-sse -c -o ulib/c_libax/build_x86_64/unistd.o ulib/c_libax/src/unistd.c rm -f ulib/c_libax/build_x86_64/libc.a x86_64-unknown-linux-musl-ar rc ulib/c_libax/build_x86_64/libc.a ulib/c_libax/build_x86_64/assert.o ulib/c_libax/build_x86_64/ctype.o ulib/c_libax/build_x86_64/errno.o ulib/c_libax/build_x86_64/fcntl.o ulib/c_libax/build_x86_64/mmap.o ulib/c_libax/build_x86_64/network.o ulib/c_libax/build_x86_64/pthread.o ulib/c_libax/build_x86_64/resource.o ulib/c_libax/build_x86_64/signal.o ulib/c_libax/build_x86_64/socket.o ulib/c_libax/build_x86_64/stat.o ulib/c_libax/build_x86_64/stdio.o ulib/c_libax/build_x86_64/stdlib.o ulib/c_libax/build_x86_64/string.o ulib/c_libax/build_x86_64/time.o ulib/c_libax/build_x86_64/unistd.o x86_64-unknown-linux-musl-ranlib ulib/c_libax/build_x86_64/libc.a Linking apps/c/helloworld//helloworld_pc-x86.elf rust-lld -flavor gnu -nostdlib -static -no-pie --gc-sections -T/home/jacky/Coding/arceos/modules/axhal/linker_x86_64.lds apps/c/helloworld//main.o ulib/c_libax/build_x86_64/libc.a target/x86_64-unknown-none/release/liblibax.a -o apps/c/helloworld//helloworld_pc-x86.elf rust-lld: error: apps/c/helloworld//main.o:(function main: .text.startup+0x11): relocation R_X86_64_32 out of range: 18446743523956043783 is not in [0, 4294967295] >>> referenced by main.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function parsenint: .text+0x46): relocation R_X86_64_32S out of range: -549753507376 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function parsenint: .text+0xc9): relocation R_X86_64_32 out of range: 18446743523956044208 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function parsenint: .text+0xd3): relocation R_X86_64_32 out of range: 18446743523956043806 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function parsenint: .text+0xd8): relocation R_X86_64_32 out of range: 18446743523956043776 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function printint: .text+0x135): relocation R_X86_64_32S out of range: -549753507376 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function printint: .text+0x19d): relocation R_X86_64_32S out of range: -549753167840 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function printint: .text+0x1b3): relocation R_X86_64_32 out of range: 18446743523956383776 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function printint: .text+0x1ec): relocation R_X86_64_32 out of range: 18446743523956044224 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function printint: .text+0x1f6): relocation R_X86_64_32 out of range: 18446743523956043806 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function printint: .text+0x1fb): relocation R_X86_64_32 out of range: 18446743523956043776 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function fflush: .text+0x240): relocation R_X86_64_32 out of range: 18446743523956383776 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function putchar: .text+0x26d): relocation R_X86_64_32S out of range: -549753167840 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function putchar: .text+0x298): relocation R_X86_64_32 out of range: 18446743523956383776 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function fprintf: .text+0x3ad): relocation R_X86_64_32S out of range: -549753167840 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function fprintf: .text+0x3c3): relocation R_X86_64_32 out of range: 18446743523956383776 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function fprintf: .text+0x415): relocation R_X86_64_32S out of range: -549753507760 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function fprintf: .text+0x42c): relocation R_X86_64_32S out of range: -549753167840 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function fprintf: .text+0x452): relocation R_X86_64_32S out of range: -549753167840 is not in [-2147483648, 2147483647] >>> referenced by stdio.c rust-lld: error: ulib/c_libax/build_x86_64/libc.a(stdio.o):(function fprintf: .text+0x500): relocation R_X86_64_32 out of range: 18446743523956043799 is not in [0, 4294967295] >>> referenced by stdio.c rust-lld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors) make: *** [ulib/c_libax/build.mk:74:apps/c/helloworld//helloworld_pc-x86.elf] 错误 1