openSuse has AArch64 support, with images running on the Raspberry Pi 3.
The libraries and headers live under the aarch64-suse-linux subdirectory,
which is currently not in the AArch64 triples list. Address this by adding
the corresponding string to AArch64Triples.
Details
Details
Diff Detail
Diff Detail
- Build Status
Buildable 2517 Build 2517: arc lint + arc unit
Event Timeline
test/Driver/linux-ld.c | ||
---|---|---|
623 ↗ | (On Diff #83376) | shouldn't you have used your triple? |
test/Driver/linux-ld.c | ||
---|---|---|
623 ↗ | (On Diff #83376) | The similar Fedora and Ubuntu tests appear to be using an unknown target as well, I based myself on that. |
test/Driver/linux-ld.c | ||
---|---|---|
623 ↗ | (On Diff #83376) | This is odd... Just be sure the test doesn't pass without your patch. |
test/Driver/linux-ld.c | ||
---|---|---|
623 ↗ | (On Diff #83376) | Confirming that without the patch the test fails, with the following (slightly sanitized) output: Command Output (stderr): -- [...]/llvm/tools/clang/test/Driver/linux-ld.c:633:33: error: expected string not found in input // CHECK-OPENSUSE-42-2-AARCH64: "{{.*}}/usr/lib64/gcc/aarch64-suse-linux/4.8/../../../../lib64{{/|\\\\}}crt1.o" ^ <stdin>:6:127: note: scanning from here "/usr/bin/ld" "--sysroot=[...]/llvm/tools/clang/test/Driver/Inputs/opensuse_42.2_aarch64_tree" " -z" "relro" "--hash-style=gnu" "--eh-frame-hdr" "-m" "aarch64linux" "-dynamic-linker" "/lib/ld-linux-aarch64.so.1" "-o" "[...]/llvm-build/clang/tools/clang/test/Driver/Output/linux-ld.c.tmp.o" "crt1.o" "crti.o" "crtbegin.o" "/tmp /lit_tmp_V096EA/linux-ld-7a7333.o" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no -as-needed" "crtend.o" "crtn.o" Tests pass with the patch. |