[masterâ‹…0-0] tiberiusâ–¸ find . -name zig-cache | xargs rm -fr; gtime -v _build.assertx/zig build test All 32 tests passed. All 1000 tests passed. All 1000 tests passed. warning: created /Users/mike/project/zig/work/main/zig-cache/o/25ad20cfa50b2058450aadef0d06d899/test.wasm but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/4de5617d5eb161cc11341015ceab6633/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/87cac5b9c48b7c6b79ce887fbff53423/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/561367c0f78f7e13c0c059eab1153619/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/ca8250594ce1d640b5d7d1fe3c8e010e/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/835efefd54d4549b9b7c86ad8ad7823c/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/d97fa243817cf4260262ccd57f74498d/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/146365057f7e42b2171fecc0b5e3a246/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/a6dbcb4856b0c91c09ddb68358cd0c0d/test but skipping execution because it is non-native warning: created /Users/mike/project/zig/work/main/zig-cache/o/2ae21760cc48261c2327a3e10cf73c86/test but skipping execution because it is non-native Compile C Objects [776/1412] wctob.c... # After Peephole Optimizations # Machine code for function wctob: IsSSA, TracksLiveness Function Live Ins: $r0 in %0 bb.0.entry: successors: %bb.2(0x40000000), %bb.1(0x40000000); %bb.2(50.00%), %bb.1(50.00%) liveins: $r0 %0:gprnopc = COPY $r0 CMPri %0:gprnopc, 128, 14, $noreg, implicit-def $cpsr Bcc %bb.2, 3, $cpsr B %bb.1 bb.1.if.end: ; predecessors: %bb.0 INLINEASM &"mrc p15,0,$0,c13,c0,3" [attdialect], $0:[regdef:GPR], def %1:gpr, !5 %2:gpr = LDRi12 %1:gpr, -24, 14, $noreg :: (load 4 from %ir.locale, !tbaa !6) %3:gpr = BICri %0:gprnopc, 127, 14, $noreg, $noreg %4:gpr = LDRi12 killed %2:gpr, 0, 14, $noreg :: (load 4 from %ir.arrayidx12, !tbaa !14) %5:gpr = MOVi16 57216, 14, $noreg %6:gpr = EORrr killed %3:gpr, killed %5:gpr, 14, $noreg, $noreg %7:gpr = ORRrr killed %6:gpr, killed %4:gpr, 14, $noreg, def $cpsr %9:gpr = MVNi 0, 14, $noreg, $noreg %10:gpr = UXTB %0:gprnopc, 0, 0, $cpsr, implicit %9:gpr(tied-def 0) $r0 = COPY %10:gpr BX_RET 14, $noreg, implicit $r0 bb.2.return: ; predecessors: %bb.0 $r0 = COPY %0:gprnopc BX_RET 14, $noreg, implicit $r0 # End machine code for function wctob. *** Bad machine code: Illegal virtual register for instruction *** - function: wctob - basic block: %bb.1 if.end (0x7fbd8886fb40) - instruction: %10:gpr = UXTB %0:gprnopc, 0, 0, $cpsr, implicit %9:gpr(tied-def 0) - operand 0: %10:gpr Expected a GPRnopc register, but got a GPR register fatal error: error in backend: Found 1 machine code errors. PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script. Stack dump: 0. Program arguments: /Users/mike/project/zig/work/main/_build.assertx/zig clang -target arm-unknown-linux-musleabihf -nostdinc -fno-spell-checking -isystem /Users/mike/project/zig/work/main/lib/include -Xclang -target-cpu -Xclang generic -Xclang -target-feature -Xclang -32bit -Xclang -target-feature -Xclang -8msecext -Xclang -target-feature -Xclang -a76 -Xclang -target-feature -Xclang +aclass -Xclang -target-feature -Xclang +acquire-release -Xclang -target-feature -Xclang +aes -Xclang -target-feature -Xclang -avoid-movs-shop -Xclang -target-feature -Xclang -avoid-partial-cpsr -Xclang -target-feature -Xclang -bf16 -Xclang -target-feature -Xclang -cde -Xclang -target-feature -Xclang -cdecp0 -Xclang -target-feature -Xclang -cdecp1 -Xclang -target-feature -Xclang -cdecp2 -Xclang -target-feature -Xclang -cdecp3 -Xclang -target-feature -Xclang -cdecp4 -Xclang -target-feature -Xclang -cdecp5 -Xclang -target-feature -Xclang -cdecp6 -Xclang -target-feature -Xclang -cdecp7 -Xclang -target-feature -Xclang -cheap-predicable-cpsr -Xclang -target-feature -Xclang +crc -Xclang -target-feature -Xclang +crypto -Xclang -target-feature -Xclang +d32 -Xclang -target-feature -Xclang +db -Xclang -target-feature -Xclang -dfb -Xclang -target-feature -Xclang -disable-postra-scheduler -Xclang -target-feature -Xclang -dont-widen-vmovs -Xclang -target-feature -Xclang -dotprod -Xclang -target-feature -Xclang +dsp -Xclang -target-feature -Xclang -execute-only -Xclang -target-feature -Xclang -expand-fp-mlx -Xclang -target-feature -Xclang -exynos -Xclang -target-feature -Xclang +fp16 -Xclang -target-feature -Xclang -fp16fml -Xclang -target-feature -Xclang +fp64 -Xclang -target-feature -Xclang +fp-armv8 -Xclang -target-feature -Xclang +fp-armv8d16 -Xclang -target-feature -Xclang +fp-armv8d16sp -Xclang -target-feature -Xclang +fp-armv8sp -Xclang -target-feature -Xclang -fpao -Xclang -target-feature -Xclang +fpregs -Xclang -target-feature -Xclang -fpregs16 -Xclang -target-feature -Xclang +fpregs64 -Xclang -target-feature -Xclang -fullfp16 -Xclang -target-feature -Xclang -fuse-aes -Xclang -target-feature -Xclang -fuse-literals -Xclang -target-feature -Xclang +v4t -Xclang -target-feature -Xclang +v5t -Xclang -target-feature -Xclang +v5te -Xclang -target-feature -Xclang +v6 -Xclang -target-feature -Xclang +v6k -Xclang -target-feature -Xclang +v6m -Xclang -target-feature -Xclang +v6t2 -Xclang -target-feature -Xclang +v7 -Xclang -target-feature -Xclang +v7clrex -Xclang -target-feature -Xclang -v8.1a -Xclang -target-feature -Xclang -v8.1m.main -Xclang -target-feature -Xclang -v8.2a -Xclang -target-feature -Xclang -v8.3a -Xclang -target-feature -Xclang -v8.4a -Xclang -target-feature -Xclang -v8.5a -Xclang -target-feature -Xclang -v8.6a -Xclang -target-feature -Xclang +v8 -Xclang -target-feature -Xclang +v8m -Xclang -target-feature -Xclang -v8m.main -Xclang -target-feature -Xclang +hwdiv -Xclang -target-feature -Xclang +hwdiv-arm -Xclang -target-feature -Xclang -i8mm -Xclang -target-feature -Xclang -iwmmxt -Xclang -target-feature -Xclang -iwmmxt2 -Xclang -target-feature -Xclang -lob -Xclang -target-feature -Xclang -long-calls -Xclang -target-feature -Xclang -loop-align -Xclang -target-feature -Xclang -m3 -Xclang -target-feature -Xclang -mclass -Xclang -target-feature -Xclang +mp -Xclang -target-feature -Xclang -muxed-units -Xclang -target-feature -Xclang -mve -Xclang -target-feature -Xclang -mve.fp -Xclang -target-feature -Xclang -mve1beat -Xclang -target-feature -Xclang -mve2beat -Xclang -target-feature -Xclang -mve4beat -Xclang -target-feature -Xclang -nacl-trap -Xclang -target-feature -Xclang +neon -Xclang -target-feature -Xclang -neon-fpmovs -Xclang -target-feature -Xclang -neonfp -Xclang -target-feature -Xclang -no-branch-predictor -Xclang -target-feature -Xclang -no-movt -Xclang -target-feature -Xclang -no-neg-immediates -Xclang -target-feature -Xclang -noarm -Xclang -target-feature -Xclang -nonpipelined-vfp -Xclang -target-feature -Xclang +perfmon -Xclang -target-feature -Xclang -prefer-ishst -Xclang -target-feature -Xclang -prefer-vmovsr -Xclang -target-feature -Xclang -prof-unpr -Xclang -target-feature -Xclang -r4 -Xclang -target-feature -Xclang -ras -Xclang -target-feature -Xclang -rclass -Xclang -target-feature -Xclang -read-tp-hard -Xclang -target-feature -Xclang -reserve-r9 -Xclang -target-feature -Xclang -ret-addr-stack -Xclang -target-feature -Xclang -sb -Xclang -target-feature -Xclang +sha2 -Xclang -target-feature -Xclang -slow-fp-brcc -Xclang -target-feature -Xclang -slow-load-D-subreg -Xclang -target-feature -Xclang -slow-odd-reg -Xclang -target-feature -Xclang -slow-vdup32 -Xclang -target-feature -Xclang -slow-vgetlni32 -Xclang -target-feature -Xclang -slowfpvfmx -Xclang -target-feature -Xclang -slowfpvmlx -Xclang -target-feature -Xclang -soft-float -Xclang -target-feature -Xclang -splat-vfp-neon -Xclang -target-feature -Xclang -strict-align -Xclang -target-feature -Xclang -swift -Xclang -target-feature -Xclang +thumb2 -Xclang -target-feature -Xclang -thumb-mode -Xclang -target-feature -Xclang +trustzone -Xclang -target-feature -Xclang -use-misched -Xclang -target-feature -Xclang -armv2 -Xclang -target-feature -Xclang -armv2a -Xclang -target-feature -Xclang -armv3 -Xclang -target-feature -Xclang -armv3m -Xclang -target-feature -Xclang -armv4 -Xclang -target-feature -Xclang -armv4t -Xclang -target-feature -Xclang -armv5t -Xclang -target-feature -Xclang -armv5te -Xclang -target-feature -Xclang -armv5tej -Xclang -target-feature -Xclang -armv6 -Xclang -target-feature -Xclang -armv6j -Xclang -target-feature -Xclang -armv6k -Xclang -target-feature -Xclang -armv6kz -Xclang -target-feature -Xclang -armv6-m -Xclang -target-feature -Xclang -armv6s-m -Xclang -target-feature -Xclang -armv6t2 -Xclang -target-feature -Xclang -armv7-a -Xclang -target-feature -Xclang -armv7e-m -Xclang -target-feature -Xclang -armv7k -Xclang -target-feature -Xclang -armv7-m -Xclang -target-feature -Xclang -armv7-r -Xclang -target-feature -Xclang -armv7s -Xclang -target-feature -Xclang -armv7ve -Xclang -target-feature -Xclang +armv8-a -Xclang -target-feature -Xclang -armv8-m.base -Xclang -target-feature -Xclang -armv8-m.main -Xclang -target-feature -Xclang -armv8-r -Xclang -target-feature -Xclang -armv8.1-a -Xclang -target-feature -Xclang -armv8.1-m.main -Xclang -target-feature -Xclang -armv8.2-a -Xclang -target-feature -Xclang -armv8.3-a -Xclang -target-feature -Xclang -armv8.4-a -Xclang -target-feature -Xclang -armv8.5-a -Xclang -target-feature -Xclang -armv8.6-a -Xclang -target-feature -Xclang +vfp2 -Xclang -target-feature -Xclang +vfp2sp -Xclang -target-feature -Xclang +vfp3 -Xclang -target-feature -Xclang +vfp3d16 -Xclang -target-feature -Xclang +vfp3d16sp -Xclang -target-feature -Xclang +vfp3sp -Xclang -target-feature -Xclang +vfp4 -Xclang -target-feature -Xclang +vfp4d16 -Xclang -target-feature -Xclang +vfp4d16sp -Xclang -target-feature -Xclang +vfp4sp -Xclang -target-feature -Xclang +virtualization -Xclang -target-feature -Xclang -vldn-align -Xclang -target-feature -Xclang -vmlx-forwarding -Xclang -target-feature -Xclang -vmlx-hazards -Xclang -target-feature -Xclang -wide-stride-vfp -Xclang -target-feature -Xclang -xscale -Xclang -target-feature -Xclang -zcz -fomit-frame-pointer -DNDEBUG -O2 -fno-stack-protector -MD -MV -MF /Users/mike/.cache/zig/tmp/d8be5854eb245b3a-wctob.o.d -c -o /Users/mike/.cache/zig/tmp/d8be5854eb245b3a-wctob.o /Users/mike/project/zig/work/main/lib/libc/musl/src/multibyte/wctob.c -std=c99 -ffreestanding -Wa,--noexecstack -D_XOPEN_SOURCE=700 -I /Users/mike/project/zig/work/main/lib/libc/musl/arch/arm -I /Users/mike/project/zig/work/main/lib/libc/musl/arch/generic -I /Users/mike/project/zig/work/main/lib/libc/musl/src/include -I /Users/mike/project/zig/work/main/lib/libc/musl/src/internal -I /Users/mike/project/zig/work/main/lib/libc/musl/include -I /Users/mike/project/zig/work/main/lib/libc/include/arm-linux-musl -I /Users/mike/project/zig/work/main/lib/libc/include/generic-musl -Os -fomit-frame-pointer -fno-unwind-tables -fno-asynchronous-unwind-tables -ffunction-sections -fdata-sections -Qunused-arguments -w 1. parser at end of file 2. Code generation 3. Running pass 'Function Pass Manager' on module '/Users/mike/project/zig/work/main/lib/libc/musl/src/multibyte/wctob.c'. 4. Running pass 'Verify generated machine code' on function '@wctob' zig: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 11.0.1 (https://github.com/llvm/llvm-project.git 43ff75f2c3feef64f9d73328230d34dac8832a91) Target: arm-unknown-linux-musleabihf Thread model: posix InstalledDir: /usr/bin zig: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: zig: note: diagnostic msg: /var/folders/pv/rrs7y6q14q11zz5hg2sqxj0m0000gn/T/wctob-80f844.c zig: note: diagnostic msg: /var/folders/pv/rrs7y6q14q11zz5hg2sqxj0m0000gn/T/wctob-80f844.sh zig: note: diagnostic msg: Crash backtrace is located in zig: note: diagnostic msg: /Users/mike/Library/Logs/DiagnosticReports/zig__.crash zig: note: diagnostic msg: (choose the .crash file that corresponds to your crash) zig: note: diagnostic msg: ******************** The following command exited with error code 1: /Users/mike/project/zig/work/main/_build.assertx/zig test /Users/mike/project/zig/work/main/test/stage1/behavior.zig -lc --test-name-prefix behavior-arm-linux-musleabihf-Debug-c-multi --cache-dir /Users/mike/project/zig/work/main/zig-cache --global-cache-dir /Users/mike/.cache/zig --name test -target arm-linux-musleabihf -mcpu=generic+aclass+acquire_release+aes+crc+crypto+d32+db+dsp+fp16+fp64+fp_armv8+fp_armv8d16+fp_armv8d16sp+fp_armv8sp+fpregs+fpregs64+has_v4t+has_v5t+has_v5te+has_v6+has_v6k+has_v6m+has_v6t2+has_v7+has_v7clrex+has_v8+has_v8m+hwdiv+hwdiv_arm+mp+neon+perfmon+sha2+thumb2+trustzone+v8a+vfp2+vfp2sp+vfp3+vfp3d16+vfp3d16sp+vfp3sp+vfp4+vfp4d16+vfp4d16sp+vfp4sp+virtualization -I /Users/mike/project/zig/work/main/test --override-lib-dir /Users/mike/project/zig/work/main/lib error: the following build command failed with exit code 1: /Users/mike/project/zig/work/main/zig-cache/o/3cc399095de08c7aa3f3a348b3744e4c/build /Users/mike/project/zig/work/main/_build.assertx/zig /Users/mike/project/zig/work/main /Users/mike/project/zig/work/main/zig-cache /Users/mike/.cache/zig test Command exited with non-zero status 1 Command being timed: "_build.assertx/zig build test" User time (seconds): 630.77 System time (seconds): 83.62 Percent of CPU this job got: 159% Elapsed (wall clock) time (h:mm:ss or m:ss): 7:27.48 Average shared text size (kbytes): 0 Average unshared data size (kbytes): 0 Average stack size (kbytes): 0 Average total size (kbytes): 0 Maximum resident set size (kbytes): 6036896 Average resident set size (kbytes): 0 Major (requiring I/O) page faults: 8914 Minor (reclaiming a frame) page faults: 50600407 Voluntary context switches: 30832 Involuntary context switches: 840156 Swaps: 0 File system inputs: 0 File system outputs: 0 Socket messages sent: 0 Socket messages received: 0 Signals delivered: 0 Page size (bytes): 4096 Exit status: 1