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
Maybe I should file an issue at aomedia side but posting here to get helps!
On Ubuntu 18.04, I am running:
cmake ../aom -DCACHE_ENABLE=1 -DAOM_TARGET_CPU=generic -DENABLE_DOCS=0 -DENABLE_TESTS=0 -DCONFIG_ACCOUNTING=1 -DCONFIG_INSPECTION=1 -DCONFIG_MULTITHREAD=0 -DCONFIG_RUNTIME_CPU_DETECT=0 -DCONFIG_WEBM_IO=0 -DCMAKE_TOOLCHAIN_FILE=~/workspace/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
yushin@jurassic:~/workspace/aom_build$ cat /home/yushin/workspace/aom_build/CMakeFiles/CMakeError.log
Performing C SOURCE FILE Test C_TEST_COMPILED failed with the following output:
Change Dir: /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_0ba6b/fast && /usr/bin/make -f CMakeFiles/cmTC_0ba6b.dir/build.make CMakeFiles/cmTC_0ba6b.dir/build
make[1]: Entering directory '/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0ba6b.dir/src.c.o
/home/yushin/workspace/emsdk/upstream/emscripten/emcc -DC_TEST_COMPILED -o CMakeFiles/cmTC_0ba6b.dir/src.c.o -c /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:33: error: implicit declaration of function 'feenableexcept' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
^
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:33: note: did you mean 'feraiseexcept'?
/home/yushin/workspace/emsdk/upstream/emscripten/system/include/libc/fenv.h:12:5: note: 'feraiseexcept' declared here
int feraiseexcept(int);
^
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:48: error: use of undeclared identifier 'FE_DIVBYZERO'
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
^
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:63: error: use of undeclared identifier 'FE_INVALID'
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
^
3 errors generated.
emcc: error: '/home/yushin/workspace/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=16 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include/compat -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include/libc -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/lib/libc/musl/arch/emscripten -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/local/include -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/cache/wasm/include -DEMSCRIPTEN -fignore-exceptions -DC_TEST_COMPILED -c /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include/SDL -c -o CMakeFiles/cmTC_0ba6b.dir/src.c.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)
CMakeFiles/cmTC_0ba6b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0ba6b.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_0ba6b.dir/src.c.o] Error 1
make[1]: Leaving directory '/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_0ba6b/fast' failed
make: *** [cmTC_0ba6b/fast] Error 2
Source file was:
#define _GNU_SOURCE
#include <fenv.h>
void unused(void) {
(void)unused;
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
}
int main(void) { return 0; }
Performing C SOURCE FILE Test C_FLAG_SUPPORTED failed with the following output:
Change Dir: /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp
The text was updated successfully, but these errors were encountered:
Maybe I should file an issue at aomedia side but posting here to get helps!
On Ubuntu 18.04, I am running:
cmake ../aom -DCACHE_ENABLE=1 -DAOM_TARGET_CPU=generic -DENABLE_DOCS=0 -DENABLE_TESTS=0 -DCONFIG_ACCOUNTING=1 -DCONFIG_INSPECTION=1 -DCONFIG_MULTITHREAD=0 -DCONFIG_RUNTIME_CPU_DETECT=0 -DCONFIG_WEBM_IO=0 -DCMAKE_TOOLCHAIN_FILE=~/workspace/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake
(from the direction here: https://aomedia.googlesource.com/aom/+/master/README.md#emscripten-builds)
And getting this error from Ubuntu 18.04 (similar error for MS OS as well, https://www.irccloud.com/pastebin/fHUt0Yls/ )
yushin@jurassic:~/workspace/aom_build$ cat /home/yushin/workspace/aom_build/CMakeFiles/CMakeError.log
Performing C SOURCE FILE Test C_TEST_COMPILED failed with the following output:
Change Dir: /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/make cmTC_0ba6b/fast && /usr/bin/make -f CMakeFiles/cmTC_0ba6b.dir/build.make CMakeFiles/cmTC_0ba6b.dir/build
make[1]: Entering directory '/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0ba6b.dir/src.c.o
/home/yushin/workspace/emsdk/upstream/emscripten/emcc -DC_TEST_COMPILED -o CMakeFiles/cmTC_0ba6b.dir/src.c.o -c /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:33: error: implicit declaration of function 'feenableexcept' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
^
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:33: note: did you mean 'feraiseexcept'?
/home/yushin/workspace/emsdk/upstream/emscripten/system/include/libc/fenv.h:12:5: note: 'feraiseexcept' declared here
int feraiseexcept(int);
^
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:48: error: use of undeclared identifier 'FE_DIVBYZERO'
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
^
/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c:5:63: error: use of undeclared identifier 'FE_INVALID'
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
^
3 errors generated.
emcc: error: '/home/yushin/workspace/emsdk/upstream/bin/clang -target wasm32-unknown-emscripten -D__EMSCRIPTEN_major__=1 -D__EMSCRIPTEN_minor__=39 -D__EMSCRIPTEN_tiny__=16 -D_LIBCPP_ABI_VERSION=2 -Dunix -D__unix -D__unix__ -Werror=implicit-function-declaration -Xclang -nostdsysteminc -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include/compat -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include/libc -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/lib/libc/musl/arch/emscripten -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/local/include -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/cache/wasm/include -DEMSCRIPTEN -fignore-exceptions -DC_TEST_COMPILED -c /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp/src.c -Xclang -isystem/home/yushin/workspace/emsdk/upstream/emscripten/system/include/SDL -c -o CMakeFiles/cmTC_0ba6b.dir/src.c.o -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr' failed (1)
CMakeFiles/cmTC_0ba6b.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_0ba6b.dir/src.c.o' failed
make[1]: *** [CMakeFiles/cmTC_0ba6b.dir/src.c.o] Error 1
make[1]: Leaving directory '/home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp'
Makefile:121: recipe for target 'cmTC_0ba6b/fast' failed
make: *** [cmTC_0ba6b/fast] Error 2
Source file was:
#define _GNU_SOURCE
#include <fenv.h>
void unused(void) {
(void)unused;
(void)feenableexcept(FE_DIVBYZERO | FE_INVALID);
}
int main(void) { return 0; }
Performing C SOURCE FILE Test C_FLAG_SUPPORTED failed with the following output:
Change Dir: /home/yushin/workspace/aom_build/CMakeFiles/CMakeTmp
The text was updated successfully, but these errors were encountered: