Skip to content

Commit 0c14abc

Browse files
committed
git-branchless: add LA64 and mips64el-like to FAIL_ARCH
1 parent 23d5c60 commit 0c14abc

File tree

1 file changed

+13
-0
lines changed
  • app-utils/git-branchless/autobuild

1 file changed

+13
-0
lines changed

app-utils/git-branchless/autobuild/defines

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,16 @@ BUILDDEP="rustc llvm"
66

77
USECLANG=1
88
ABSPLITDBG=0
9+
10+
# FIXME: Too many dependencies on old versions of nix...
11+
# ... which has no LoongArch support until 0.27.0
12+
# https://github.com/nix-rust/nix/pull/2045
13+
#
14+
# FIXME: on mips64el-like architectures, both CFLAGS and CXXFLAGS contain -fPIC, but...
15+
# error: linking with `clang` failed: exit status: 1
16+
# |
17+
# = note: ld.lld: error: relocation R_MIPS_64 cannot be used against symbol 'DW.ref.rust_eh_personality'; recompile with -fPIC
18+
# >>> defined in /usr/lib64/rustlib/mips64el-unknown-linux-gnuabi64/lib/libstd-6dcaeb4e3195ef4c.rlib(std-6dcaeb4e3195ef4c.std.fc0db18c60d19c82-cgu.0.rcgu.o)
19+
# >>> referenced by std.fc0db18c60d19c82-cgu.0
20+
# >>> std-6dcaeb4e3195ef4c.std.fc0db18c60d19c82-cgu.0.rcgu.o:(.eh_frame+0x37B3) in archive /usr/lib64/rustlib/mips64el-unknown-linux-gnuabi64/lib/libstd-6dcaeb4e3195ef4c.rlib
21+
FAIL_ARCH="(loongarch64|loongson3|mips64r6el)"

0 commit comments

Comments
 (0)