armv7 build fails with: error: field 'ufp' has incomplete type 'user_vfp'
Categories
(Core :: JavaScript: WebAssembly, defect)
Tracking
()
People
(Reporter: guillaume.gardet, Unassigned)
Details
Attachments
(1 file)
2.75 MB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36
Steps to reproduce:
While trying to build Firefox 66.0 for armv7l, the build fails because of "field 'ufp' has incomplete type 'user_vfp'" error.
Actual results:
Build log:
[ 1116s] 13:17.43 In file included from /home/abuild/rpmbuild/BUILD/obj/js/src/wasm/Unified_cpp_js_src_wasm2.cpp:29:
[ 1116s] 13:17.43 /home/abuild/rpmbuild/BUILD/firefox-66.0/js/src/wasm/WasmSignalHandlers.cpp:520:19: error: field 'ufp' has incomplete type 'user_vfp'
[ 1116s] 13:17.43 struct user_vfp ufp;
[ 1116s] 13:17.43 ^~~
[ 1116s] 13:17.44 /home/abuild/rpmbuild/BUILD/firefox-66.0/js/src/wasm/WasmSignalHandlers.cpp:520:10: note: forward declaration of 'struct user_vfp'
[ 1116s] 13:17.44 struct user_vfp ufp;
[ 1116s] 13:17.44 ^~~~~~~~
[ 1116s] 13:17.45 /home/abuild/rpmbuild/BUILD/firefox-66.0/js/src/wasm/WasmSignalHandlers.cpp:521:23: error: field 'ufp_exc' has incomplete type 'user_vfp_exc'
[ 1116s] 13:17.45 struct user_vfp_exc ufp_exc;
[ 1116s] 13:17.46 ^~~~~~~
[ 1116s] 13:17.48 /home/abuild/rpmbuild/BUILD/firefox-66.0/js/src/wasm/WasmSignalHandlers.cpp:521:10: note: forward declaration of 'struct user_vfp_exc'
[ 1116s] 13:17.48 struct user_vfp_exc ufp_exc;
[ 1116s] 13:17.48 ^~~~~~~~~~~~
Expected results:
Build should succeed.
Updated•6 years ago
|
Reporter | ||
Comment 1•6 years ago
|
||
The file /usr/include/sys/user.h has no information about 'user_vfp' or 'user_vfp_exc' structs.
Updated•6 years ago
|
Updated•6 years ago
|
I think this is duplicate of #1526653
Comment 3•6 years ago
|
||
Right you are.
Comment 4•6 years ago
|
||
Guillaume, see comment at https://searchfox.org/mozilla-central/source/js/src/wasm/WasmSignalHandlers.cpp#232 for a workaround.
Reporter | ||
Updated•3 years ago
|
Description
•