Perma [tier 2] /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: unknown type name 'w2c_rlbox'
Categories
(Firefox Build System :: General, defect, P5)
Tracking
(firefox-esr115 fixed, firefox118 fixed)
People
(Reporter: intermittent-bug-filer, Assigned: glandium)
References
Details
(Keywords: intermittent-failure)
Attachments
(2 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-esr115+
|
Details | Review |
Filed by: nfay [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=426151406&repo=mozilla-central
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/aa_4lBiAQ0idJY0ssB_z7A/runs/0/artifacts/public/logs/live_backing.log
[task 2023-08-16T03:03:24.433Z] 03:03:24 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/extensions/spellcheck/hunspell/glue'
[task 2023-08-16T03:03:24.434Z] 03:03:24 INFO - /builds/worker/fetches/clang/bin/clang++ --sysroot /builds/worker/fetches/sysroot-x86_64-linux-gnu -o Unified_cpp_hunspell_glue0.o -c -I/builds/worker/workspace/obj-build/dist/stl_wrappers -I/builds/worker/workspace/obj-build/dist/system_wrappers -include /builds/worker/checkouts/gecko/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstack-clash-protection -DNDEBUG=1 -DTRIMMED=1 -DHUNSPELL_STATIC -DMOZ_HAS_MOZGLUE -DMOZILLA_INTERNAL_API -DIMPL_LIBXUL -DSTATIC_EXPORTABLE_JS_API -I/builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue -I/builds/worker/workspace/obj-build/extensions/spellcheck/hunspell/glue -I/builds/worker/workspace/obj-build/security/rlbox -I/builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/src -I/builds/worker/checkouts/gecko/dom/base -I/builds/worker/checkouts/gecko/extensions/spellcheck/src -I/builds/worker/workspace/obj-build/ipc/ipdl/_ipdlheaders -I/builds/worker/checkouts/gecko/ipc/chromium/src -I/builds/worker/workspace/obj-build/dist/include -I/builds/worker/workspace/obj-build/dist/include/nspr -I/builds/worker/workspace/obj-build/dist/include/nss -DMOZILLA_CLIENT -include /builds/worker/workspace/obj-build/mozilla-config.h -fno-sized-deallocation -fno-aligned-new -fno-exceptions -fPIC -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pthread -pipe -gdwarf-4 -Xclang -load -Xclang /builds/worker/workspace/obj-build/build/clang-plugin/libclang-plugin.so -Xclang -add-plugin -Xclang moz-check -O2 -fno-omit-frame-pointer -funwind-tables -Werror -Wall -Wbitfield-enum-conversion -Wdeprecated-this-capture -Wempty-body -Wformat-type-confusion -Wignored-qualifiers -Wpointer-arith -Wshadow-field-in-constructor-modified -Wsign-compare -Wtautological-constant-in-range-compare -Wtype-limits -Wno-error=tautological-type-limit-compare -Wunreachable-code -Wunreachable-code-return -Wunused-but-set-parameter -Wno-invalid-offsetof -Wclass-varargs -Wempty-init-stmt -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wloop-analysis -Wno-range-loop-analysis -Wc++2a-compat -Wenum-compare-conditional -Wenum-float-conversion -Wno-error=deprecated -Wno-error=deprecated-anon-enum-enum-conversion -Wno-error=deprecated-enum-enum-conversion -Wno-error=deprecated-pragma -Wno-error=deprecated-this-capture -Wcomma -Wimplicit-fallthrough -Wstring-conversion -Wno-inline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=free-nonheap-object -Wno-error=atomic-alignment -Wno-error=deprecated-builtins -Wformat -Wformat-security -Wno-psabi -Wthread-safety -Wno-error=builtin-macro-redefined -Wno-unknown-warning-option -include hunspell_alloc_hooks.h -include hunspell_fopen_hooks.h -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/Unified_cpp_hunspell_glue0.o.pp Unified_cpp_hunspell_glue0.cpp
[task 2023-08-16T03:03:24.435Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.435Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.435Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.435Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: unknown type name 'w2c_rlbox'
[task 2023-08-16T03:03:24.435Z] 03:03:24 INFO - 103 | INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE(RLBOX_WASM2C_MODULE_NAME);
[task 2023-08-16T03:03:24.435Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:58:24: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - 58 | using instance_t = w2c_##modname; \
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - <scratch space>:130:1: note: expanded from here
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - 130 | w2c_rlbox
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.436Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: unknown type name 'instance_t'
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.436Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:60:40: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - 60 | using create_instance_t = void (*)(instance_t*, \
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.437Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'wasm2c_rlbox_instantiate'
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:64:8: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - 64 | &wasm2c_##modname##_instantiate; \
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - <scratch space>:132:1: note: expanded from here
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - 132 | wasm2c_rlbox_instantiate
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.437Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: unknown type name 'instance_t'
[task 2023-08-16T03:03:24.437Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:66:38: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - 66 | using free_instance_t = void (*)(instance_t*); \
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.438Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'wasm2c_rlbox_free'
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:67:55: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - 67 | static constexpr free_instance_t free_instance = &wasm2c_##modname##_free; \
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - <scratch space>:134:1: note: expanded from here
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - 134 | wasm2c_rlbox_free
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.438Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.439Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.439Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'wasm2c_rlbox_get_func_type'
[task 2023-08-16T03:03:24.440Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.440Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.440Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.441Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:71:8: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.441Z] 03:03:24 INFO - 71 | &wasm2c_##modname##_get_func_type; \
[task 2023-08-16T03:03:24.441Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.443Z] 03:03:24 INFO - <scratch space>:136:1: note: expanded from here
[task 2023-08-16T03:03:24.444Z] 03:03:24 INFO - 136 | wasm2c_rlbox_get_func_type
[task 2023-08-16T03:03:24.444Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.444Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.444Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.445Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.445Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'wasm2c_rlbox_min_env_memory'
[task 2023-08-16T03:03:24.445Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.446Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.446Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.446Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:74:8: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.447Z] 03:03:24 INFO - 74 | &wasm2c_##modname##_min_env_memory; \
[task 2023-08-16T03:03:24.447Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.447Z] 03:03:24 INFO - <scratch space>:138:1: note: expanded from here
[task 2023-08-16T03:03:24.447Z] 03:03:24 INFO - 138 | wasm2c_rlbox_min_env_memory
[task 2023-08-16T03:03:24.447Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.448Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.448Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.448Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.448Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'wasm2c_rlbox_is64_env_memory'
[task 2023-08-16T03:03:24.449Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.450Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.451Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.451Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:76:8: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.451Z] 03:03:24 INFO - 76 | &wasm2c_##modname##_is64_env_memory; \
[task 2023-08-16T03:03:24.452Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.452Z] 03:03:24 INFO - <scratch space>:140:1: note: expanded from here
[task 2023-08-16T03:03:24.452Z] 03:03:24 INFO - 140 | wasm2c_rlbox_is64_env_memory
[task 2023-08-16T03:03:24.452Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.453Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.453Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.453Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.461Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'wasm2c_rlbox_min_env_0x5F_indirect_function_table'; did you mean 'wasm2c_0x24rlbox0x2Ewasm_min_env_0x5F_indirect_function_table'?
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:78:8: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - 78 | &wasm2c_##modname##_min_env_0x5F_indirect_function_table; \
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - <scratch space>:142:1: note: expanded from here
[task 2023-08-16T03:03:24.462Z] 03:03:24 INFO - 142 | wasm2c_rlbox_min_env_0x5F_indirect_function_table
[task 2023-08-16T03:03:24.463Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.463Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/security/rlbox/rlbox.wasm.h:950:18: note: 'wasm2c_0x24rlbox0x2Ewasm_min_env_0x5F_indirect_function_table' declared here
[task 2023-08-16T03:03:24.463Z] 03:03:24 INFO - 950 | extern const u32 wasm2c_0x24rlbox0x2Ewasm_min_env_0x5F_indirect_function_table;
[task 2023-08-16T03:03:24.463Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.463Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.463Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.464Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.464Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'w2c_rlbox_malloc'
[task 2023-08-16T03:03:24.464Z] 03:03:24 INFO - 103 | INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE(RLBOX_WASM2C_MODULE_NAME);
[task 2023-08-16T03:03:24.464Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.464Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.464Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.464Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.465Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:90:45: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.465Z] 03:03:24 INFO - 90 | static constexpr auto malloc_address = &w2c_##modname##_malloc; \
[task 2023-08-16T03:03:24.465Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.465Z] 03:03:24 INFO - <scratch space>:144:1: note: expanded from here
[task 2023-08-16T03:03:24.465Z] 03:03:24 INFO - 144 | w2c_rlbox_malloc
[task 2023-08-16T03:03:24.465Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.466Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.466Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.466Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.466Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:103:1: error: use of undeclared identifier 'w2c_rlbox_free'
[task 2023-08-16T03:03:24.467Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:101:3: note: expanded from macro 'INVOKE_DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.467Z] 03:03:24 INFO - 101 | DEFINE_RLBOX_WASM2C_MODULE_TYPE(modname)
[task 2023-08-16T03:03:24.467Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.467Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:91:43: note: expanded from macro 'DEFINE_RLBOX_WASM2C_MODULE_TYPE'
[task 2023-08-16T03:03:24.467Z] 03:03:24 INFO - 91 | static constexpr auto free_address = &w2c_##modname##_free; \
[task 2023-08-16T03:03:24.468Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.468Z] 03:03:24 INFO - <scratch space>:146:1: note: expanded from here
[task 2023-08-16T03:03:24.468Z] 03:03:24 INFO - 146 | w2c_rlbox_free
[task 2023-08-16T03:03:24.468Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.468Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.468Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.469Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:19:
[task 2023-08-16T03:03:24.469Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:306:49: error: no type named 'instance_t' in 'rlbox_wasm2c_module_type_rlbox'
[task 2023-08-16T03:03:24.469Z] 03:03:24 INFO - 306 | mutable typename RLBOX_WASM_MODULE_TYPE_CURR::instance_t wasm2c_instance{ 0 };
[task 2023-08-16T03:03:24.469Z] 03:03:24 INFO - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[task 2023-08-16T03:03:24.470Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:789:45: error: no type named 'instance_t' in 'rlbox_wasm2c_module_type_rlbox'
[task 2023-08-16T03:03:24.470Z] 03:03:24 INFO - 789 | typename RLBOX_WASM_MODULE_TYPE_CURR::instance_t*>;
[task 2023-08-16T03:03:24.470Z] 03:03:24 INFO - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[task 2023-08-16T03:03:24.470Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:793:24: error: unknown type name 'T_ConvHeap'
[task 2023-08-16T03:03:24.471Z] 03:03:24 INFO - 793 | reinterpret_cast<T_ConvHeap*>(reinterpret_cast<uintptr_t>(func_ptr));
[task 2023-08-16T03:03:24.471Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.471Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.471Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.471Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:25:
[task 2023-08-16T03:03:24.472Z] 03:03:24 INFO - In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox.hpp:12:
[task 2023-08-16T03:03:24.472Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_policy_types.hpp:52:5: error: no matching function for call to 'interceptor_type_helper'
[task 2023-08-16T03:03:24.472Z] 03:03:24 INFO - 52 | callback_detail::interceptor_type_helper<T_Sbx>(std::declval<T>()));
[task 2023-08-16T03:03:24.472Z] 03:03:24 INFO - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2023-08-16T03:03:24.473Z] 03:03:24 INFO - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:55:57: note: in instantiation of template class 'rlbox::sandbox_callback<unsigned int (*)(const char *), rlbox::rlbox_wasm2c_sandbox>' requested here
[task 2023-08-16T03:03:24.473Z] 03:03:24 INFO - 55 | sandbox_callback_hunspell<hunspell_create_filemgr_t*> mCreateFilemgr;
[task 2023-08-16T03:03:24.473Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.474Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_policy_types.hpp:32:32: note: candidate template ignored: substitution failure [with T_Sbx = rlbox::rlbox_wasm2c_sandbox, T_Ret = unsigned int, T_Args = <const char *>]
[task 2023-08-16T03:03:24.474Z] 03:03:24 INFO - 32 | T_I<T_Sbx, T_Ret, T_Args...> interceptor_type_helper(T_Ret (*)(T_Args...));
[task 2023-08-16T03:03:24.474Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.474Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.474Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.475Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:25:
[task 2023-08-16T03:03:24.475Z] 03:03:24 INFO - In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox.hpp:14:
[task 2023-08-16T03:03:24.475Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_sandbox.hpp:442:12: error: cannot initialize object parameter of type 'rlbox::rlbox_wasm2c_sandbox' with an expression of type 'rlbox::rlbox_sandbox<rlbox::rlbox_wasm2c_sandbox>'
[task 2023-08-16T03:03:24.475Z] 03:03:24 INFO - 442 | return this->impl_destroy_sandbox();
[task 2023-08-16T03:03:24.476Z] 03:03:24 INFO - | ^~~~
[task 2023-08-16T03:03:24.476Z] 03:03:24 INFO - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:45:16: note: in instantiation of member function 'rlbox::rlbox_sandbox<rlbox::rlbox_wasm2c_sandbox>::destroy_sandbox' requested here
[task 2023-08-16T03:03:24.476Z] 03:03:24 INFO - 45 | sandbox->destroy_sandbox();
[task 2023-08-16T03:03:24.476Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.476Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.477Z] 03:03:24 ERROR - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:104:13: error: use of undeclared identifier 'w2c_rlbox_RegisterHunspellCallbacks'; did you mean 'RegisterHunspellCallbacks'?
[task 2023-08-16T03:03:24.477Z] 03:03:24 INFO - 104 | mSandbox->invoke_sandbox_function(RegisterHunspellCallbacks, mCreateFilemgr,
[task 2023-08-16T03:03:24.477Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.477Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_sandbox.hpp:1065:36: note: expanded from macro 'invoke_sandbox_function'
[task 2023-08-16T03:03:24.478Z] 03:03:24 INFO - 1065 | sandbox_lookup_symbol_helper(RLBOX_USE_STATIC_CALLS(), func_name), \
[task 2023-08-16T03:03:24.478Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.478Z] 03:03:24 INFO - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:18:36: note: expanded from macro 'RLBOX_USE_STATIC_CALLS'
[task 2023-08-16T03:03:24.478Z] 03:03:24 INFO - 18 | # define RLBOX_USE_STATIC_CALLS() rlbox_wasm2c_sandbox_lookup_symbol
[task 2023-08-16T03:03:24.479Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.479Z] 03:03:24 INFO - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/mozHunspellRLBoxGlue.h:24:6: note: 'RegisterHunspellCallbacks' declared here
[task 2023-08-16T03:03:24.479Z] 03:03:24 INFO - 24 | void RegisterHunspellCallbacks(
[task 2023-08-16T03:03:24.479Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.479Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.480Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:7:
[task 2023-08-16T03:03:24.480Z] 03:03:24 INFO - In file included from /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:25:
[task 2023-08-16T03:03:24.480Z] 03:03:24 INFO - In file included from /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox.hpp:14:
[task 2023-08-16T03:03:24.480Z] 03:03:24 ERROR - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_sandbox.hpp:790:40: error: no matching member function for call to 'impl_invoke_with_func_ptr'
[task 2023-08-16T03:03:24.481Z] 03:03:24 INFO - 790 | auto raw_result = this->template impl_invoke_with_func_ptr<T>(
[task 2023-08-16T03:03:24.481Z] 03:03:24 INFO - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[task 2023-08-16T03:03:24.481Z] 03:03:24 INFO - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:120:23: note: in instantiation of function template specialization 'rlbox::rlbox_sandbox<rlbox::rlbox_wasm2c_sandbox>::INTERNAL_invoke_with_func_ptr<Hunhandle *(const char *, const char *), rlbox::tainted<const char *, rlbox::rlbox_wasm2c_sandbox>, rlbox::tainted<const char *, rlbox::rlbox_wasm2c_sandbox>>' requested here
[task 2023-08-16T03:03:24.482Z] 03:03:24 INFO - 120 | mHandle = mSandbox->invoke_sandbox_function(
[task 2023-08-16T03:03:24.482Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.482Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_sandbox.hpp:1063:14: note: expanded from macro 'invoke_sandbox_function'
[task 2023-08-16T03:03:24.482Z] 03:03:24 INFO - 1063 | template INTERNAL_invoke_with_func_ptr<decltype(func_name)>( \
[task 2023-08-16T03:03:24.482Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.483Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_wasm2c_sandbox.hpp:711:8: note: candidate function template not viable: no known conversion from 'rlbox::rlbox_sandbox<rlbox::rlbox_wasm2c_sandbox>' to 'rlbox::rlbox_wasm2c_sandbox' for object argument
[task 2023-08-16T03:03:24.483Z] 03:03:24 INFO - 711 | auto impl_invoke_with_func_ptr(T_Converted* func_ptr, T_Args&&... params)
[task 2023-08-16T03:03:24.483Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.483Z] 03:03:24 INFO - In file included from Unified_cpp_hunspell_glue0.cpp:2:
[task 2023-08-16T03:03:24.484Z] 03:03:24 ERROR - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.cpp:120:23: error: use of undeclared identifier 'w2c_rlbox_Hunspell_create'
[task 2023-08-16T03:03:24.484Z] 03:03:24 INFO - 120 | mHandle = mSandbox->invoke_sandbox_function(
[task 2023-08-16T03:03:24.484Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.484Z] 03:03:24 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/rlbox/rlbox_sandbox.hpp:1065:36: note: expanded from macro 'invoke_sandbox_function'
[task 2023-08-16T03:03:24.484Z] 03:03:24 INFO - 1065 | sandbox_lookup_symbol_helper(RLBOX_USE_STATIC_CALLS(), func_name), \
[task 2023-08-16T03:03:24.484Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.485Z] 03:03:24 INFO - /builds/worker/checkouts/gecko/extensions/spellcheck/hunspell/glue/RLBoxHunspell.h:18:36: note: expanded from macro 'RLBOX_USE_STATIC_CALLS'
[task 2023-08-16T03:03:24.485Z] 03:03:24 INFO - 18 | # define RLBOX_USE_STATIC_CALLS() rlbox_wasm2c_sandbox_lookup_symbol
[task 2023-08-16T03:03:24.485Z] 03:03:24 INFO - | ^
[task 2023-08-16T03:03:24.485Z] 03:03:24 INFO - fatal error: too many errors emitted, stopping now [-ferror-limit=]
[task 2023-08-16T03:03:24.486Z] 03:03:24 INFO - 20 errors generated.
[task 2023-08-16T03:03:24.486Z] 03:03:24 ERROR - gmake[4]: *** [/builds/worker/checkouts/gecko/config/rules.mk:661: Unified_cpp_hunspell_glue0.o] Error 1
[task 2023-08-16T03:03:24.486Z] 03:03:24 INFO - gmake[4]: Leaving directory '/builds/worker/workspace/obj-build/extensions/spellcheck/hunspell/glue'
[task 2023-08-16T03:03:24.486Z] 03:03:24 INFO - gmake[4]: Target 'target-objects' not remade because of errors.
[task 2023-08-16T03:03:24.486Z] 03:03:24 ERROR - gmake[3]: *** [/builds/worker/checkouts/gecko/config/recurse.mk:72: extensions/spellcheck/hunspell/glue/target-objects] Error 2
[task 2023-08-16T03:03:24.487Z] 03:03:24 INFO - gmake[4]: Entering directory '/builds/worker/workspace/obj-build/gfx/cairo/cairo/src'
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
On clang trunk, lld recently changed its behavior wrt linking wasm
files, whereas it now always puts a module name in the output, while
it didn't before. This leads wasm2c to use that module name in a way
that is not compatible with the rlbox code. Thus we force wasm2c to
use the module name it was defaulting to before.
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Comment hidden (Intermittent Failures Robot) |
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 5•2 years ago
|
||
On clang trunk, lld recently changed its behavior wrt linking wasm
files, whereas it now always puts a module name in the output, while
it didn't before. This leads wasm2c to use that module name in a way
that is not compatible with the rlbox code. Thus we force wasm2c to
use the module name it was defaulting to before.
| Assignee | ||
Comment 6•2 years ago
|
||
Comment on attachment 9350191 [details]
Bug 1848908 - Force the module name used with wasm2c
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: Build failure with newer (future) versions of clang
- User impact if declined: See above
- Fix Landed on Version: 118
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Straightforward build system change. This is the same as D186391, but rebased on top of esr+bug 1749856 (so, without bug 1829765, which is why D186391 doesn't apply cleanly).
Notes:
- it's also possible to rewrite the patch without bug 1749856, but I figured we might as well get that one in.
- I know it is late in the cycle. This doesn't need to make the cut for 115.2.
| Comment hidden (Intermittent Failures Robot) |
Comment 8•2 years ago
|
||
Comment on attachment 9350191 [details]
Bug 1848908 - Force the module name used with wasm2c
Approved for 115.3esr.
Updated•2 years ago
|
Description
•