rlbox.wasm.c:12:10: fatal error: 'alloca.h' file not found on OpenBSD
Categories
(Core :: Security: RLBox, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox112 | --- | unaffected |
firefox113 | --- | unaffected |
firefox114 | --- | fixed |
People
(Reporter: gaston, Assigned: shravanrn)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
similar to bug #1829268, building m-c fails now on OpenBSD, where there's no alloca.h
:
36:16.27 In file included from rlbox.wasm.c:16:
36:16.27 /build/obj/buildslave/mozilla-central/dist/system_wrappers/alloca.h:3:15: fatal error: 'alloca.h' file not found
36:16.27 #include_next <alloca.h>
36:16.27 ^~~~~~~~~~
cf http://buildbot.rhaalovely.net/nine/#/builders/3/builds/1673/steps/8/logs/stdio
i dunno what the process is to update the generated (?) files but OpenBSD probably needs the same treatment as FreeBSD that was done in https://phabricator.services.mozilla.com/D176254 inside third_party/wasm2c/src/prebuilt/wasm2c_source_includes.cc
Reporter | ||
Comment 1•2 years ago
|
||
wip local patch that seems to help, build still running:
--- a/third_party/wasm2c/src/prebuilt/wasm2c_source_includes.cc
+++ b/third_party/wasm2c/src/prebuilt/wasm2c_source_includes.cc
@@ -15,17 +15,17 @@ R"w2c_template(#include <malloc.h>
R"w2c_template(#elif defined(_MSC_VER)
)w2c_template"
R"w2c_template(#include <intrin.h>
)w2c_template"
R"w2c_template(#include <malloc.h>
)w2c_template"
R"w2c_template(#define alloca _alloca
)w2c_template"
-R"w2c_template(#elif defined(__FreeBSD__)
+R"w2c_template(#elif defined(__FreeBSD__) || defined(__OpenBSD__)
)w2c_template"
R"w2c_template(#include <stdlib.h>
)w2c_template"
R"w2c_template(#else
)w2c_template"
R"w2c_template(#include <alloca.h>
)w2c_template"
R"w2c_template(#endif
Reporter | ||
Comment 2•2 years ago
|
||
filed https://github.com/WebAssembly/wabt/issues/2216 upstream
Comment 3•2 years ago
|
||
Set release status flags based on info from the regressing bug 1827704
:shravanrn, since you are the author of the regressor, bug 1827704, could you take a look?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
Description
•