~sircmpwn/#1389162

failed

3f9b797Bor Grošelj Simić

rt: simplify & modernize

Owner
~sircmpwn
Created
2 months ago
Updated
2 months ago
Build manifest
view manifest »

Tasks

view log »
qbe view log »
build view log »
tests view log »
go to bottom »
go to top »
setup
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
[#1389162] 2024/12/13 12:46:47 Booting image openbsd/latest (default) on port 22325
[#1389162] 2024/12/13 12:46:48 Waiting for guest to settle
[#1389162] 2024/12/13 12:47:08 Sending tasks
[#1389162] 2024/12/13 12:47:10 Sending build environment
[#1389162] 2024/12/13 12:47:10 Installing packages
Warning: Permanently added '[localhost]:22325' (ED25519) to the list of known hosts.
quirks-7.50 signed on 2024-12-11T21:55:07Z
[#1389162] 2024/12/13 12:47:11 Cloning repositories
Cloning into 'harec'...
+ cd harec
+ git checkout -q 3f9b7975deaa63d1847def3c54212652753c99f3
+ cd harec
+ git submodule update --init --recursive
Cloning into 'qbe'...
+ cd qbe
+ git submodule update --init --recursive
[#1389162] 2024/12/13 12:47:14 Running task qbe
[#1389162] 2024/12/13 12:47:16 Running task build
[#1389162] 2024/12/13 12:47:17 Running task tests
[#1389162] 2024/12/13 12:47:18 Build failed.
[#1389162] 2024/12/13 12:47:18 The build environment will be kept alive for 10 minutes.
[#1389162] 2024/12/13 12:47:18 To log in with SSH and examine it, use the following command:
[#1389162] 2024/12/13 12:47:18 
[#1389162] 2024/12/13 12:47:18 	ssh -t builds@fra02.builds.sr.ht connect 1389162
[#1389162] 2024/12/13 12:47:18 
[#1389162] 2024/12/13 12:47:18 After logging in, the deadline is increased to your remaining build time.
[#1389162] 2024/12/13 12:57:18 Deadline elapsed. Terminating build environment.
[#1389162] 2024/12/13 12:57:18 Error: Running task on guest: exit status 2
qbe
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
82
83
84
85
86
87
88
+ 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
util.c:93:8: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
freeall()
       ^
        void
1 warning generated.
cc -std=c99 -g -Wall -Wextra -Wpedantic -c parse.c -o parse.o
parse.c:182:8: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
lexinit()
       ^
        void
parse.c:204:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
getint()
      ^
       void
parse.c:225:4: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
lex()
   ^
    void
parse.c:335:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
peek()
    ^
     void
parse.c:343:5: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
next()
    ^
     void
parse.c:353:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
nextnl()
      ^
       void
parse.c:418:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
parseref()
        ^
         void
parse.c:583:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
closeblk()
        ^
         void
parse.c:1015:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
parsetyp()
        ^
         void
9 warnings generated.
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
cfg.c:4:7: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
newblk()
      ^
       void
1 warning generated.
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
rega.c:250:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
pmgen()
     ^
      void
1 warning generated.
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
ld: warning: emit.c:236 (rv64/emit.c:236)(rv64/emit.o:(loadaddr)): warning: sprintf() is often misused, please use snprintf()
ld: warning: util.c:191(util.o:(intern)): warning: strcpy() is almost always misused, please use strlcpy()
+ doas make install PREFIX=/usr
mkdir -p "/usr/bin"
install -m755 qbe "/usr/bin/qbe"
build
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
+ cd harec
+ cp configs/openbsd.mk config.mk
+ make -j2
CC	src/types.o
CC	src/utf8.o
CC	src/typedef.o
CC	src/type_store.o
CC	src/scope.o
CC	src/qtype.o
CC	src/qinstr.o
CC	src/qbe.o
CC	src/parse.o
CC	src/mod.o
CC	src/main.o
CC	src/lex.o
CC	src/identifier.o
CC	src/genutil.o
CC	src/gen.o
CC	src/expr.o
CC	src/eval.o
CC	src/emit.o
CC	src/check.o
CC	src/util.o
CCLD	.bin/harec
tests
1
2
3
4
5
6
7
8
9
+ cd harec
+ make check
HAREC	.cache/rt.ssa
rt/abort.ha:1:37: error: Result value int is not assignable to function result type size

1 |	fn write_stderr(s: str) size = write(2, *(&s: **opaque), len(s));
  |	                                    ^

*** Error 4 in /home/build/harec (makefiles/tests.mk:27 '.cache/rt.ssa': @env HARE_TD_rt=.cache/rt.td HARE_TD_testmod=.cache/testmod.td .bin...)
Build complete: failed 2 months ago (took 30 seconds)