util: Fix error caret for line without trailing newline
view log » | |
qbe | view log » |
prepare | view log » |
build | view log » |
tests | view log » |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 |
[#1063383] 2023/09/26 01:33:31 Booting image freebsd/latest (default) on port 22790 [#1063383] 2023/09/26 01:33:32 Waiting for guest to settle [#1063383] 2023/09/26 01:33:54 Sending tasks [#1063383] 2023/09/26 01:33:57 Sending build environment [#1063383] 2023/09/26 01:33:58 Installing packages Warning: Permanently added '[localhost]:22790' (ED25519) to the list of known hosts. Updating FreeBSD repository catalogue... Fetching packagesite.pkg: .......... done Processing entries: .......... done FreeBSD repository update completed. 34126 packages processed. All repositories are up to date. Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking for upgrades (3 candidates): ... done Processing candidates (3 candidates): ... done The following 2 package(s) will be affected (of 0 checked): Installed packages to be UPGRADED: curl: 8.2.1 -> 8.3.0 libnghttp2: 1.55.1_1 -> 1.56.0 Number of packages to be upgraded: 2 2 MiB to be downloaded. [1/2] Fetching libnghttp2-1.56.0.pkg: .......... done [2/2] Fetching curl-8.3.0.pkg: .......... done Checking integrity... done (0 conflicting) [1/2] Upgrading libnghttp2 from 1.55.1_1 to 1.56.0... [1/2] Extracting libnghttp2-1.56.0: .......... done [2/2] Upgrading curl from 8.2.1 to 8.3.0... [2/2] Extracting curl-8.3.0: .......... done Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. The following 3 package(s) will be affected (of 0 checked): New packages to be INSTALLED: binutils: 2.40_4,1 liblz4: 1.9.4,1 zstd: 1.5.5 Number of packages to be installed: 3 The process will require 129 MiB more space. 12 MiB to be downloaded. [1/3] Fetching liblz4-1.9.4,1.pkg: .......... done [2/3] Fetching zstd-1.5.5.pkg: .......... done [3/3] Fetching binutils-2.40_4,1.pkg: .......... done Checking integrity... done (0 conflicting) [1/3] Installing liblz4-1.9.4,1... [1/3] Extracting liblz4-1.9.4,1: .......... done [2/3] Installing zstd-1.5.5... [2/3] Extracting zstd-1.5.5: .......... done [3/3] Installing binutils-2.40_4,1... [3/3] Extracting binutils-2.40_4,1: .......... done [#1063383] 2023/09/26 01:34:14 Cloning repositories Cloning into 'harec'... + cd harec + git checkout -q 57ef4da54105cf8fba4c5ade09c9aa0bde171ab7 + cd harec + git submodule update --init --recursive Cloning into 'qbe'... + cd qbe + git submodule update --init --recursive [#1063383] 2023/09/26 01:34:19 Running task qbe [#1063383] 2023/09/26 01:34:22 Running task prepare [#1063383] 2023/09/26 01:34:24 Running task build [#1063383] 2023/09/26 01:34:26 Running task tests |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
+ cd qbe + make PREFIX=/usr cc -std=c99 -g -Wall -Wextra -Wpedantic -c main.c -o main.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c util.c -o util.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c parse.c -o parse.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c abi.c -o abi.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c cfg.c -o cfg.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c mem.c -o mem.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c ssa.c -o ssa.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c alias.c -o alias.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c load.c -o load.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c copy.c -o copy.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c fold.c -o fold.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c simpl.c -o simpl.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c live.c -o live.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c spill.c -o spill.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c rega.c -o rega.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c emit.c -o emit.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/targ.c -o amd64/targ.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/sysv.c -o amd64/sysv.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/isel.c -o amd64/isel.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c amd64/emit.c -o amd64/emit.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/targ.c -o arm64/targ.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/abi.c -o arm64/abi.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/isel.c -o arm64/isel.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c arm64/emit.c -o arm64/emit.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/targ.c -o rv64/targ.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/abi.c -o rv64/abi.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/isel.c -o rv64/isel.o cc -std=c99 -g -Wall -Wextra -Wpedantic -c rv64/emit.c -o rv64/emit.o cc main.o util.o parse.o abi.o cfg.o mem.o ssa.o alias.o load.o copy.o fold.o simpl.o live.o spill.o rega.o emit.o amd64/targ.o amd64/sysv.o amd64/isel.o amd64/emit.o arm64/targ.o arm64/abi.o arm64/isel.o arm64/emit.o rv64/targ.o rv64/abi.o rv64/isel.o rv64/emit.o -o qbe + sudo make install PREFIX=/usr mkdir -p "/usr/bin" install -m755 qbe "/usr/bin/qbe" |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
+ mkdir harec/build + cd harec/build + ../configure Checking for -g... yes Checking for -std=c11... yes Checking for -D_XOPEN_SOURCE=700... yes Checking for -Wall... yes Checking for -Wextra... yes Checking for -Werror... yes Checking for -pedantic... yes Checking for -Wno-unused-parameter... yes Detecting machine architecture... x86_64 Checking for qbe... yes Creating .build/config.mk... done Populating build dir... done |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
+ cd harec/build + make -j2 --- src/check.o --- --- src/emit.o --- --- src/check.o --- CC src/check.o --- src/emit.o --- CC src/emit.o --- src/eval.o --- CC src/eval.o --- src/gen.o --- CC src/gen.o --- src/genutil.o --- CC src/genutil.o --- src/identifier.o --- CC src/identifier.o --- src/lex.o --- CC src/lex.o --- src/main.o --- CC src/main.o --- src/mod.o --- CC src/mod.o --- src/parse.o --- CC src/parse.o --- src/qbe.o --- CC src/qbe.o --- src/qinstr.o --- CC src/qinstr.o --- src/qtype.o --- CC src/qtype.o --- src/scope.o --- CC src/scope.o --- src/type_store.o --- CC src/type_store.o --- src/typedef.o --- CC src/typedef.o --- src/types.o --- CC src/types.o --- src/utf8.o --- CC src/utf8.o --- src/util.o --- CC src/util.o --- rt/+freebsd/syscall+x86_64.o --- AS rt/+freebsd/syscall+x86_64.o --- rt/+freebsd/start+x86_64.o --- AS rt/+freebsd/start+x86_64.o --- harec --- CCLD harec --- libhart.a --- HAREC libhart.a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 |
+ cd harec/build + make check HAREC testmod.a HAREC tests/00-constants HAREC tests/01-arrays HAREC tests/02-integers HAREC tests/03-pointers HAREC tests/04-strings HAREC tests/05-implicit-casts HAREC tests/06-structs HAREC tests/07-aliases HAREC tests/08-slices HAREC tests/09-funcs HAREC tests/10-binarithms HAREC tests/11-globals HAREC tests/12-loops HAREC tests/13-tagged HAREC tests/14-switch HAREC tests/15-enums HAREC tests/16-defer HAREC tests/17-alloc HAREC tests/18-match HAREC tests/19-append HAREC tests/20-if HAREC tests/21-tuples HAREC tests/22-delete HAREC tests/23-errors HAREC tests/24-imports HAREC tests/25-promotion HAREC tests/26-regression HAREC tests/27-rt HAREC tests/28-insert HAREC tests/29-unarithm HAREC tests/31-postfix HAREC tests/32-copy HAREC tests/33-yield HAREC tests/34-declarations HAREC tests/35-floats HAREC tests/36-defines CC tests/30-reduction Running harec test suite at Tue Sep 26 01:34:28 UTC 2023 00-constants ...PASS 01-arrays ...PASS 02-integers ...PASS 03-pointers ...PASS 04-strings ...PASS 05-implicit-casts ...PASS 06-structs ...PASS 07-aliases ...PASS 08-slices ...PASS 09-funcs ...PASS 10-binarithms ...PASS 11-globals ...PASS 12-loops ...PASS 13-tagged ...PASS 14-switch ...PASS 15-enums ...PASS 16-defer ...PASS 17-alloc ...PASS 18-match ...PASS 19-append ...PASS 20-if ...PASS 21-tuples ...PASS 22-delete ...PASS 23-errors ...PASS 24-imports ...PASS 25-promotion ...PASS 26-regression ...PASS 27-rt ...PASS 28-insert ...PASS 29-unarithm ...PASS 30-reduction ...PASS 31-postfix ...PASS 32-copy ...PASS 33-yield ...PASS 34-declarations ...PASS 35-floats ...PASS 36-defines ...PASS 37 tests: 37 passed 0 failed in 1 seconds |