Guest User

Untitled

a guest
Jun 30th, 2021
62
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ubuntu@ip-172-31-17-232:~/cheribuild$ ./cheribuild.py pkg-morello-purecap
  2. Checking /home/ubuntu/.config/cheribuild.json since /home/ubuntu/cheribuild/cheribuild.json doesn't exist
  3. Note: Configuration file /home/ubuntu/.config/cheribuild.json does not exist, using only command line arguments.
  4. Sources will be stored in /home/ubuntu/cheri
  5. Build artifacts will be stored in /home/ubuntu/cheri/output
  6. cd /home/ubuntu/cheribuild && git fetch
  7. remote: Enumerating objects: 11, done.
  8. remote: Counting objects: 100% (11/11), done.
  9. remote: Compressing objects: 100% (5/5), done.
  10. remote: Total 6 (delta 5), reused 1 (delta 1), pack-reused 0
  11. Unpacking objects: 100% (6/6), done.
  12. From https://github.com/CTSRD-CHERI/cheribuild
  13. 55bbc61a..cbf9cc08 master -> origin/master
  14. Current cheribuild checkout can be updated: Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  15. Would you like to update before continuing? y/[n] (Enter to skip) y
  16. /usr/bin/git --version
  17. cd /home/ubuntu/cheribuild && git pull --rebase --autostash
  18. First, rewinding head to replay your work on top of it...
  19. Fast-forwarded master to cbf9cc08cc2e2486afac6118ec246abf6cdffa1f.
  20. Checking /home/ubuntu/.config/cheribuild.json since /home/ubuntu/cheribuild/cheribuild.json doesn't exist
  21. Note: Configuration file /home/ubuntu/.config/cheribuild.json does not exist, using only command line arguments.
  22. Sources will be stored in /home/ubuntu/cheri
  23. Build artifacts will be stored in /home/ubuntu/cheri/output
  24. cd /home/ubuntu/cheribuild && git fetch
  25. Will execute the following targets:
  26. pkg-morello-purecap
  27. Could not find `gmake` command, assuming `make` is GNU make
  28. cd / && git clone --depth 1 --no-single-branch --recurse-submodules https://github.com/freebsd/pkg.git /home/ubuntu/cheri/pkg
  29. Cloning into '/home/ubuntu/cheri/pkg'...
  30. remote: Enumerating objects: 8472, done.
  31. remote: Counting objects: 100% (8472/8472), done.
  32. remote: Compressing objects: 100% (4345/4345), done.
  33. remote: Total 8472 (delta 6212), reused 5881 (delta 4025), pack-reused 0
  34. Receiving objects: 100% (8472/8472), 10.63 MiB | 6.79 MiB/s, done.
  35. Resolving deltas: 100% (6212/6212), done.
  36. cd /home/ubuntu/cheri/pkg && git fetch
  37. Skipping update: Current HEAD is up-to-date or ahead of upstream.
  38. Warning: pkg-morello-purecap does not support out-of-source builds, using git clean to remove build artifacts.
  39. cd /home/ubuntu/cheri/pkg && git clean -dfx '--exclude=.*'
  40. Configuring pkg-morello-purecap (-morello-purecap) ...
  41. Cross configure environment: {'CC': '/home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap '
  42. '-B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls',
  43. 'CFLAGS': '-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin '
  44. '-march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration '
  45. '-Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse '
  46. '-Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal',
  47. 'CPP': '/home/ubuntu/cheri/output/morello-sdk/bin/clang-cpp -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap '
  48. '-B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument '
  49. '-Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types '
  50. '-Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal',
  51. 'CXX': '/home/ubuntu/cheri/output/morello-sdk/bin/clang++ -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap '
  52. '-B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls',
  53. 'CXXFLAGS': '-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin '
  54. '-march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration '
  55. '-Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse '
  56. '-Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal',
  57. 'LD': '/home/ubuntu/cheri/output/morello-sdk/bin/ld.lld',
  58. 'LDFLAGS': '-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin '
  59. '-march=morello+c64 -mabi=purecap -femulated-tls -fuse-ld=/home/ubuntu/cheri/output/morello-sdk/bin/ld.lld',
  60. 'PKG_CONFIG_LIBDIR': '/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/libdata/pkgconfig',
  61. 'PKG_CONFIG_PATH': '/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/libdata/pkgconfig',
  62. 'PKG_CONFIG_SYSROOT_DIR': PosixPath('/home/ubuntu/cheri/output/rootfs-morello-purecap')}
  63. cd /home/ubuntu/cheri/pkg && env PKG_CONFIG_PATH=/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/libdata/pkgconfig PKG_CONFIG_LIBDIR=/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/libdata/pkgconfig PKG_CONFIG_SYSROOT_DIR=/home/ubuntu/cheri/output/rootfs-morello-purecap 'CC=/home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls' 'CXX=/home/ubuntu/cheri/output/morello-sdk/bin/clang++ -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls' 'CFLAGS=-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal' 'CXXFLAGS=-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal' 'LDFLAGS=-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -fuse-ld=/home/ubuntu/cheri/output/morello-sdk/bin/ld.lld' 'CPP=/home/ubuntu/cheri/output/morello-sdk/bin/clang-cpp -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal' LD=/home/ubuntu/cheri/output/morello-sdk/bin/ld.lld /home/ubuntu/cheri/pkg/configure --host=aarch64-unknown-freebsd13 --build=x86_64-pc-linux-gnu --libdir=/usr/local/lib 'CC=/home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls' 'CXX=/home/ubuntu/cheri/output/morello-sdk/bin/clang++ -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls' 'CFLAGS=-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal' 'CXXFLAGS=-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal' 'LDFLAGS=-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -fuse-ld=/home/ubuntu/cheri/output/morello-sdk/bin/ld.lld' 'CPP=/home/ubuntu/cheri/output/morello-sdk/bin/clang-cpp -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal' LD=/home/ubuntu/cheri/output/morello-sdk/bin/ld.lld --prefix=/usr/local
  64. No installed jimsh or tclsh, building local bootstrap jimsh0
  65. Host System...aarch64-unknown-freebsd13
  66. Build System...x86_64-pc-linux-gnu
  67. C compiler... /home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal
  68. C++ compiler... /home/ubuntu/cheri/output/morello-sdk/bin/clang++ -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal
  69. Build C compiler...cc
  70. Checking for stdlib.h...ok
  71. Warning: Failed to find aarch64-unknown-freebsd13-ar, falling back to ar which may be incorrect
  72. Warning: Failed to find aarch64-unknown-freebsd13-ranlib, falling back to ranlib which may be incorrect
  73. Warning: Failed to find aarch64-unknown-freebsd13-strip, falling back to strip which may be incorrect
  74. Checking for git...ok
  75. Checking for archive_read_open...ok
  76. Checking for zlibVersion...ok
  77. Checking for BZ2_bzReadOpen...ok
  78. Checking for lzma_version_string...ok
  79. Checking for SHA256_Data...ok
  80. Checking for archive_write_add_filter_zstd...ok
  81. Checking for ZSTD_versionNumber...ok
  82. Checking for atomic builtins... ok
  83. Checking for /proc/self/fd support... ok
  84. Checking for memmove...ok
  85. Checking for usleep...ok
  86. Checking for pread...ok
  87. Checking for pwrite...ok
  88. Checking for F_CLOSEM...not found
  89. Checking for SOCK_SEQPACKET...ok
  90. Checking for struct sockaddr_in.sin_len...ok
  91. Checking for struct stat.st_mtim...ok
  92. Checking for struct stat.st_flags...ok
  93. Checking for gmtime_r...ok
  94. Checking for isnan...ok
  95. Checking for localtime_r...ok
  96. Checking for strchrnul...ok
  97. Checking for strerror_r...ok
  98. Checking for fdatasync...ok
  99. Checking for fchown...ok
  100. Checking for lstat...ok
  101. Checking for readlink...ok
  102. Checking for stdint.h...ok
  103. Checking for inttypes.h...ok
  104. Checking for arc4random...ok
  105. Checking for arc4random_stir...not found
  106. Checking for basename_r...not found
  107. Checking for chflagsat...ok
  108. Checking for closefrom...ok
  109. Checking for dirfd...ok
  110. Checking for eaccess...ok
  111. Checking for fopencookie...ok
  112. Checking for fstatfs...ok
  113. Checking for funopen...ok
  114. Checking for getprogname...ok
  115. Checking for strnstr...ok
  116. Checking for strtofflags...ok
  117. Checking for strtonum...ok
  118. Checking for sysconf...ok
  119. Checking for utimensat...ok
  120. Checking for __res_setservers...ok
  121. Checking for unlinkat...ok
  122. Checking for faccessat...ok
  123. Checking for fstatat...ok
  124. Checking for openat...ok
  125. Checking for readlinkat...ok
  126. Checking for fflagstostr...ok
  127. Checking for reallocarray...ok
  128. Checking for strchrnul...(cached) ok
  129. Checking for humanize_number...ok
  130. Checking for fts_open...ok
  131. Checking for humanize_number...ok
  132. Checking for dlclose...ok
  133. Checking for __res_query...ok
  134. Checking for link.h...ok
  135. Checking for machine/endian.h...ok
  136. Checking for osreldate.h...ok
  137. Checking for readpassphrase.h...ok
  138. Checking for sys/procctl.h...ok
  139. Checking for sys/statfs.h...not found
  140. Checking for sys/statvfs.h...ok
  141. Checking for libutil.h...(cached) ok
  142. Checking for dirent.h...ok
  143. Checking for endian.h...not found
  144. Checking for sys/endian.h...ok
  145. Checking for be16dec...ok
  146. Checking for be16enc...ok
  147. Checking for be32dec...ok
  148. Checking for be32enc...ok
  149. Checking for be64dec...ok
  150. Checking for be64enc...ok
  151. Checking for le16dec...ok
  152. Checking for le16enc...ok
  153. Checking for le32dec...ok
  154. Checking for le32enc...ok
  155. Checking for le64dec...ok
  156. Checking for le64enc...ok
  157. Checking for elf-hints.h...ok
  158. Checking for sys/elf_common.h...ok
  159. Checking for gelf.h...ok
  160. Checking for libelf.h...ok
  161. Checking for gelf_getehdr...ok
  162. Checking for Elf_Note...not found
  163. Checking for jail_getid...ok
  164. Checking for bsd/err.h...not found
  165. Checking for bsd/libutil.h...not found
  166. Checking for bsd/readpassphrase.h...not found
  167. Checking for bsd/stdio.h...not found
  168. Checking for bsd/stdlib.h...not found
  169. Checking for bsd/strlib.h...not found
  170. Checking for bsd/string.h...not found
  171. Checking for bsd/sys/cdefs.h...not found
  172. Checking for bsd/unistd.h...not found
  173. Checking for cap_sandboxed...ok
  174. Checking for sys/capsicum.h...ok
  175. Checking for pkg-config...0.29.1
  176. pkg-config: Cross compiling, but no compiler sysroot and no --sysroot supplied
  177. Created pkg_config.h
  178. Created external/sqlite/config.h
  179. Created mk/defs.mk from mk/defs.mk.in
  180. Created libpkg/pkg.h from libpkg/pkg.h.in
  181. Created libpkg/pkg.pc from libpkg/pkg.pc.in
  182. Created tests/frontend/test_environment.sh from tests/frontend/test_environment.sh.in
  183. Created Makefile from Makefile.autosetup
  184. Created external/blake2/Makefile from external/blake2/Makefile.autosetup
  185. Created external/picosat/Makefile from external/picosat/Makefile.autosetup
  186. Created external/linenoise/Makefile from external/linenoise/Makefile.autosetup
  187. Created external/libfetch/Makefile from external/libfetch/Makefile.autosetup
  188. Created external/sqlite/Makefile from external/sqlite/Makefile.autosetup
  189. Created external/Makefile from external/Makefile.autosetup
  190. Created compat/Makefile from compat/Makefile.autosetup
  191. Created libpkg/Makefile from libpkg/Makefile.autosetup
  192. Created libpkg/repo/Makefile from libpkg/repo/Makefile.autosetup
  193. Created libpkg/repo/binary/Makefile from libpkg/repo/binary/Makefile.autosetup
  194. Created src/Makefile from src/Makefile.autosetup
  195. Created external/libucl/Makefile from external/libucl/Makefile.autosetup
  196. Created external/libelf/Makefile from external/libelf/Makefile.autosetup
  197. Created external/libmachista/Makefile from external/libmachista/Makefile.autosetup
  198. Created tests/Makefile from tests/Makefile.autosetup
  199. Created docs/Makefile from docs/Makefile.autosetup
  200. Created external/liblua/Makefile from external/liblua/Makefile.autosetup
  201. Created external/msgpuck/Makefile from external/msgpuck/Makefile.autosetup
  202. Created external/yxml/Makefile from external/yxml/Makefile.autosetup
  203. Created scripts/Makefile from scripts/Makefile.autosetup
  204. Building pkg-morello-purecap (-morello-purecap) ...
  205. Could not find `gmake` command, assuming `make` is GNU make
  206. cd /home/ubuntu/cheri/pkg && env PKG_CONFIG_PATH=/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/libdata/pkgconfig PKG_CONFIG_LIBDIR=/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/libcheri/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/lib/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/share/pkgconfig:/home/ubuntu/cheri/output/rootfs-morello-purecap/usr/local/morello-purecap/libdata/pkgconfig PKG_CONFIG_SYSROOT_DIR=/home/ubuntu/cheri/output/rootfs-morello-purecap 'CPPFLAGS=-Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal -Wno-unused-command-line-argument' 'LDFLAGS=-target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -fuse-ld=/home/ubuntu/cheri/output/morello-sdk/bin/ld.lld' nice make all
  207. make[1]: Entering directory '/home/ubuntu/cheri/pkg/external'
  208. make[2]: Entering directory '/home/ubuntu/cheri/pkg/external/blake2'
  209. /home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wall -Wextra -std=gnu99 -D_GNU_SOURCE=1 -MT blake2b-ref.o -MD -MP -MF blake2b-ref.Tpo -o blake2b-ref.o -c -O2 -pipe -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=return-type -I/home/ubuntu/cheri/pkg/compat -O3 blake2b-ref.c
  210. mv blake2b-ref.Tpo blake2b-ref.Po
  211. /home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wall -Wextra -std=gnu99 -D_GNU_SOURCE=1 -MT blake2s-ref.o -MD -MP -MF blake2s-ref.Tpo -o blake2s-ref.o -c -O2 -pipe -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=return-type -I/home/ubuntu/cheri/pkg/compat -O3 blake2s-ref.c
  212. mv blake2s-ref.Tpo blake2s-ref.Po
  213. ar cr libblake2.a blake2b-ref.o blake2s-ref.o
  214. ranlib libblake2.a
  215. /home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wall -Wextra -std=gnu99 -D_GNU_SOURCE=1 -MT blake2b-ref.pico -MD -MP -MF blake2b-ref.Tpico -o blake2b-ref.pico -c -O2 -pipe -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=return-type -I/home/ubuntu/cheri/pkg/compat -O3 -fPIC blake2b-ref.c
  216. mv blake2b-ref.Tpico blake2b-ref.Ppico
  217. /home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wall -Wextra -std=gnu99 -D_GNU_SOURCE=1 -MT blake2s-ref.pico -MD -MP -MF blake2s-ref.Tpico -o blake2s-ref.pico -c -O2 -pipe -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=return-type -I/home/ubuntu/cheri/pkg/compat -O3 -fPIC blake2s-ref.c
  218. mv blake2s-ref.Tpico blake2s-ref.Ppico
  219. ar cr libblake2_pic.a blake2b-ref.pico blake2s-ref.pico
  220. ranlib libblake2_pic.a
  221. make[2]: Leaving directory '/home/ubuntu/cheri/pkg/external/blake2'
  222. make[2]: Entering directory '/home/ubuntu/cheri/pkg/external/picosat'
  223. /home/ubuntu/cheri/output/morello-sdk/bin/clang -target aarch64-unknown-freebsd13 --sysroot=/home/ubuntu/cheri/output/rootfs-morello-purecap -B/home/ubuntu/cheri/output/morello-sdk/bin -march=morello+c64 -mabi=purecap -femulated-tls -Wall -Wextra -std=gnu99 -D_GNU_SOURCE=1 -MT picosat.o -MD -MP -MF picosat.Tpo -o picosat.o -c -O2 -pipe -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=implicit-function-declaration -Werror=format -Werror=incompatible-pointer-types -Werror=cheri-capability-misuse -Werror=cheri-bitwise-operations -Werror=cheri-prototypes -Werror=pass-failed -Werror=undefined-internal -Wno-unused-command-line-argument -Werror=implicit-function-declaration -Werror=return-type -Wno-strict-aliasing -Wno-unused -DNGETRUSAGE picosat.c
  224. picosat.c:1872:9: error: cast from provenance-free integer type to pointer type will give pointer that can not be dereferenced [-Werror,-Wcheri-capability-misuse]
  225. res = LIT2REASON (NOTLIT (other));
  226. ^
  227. picosat.c:148:28: note: expanded from macro 'LIT2REASON'
  228. (assert (L->val==TRUE), ((Cls*)(1 + (2*(L - ps->lits)))))
  229. ^
  230. picosat.c:2555:13: error: cast from provenance-free integer type to pointer type will give pointer that can not be dereferenced [-Werror,-Wcheri-capability-misuse]
  231. reason = LIT2REASON (NOTLIT (other));
  232. ^
  233. picosat.c:148:28: note: expanded from macro 'LIT2REASON'
  234. (assert (L->val==TRUE), ((Cls*)(1 + (2*(L - ps->lits)))))
  235. ^
  236. picosat.c:3930:30: error: cast from provenance-free integer type to pointer type will give pointer that can not be dereferenced [-Werror,-Wcheri-capability-misuse]
  237. assign_forced (ps, other, LIT2REASON (NOTLIT(this)));
  238. ^
  239. picosat.c:148:28: note: expanded from macro 'LIT2REASON'
  240. (assert (L->val==TRUE), ((Cls*)(1 + (2*(L - ps->lits)))))
  241. ^
  242. picosat.c:4532:15: error: cast from provenance-free integer type to pointer type will give pointer that can not be dereferenced [-Werror,-Wcheri-capability-misuse]
  243. reason = LIT2REASON (NOTLIT (p[p == c->lits ? 1 : -1]));
  244. ^
  245. picosat.c:148:28: note: expanded from macro 'LIT2REASON'
  246. (assert (L->val==TRUE), ((Cls*)(1 + (2*(L - ps->lits)))))
  247. ^
  248. 4 errors generated.
  249. /home/ubuntu/cheri/pkg/mk/common.mk:14: recipe for target 'picosat.o' failed
  250. make[2]: *** [picosat.o] Error 1
  251. make[2]: Leaving directory '/home/ubuntu/cheri/pkg/external/picosat'
  252. /home/ubuntu/cheri/pkg/mk/dir.mk:2: recipe for target 'all' failed
  253. make[1]: *** [all] Error 2
  254. make[1]: Leaving directory '/home/ubuntu/cheri/pkg/external'
  255. /home/ubuntu/cheri/pkg/mk/dir.mk:2: recipe for target 'all' failed
  256. make: *** [all] Error 2
  257. Warning: 'nice make all' FD flags for <stdin> changed from 0x2 to 0x402 - resetting them.
  258. Fatal error: Command `nice make all` failed with non-zero exit code 2
RAW Paste Data