You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build for the UI does not complete successfully on Fedora 32. (Also F30...) Tried different branches 4.2. Tried master. Same result. I followed the instruction in the ui/README, and even tried to follow along with the CI build server. (Will be testing ubuntu 18 as well...)
(This was the 2nd run... lost the error on the terminal the first time, but it is the same.)
[1/47] link wasm/trace_processor.js
FAILED: wasm/trace_processor.js
/home/fosterb/projects/webapps/perfetto/buildtools/emsdk/emscripten/em++ --em-config "EMSCRIPTEN_ROOT='/home/fosterb/projects/webapps/perfetto/buildtools/emsdk/emscripten';LLVM_ROOT='/home/fosterb/projects/webapps/perfetto/buildtools/emsdk/llvm';BINARYEN_ROOT='/home/fosterb/projects/webapps/perfetto/buildtools/emsdk/llvm/binaryen';EMSCRIPTEN_NATIVE_OPTIMIZER='/home/fosterb/projects/webapps/perfetto/buildtools/emsdk/llvm/optimizer';NODE_JS='/home/fosterb/projects/webapps/perfetto/buildtools/nodejs/bin/node';COMPILER_ENGINE=NODE_JS;JS_ENGINES=[NODE_JS];" -fuse-ld=lld -s WASM=1 -s DISABLE_EXCEPTION_CATCHING=1 -s NO_DYNAMIC_EXECUTION=1 -s TOTAL_MEMORY=33554432 -s ALLOW_MEMORY_GROWTH=1 -s RESERVED_FUNCTION_POINTERS=32 -s BINARYEN_METHOD=\'native-wasm\' -s BINARYEN_TRAP_MODE=\'clamp\' -s EXPORT_FUNCTION_TABLES=1 -s EXTRA_EXPORTED_RUNTIME_METHODS=\[\'ccall\',\ \'cwrap\',\ \'addFunction\',\ \'FS\'\] -s MEMFS_APPEND_TO_TYPED_ARRAYS=1 -s MODULARIZE=1 -s EXPORT_NAME=trace_processor_wasm -O3 -Wl,--gc-sections -Wl,--icf=all -Wl,-O1 -pie -Wl,-rpath=\$ORIGIN/. -Wl,-rpath-link=. wasm/obj/src/trace_processor/dynamic/lib.describe_slice_generator.o wasm/obj/src/trace_processor/dynamic/lib.experimental_counter_dur_generator.o wasm/obj/src/trace_processor/dynamic/lib.experimental_flamegraph_generator.o .............. -lpthread -lrt -o wasm/trace_processor.js
/home/fosterb/projects/webapps/perfetto/buildtools/emsdk/llvm/llvm-ar: /lib64/libtinfo.so.5: no version information available (required by /home/fosterb/projects/webapps/perfetto/buildtools/emsdk/llvm/llvm-ar)
error: asm2wasm seeing an invalid argument type at index 5 (this will not validate) in call from $__ZN8perfetto4base11PagedMemory8AllocateEji to $___mmap (this is likely due to undefined behavior in C, like defining a function one way and calling it in another, which is important to fix)
error: asm2wasm seeing an invalid argument type at index 1 (this will not validate) in call from $_unixRead to $_lseek (this is likely due to undefined behavior in C, like defining a function one way and calling it in another, which is important to fix)
error: asm2wasm seeing an invalid argument type at index 1 (this will not validate) in call from $_unixWrite to $_lseek (this is likely due to undefined behavior in C, like defining a function one way and calling it in another, which is important to fix)
error: asm2wasm seeing an invalid argument type at index 1 (this will not validate) in call from $_unixFileControl to $_lseek (this is likely due to undefined behavior in C, like defining a function one way and calling it in another, which is important to fix)
error: asm2wasm seeing an invalid argument type at index 1 (this will not validate) in call from $_unixShmMap to $_lseek (this is likely due to undefined behavior in C, like defining a function one way and calling it in another, which is important to fix)
[wasm-validator error in function $__ZN8perfetto4base11PagedMemory8AllocateEji] 1 != 2: call param types must match, on
[i32] (call $___mmap
[i32] (i32.const 0)
[i32] (i32.sub
[i32] (get_local $1)
[i32] (i32.const -8192)
)
[i32] (i32.const 3)
[i32] (i32.const 34)
[i32] (i32.const -1)
[i32] (i32.const 0)
)
(on argument 5)
[wasm-validator error in function $_unixRead] 1 != 2: call param types must match, on
[i64] (call $_lseek
[i32] (i32.load
[i32] (get_local $9)
)
[i32] (get_local $7)
[i32] (i32.const 0)
)
(on argument 1)
[wasm-validator error in function $_unixRead] 2 != 1: binary child types must be equal, on
[i32] (i32.lt_s
[i64] (call $_lseek
[i32] (i32.load
[i32] (get_local $9)
)
[i32] (get_local $7)
[i32] (i32.const 0)
)
[i32] (i32.const 0)
)
[wasm-validator error in function $_unixRead] 2 != 1: i32 op, on
[i32] (i32.lt_s
[i64] (call $_lseek
[i32] (i32.load
[i32] (get_local $9)
)
[i32] (get_local $7)
[i32] (i32.const 0)
)
[i32] (i32.const 0)
)```
... etc ...
The text was updated successfully, but these errors were encountered:
The build for the UI does not complete successfully on Fedora 32. (Also F30...) Tried different branches 4.2. Tried master. Same result. I followed the instruction in the ui/README, and even tried to follow along with the CI build server. (Will be testing ubuntu 18 as well...)
(This was the 2nd run... lost the error on the terminal the first time, but it is the same.)
The text was updated successfully, but these errors were encountered: