Closed
Description
at 16:57:41 ❯ ./y.sh build --sysroot --release
[BUILD] build system
Finished `release` profile [optimized] target(s) in 0.14s
Using `/home/matthias/vcs/github/rustc_codegen_gcc/build/libgccjit/b6f163f52` as path for libgccjit
Compiling libc v0.2.150
Compiling memchr v2.5.0
Compiling rustix v0.38.8
Compiling bitflags v2.4.0
Compiling linux-raw-sys v0.4.5
Compiling fastrand v2.0.0
Compiling cfg-if v1.0.0
Compiling smallvec v1.10.0
Compiling object v0.30.4
Compiling gccjit_sys v0.0.1 (https://github.com/antoyo/gccjit.rs#9f8f67ed)
Compiling gccjit v1.0.0 (https://github.com/antoyo/gccjit.rs#9f8f67ed)
Compiling tempfile v3.7.1
Compiling rustc_codegen_gcc v0.1.0 (/home/matthias/vcs/github/rustc_codegen_gcc)
Finished `release` profile [optimized] target(s) in 30.01s
[BUILD] sysroot
Updating crates.io index
Compiling core v0.0.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/core)
Compiling compiler_builtins v0.1.109
Compiling libc v0.2.153
Compiling std v0.0.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/std)
Compiling rustc-std-workspace-core v1.99.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/rustc-std-workspace-core)
Compiling alloc v0.0.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/alloc)
Compiling rustc-std-workspace-alloc v1.99.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/rustc-std-workspace-alloc)
Compiling cfg-if v1.0.0
Compiling unwind v0.0.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/unwind)
Compiling gimli v0.28.1
Compiling adler v1.0.2
Compiling memchr v2.7.2
Compiling object v0.32.2
Compiling addr2line v0.21.0
Compiling miniz_oxide v0.7.2
Compiling panic_unwind v0.0.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/panic_unwind)
Compiling std_detect v0.1.5 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/stdarch/crates/std_detect)
Compiling panic_abort v0.0.0 (/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot_src/library/panic_abort)
Compiling hashbrown v0.14.3
Compiling rustc-demangle v0.1.23
error: linking with `cc` failed: exit status: 1
|
= note: LC_ALL="C" PATH="/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/gcc/bin:/opt/m68k-unknown-linux-gnu/bin:/home/matthias/.cargo/bin:/home/matthias/bin:/usr/local/bin:/home/matthias/.cargo/bin:/home/matthias/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/var/lib/snapd/snap/bin" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcUCIbfX/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcUCIbfX/symbols.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.00.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.01.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.02.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.03.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.04.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.05.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.06.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.07.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.08.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.09.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.10.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.11.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.12.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.13.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.14.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.std.5b268263bd0b4d48-cgu.15.rcgu.o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.1towqx2td2eidb4z.rcgu.rmeta" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/std.5gs0kuthbird9pcl.rcgu.o" "-Wl,--as-needed" "-L" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps" "-L" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/debug/deps" "-L" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libpanic_unwind-82f9eb53cca2c1e9.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libobject-48c9f495be1a15b2.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libmemchr-ecb6ae7a8173a8a8.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libaddr2line-790e1b8b781e9865.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libgimli-55945695896bf287.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/librustc_demangle-31a3f7b0c0137503.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libstd_detect-33d1b566547fc6c5.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libhashbrown-3402eb8be63ec54a.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/librustc_std_workspace_alloc-106b156603a8973c.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libminiz_oxide-3d4bf56b799cca42.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libadler-4b3e42f77f028f0b.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libunwind-2d153bd4674514ed.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcfg_if-c4b2cd3306f6c661.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-bc8744d3fa71b878.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/liballoc-53b8aec975df62c6.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/librustc_std_workspace_core-9b6f4c9c3f176671.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcore-55fcbe7c430a158f.rlib" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libstd.so" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
= note: ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libgimli-55945695896bf287.rlib(gimli-55945695896bf287.gimli.e3f810551cabd086-cgu.1.rcgu.o)
>>> referenced by fake.c
>>> gimli-55945695896bf287.gimli.e3f810551cabd086-cgu.1.rcgu.o:(global.9) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libgimli-55945695896bf287.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.1) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.2) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.3) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.4) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.5) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.7) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.9) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.a) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.b) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.c) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.e) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.f) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.g) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.h) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.i) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.j) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.k) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.m) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: relocation R_X86_64_64 cannot be used against local symbol; recompile with -fPIC
>>> defined in /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib(compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o)
>>> referenced by fake.c
>>> compiler_builtins-8fdeeb102241805b.compiler_builtins.b08b8d3d36298760-cgu.2.rcgu.o:(global.n) in archive /home/matthias/vcs/github/rustc_codegen_gcc/build/build_sysroot/target/x86_64-unknown-linux-gnu/debug/deps/libcompiler_builtins-8fdeeb102241805b.rlib
ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
collect2: error: ld returned 1 exit status
error: could not compile `std` (lib) due to 1 previous error
Command `["cargo", "build", "--target", "x86_64-unknown-linux-gnu"]` failed
Command failed to run: Command `cargo build --target x86_64-unknown-linux-gnu` (running in folder `build/build_sysroot`) exited with status Some(101)
Metadata
Metadata
Assignees
Labels
No labels