| author | |
| committer | |
| log | 47cc233f220bcfb7b7183692861651423d965117 |
| tree | fed07470df8129a7f303227e80e5d485d5e459e3 |
| parent | 9dd27162296e71eeff61bbf74a25a05ff838423d |
Fixes some test failure:
test
+- test-standalone
+- standalone_test_cases
+- standalone_test_cases.glibc_compat
+- CheckObject
+- compile exe native-linux-gnu.2.38 Debug native-linux-gnu.2.38 64 errors
test/standalone/glibc_compat/glibc_runtime_check.zig:11:18: error: C import failed
const c_malloc = @cImport(
^~~~~~~~
referenced by:
checkReallocarray: test/standalone/glibc_compat/glibc_runtime_check.zig:46:27
main: test/standalone/glibc_compat/glibc_runtime_check.zig:112:26
4 reference(s) hidden; use '-freference-trace=6' to see all references
error: translation failure
build/stage3/lib/zig/libc/include/riscv-linux-gnu/bits/wordsize.h:22:3: error: unsupported ABI1 files changed, 3 insertions(+), 0 deletions(-)
lib/compiler/aro/aro/Compilation.zig+3| ... | ... | @@ -838,6 +838,9 @@ fn generateSystemDefines(comp: *Compilation, w: *Io.Writer) !void { |
| 838 | 838 | try define(w, "__VX__"); |
| 839 | 839 | } |
| 840 | 840 | }, |
| 841 | .riscv32, .riscv32be, .riscv64, .riscv64be => { | |
| 842 | try w.print("#define __riscv_xlen {d}\n", .{ptr_width}); | |
| 843 | }, | |
| 841 | 844 | else => {}, |
| 842 | 845 | } |
| 843 | 846 |