-
Notifications
You must be signed in to change notification settings - Fork 715
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiler fontend failed to generate LLVM bitcode... #163
Comments
emscripten can't compile inline assembly, only portable C/C++. Perhaps the codebase has a flag to use a generic code path, without inline assembly for a specific CPU. |
First , thanks for your replay! realy. define ARCH_X86 1 this options will run the YASM codes when compiling. I edited it like this : |
Good, glad there was a flag for that! |
I try to compile OpenHEVC with emscripten too, I end up with a lot of error, how did you do it? |
Try changing LYSM to C/C++ code
发自我的iPhone
…------------------ Original ------------------
From: billy4656515 ***@***.***>
Date: Mon,Jun 19,2023 6:30 PM
To: emscripten-core/emsdk ***@***.***>
Cc: SaxonGao-SZ ***@***.***>, Author ***@***.***>
Subject: Re: [emscripten-core/emsdk] compiler fontend failed to generate LLVMbitcode... (#163)
I try to compile OpenHEVC with emscripten too, I end up with a lot of error, how did you do it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
emscripten do not support :
- LYSM
- multithreading/multiprocess
- SIMD
change then to equivalent C code or other solution
发自我的iPhone
…------------------ Original ------------------
From: billy4656515 ***@***.***>
Date: Mon,Jun 19,2023 6:30 PM
To: emscripten-core/emsdk ***@***.***>
Cc: SaxonGao-SZ ***@***.***>, Author ***@***.***>
Subject: Re: [emscripten-core/emsdk] compiler fontend failed to generate LLVMbitcode... (#163)
I try to compile OpenHEVC with emscripten too, I end up with a lot of error, how did you do it?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
how to do that? on the configuration file (config.h.in line62) I deactivated the use of ARCH_x86 but I find myself with errors : |
check this method
openHEVC/libavcodec/hevc.c:3264:9: error: call to undeclared function 'ff_hevc_bump_frame';
发自我的iPhone
…------------------ Original ------------------
From: billy4656515 ***@***.***>
Date: Mon,Jun 19,2023 7:21 PM
To: emscripten-core/emsdk ***@***.***>
Cc: SaxonGao-SZ ***@***.***>, Author ***@***.***>
Subject: Re: [emscripten-core/emsdk] compiler fontend failed to generate LLVMbitcode... (#163)
how to do that? on the configuration file (config.h.in line62) I deactivated the use of ARCH_x86 but I find myself with errors :
openHEVC/libavcodec/hevc.c:3264:9: error: call to undeclared function 'ff_hevc_bump_frame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
3264 | ff_hevc_bump_frame(s);
| ^
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
the problem is that as soon as I correct an error it becomes a chain reaction and many other errors appear and I don't want to alter the code more than that, there is surely a way to compile OpenhEVC with Emscripten without altering the code too much. |
* Workload changes and arcade update (emscripten-core#171) (emscripten-core#172) * Update arcade to 7.0.0-beta.22416.1 * Workload changes Co-authored-by: Larry Ewing <lewing@microsoft.com> Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com> * [release/7.0-rc1] Make two manifests one for net7 and one for net6 in 7.0.100 sdk band (emscripten-core#163) * Here goes nothing * Update WorkloadManifest.json.in * Update WorkloadManifest.json.in * Try to fix up the multi-targeted build. This will likely need an arcade change to enable manifests withtout packs and an additional change once arcade is updated. * Update eng/emsdk.proj Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> * Rename .pkgproj files * Update PackageVersionNet6 to 6.0.9 * Fix the location of the .net7 pkgproj Co-authored-by: Marc Paine <marcpop@microsoft.com> Co-authored-by: Ankit Jain <radical@gmail.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> * [release/7.0-rc1] Shorten the name more (emscripten-core#174) * Shorten the name more * [release/7.0-rc1] Check nuget sizes and fix them (emscripten-core#175) * yml: Fail if nuget size exceeds 250MiB, on linux, and macos * Fix the case for no errors * Remove unused binaries Co-authored-by: Ankit Jain <radical@gmail.com> * Add PowerShell-based NuGet size check script and use it on Windows (emscripten-core#176) * Add PowerShell-based NuGet size check script and use it on Windows * Update azure-pipelines.yml Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com> Co-authored-by: Marc Paine <marcpop@microsoft.com> Co-authored-by: Ankit Jain <radical@gmail.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
* Workload changes and arcade update (emscripten-core#171) (emscripten-core#172) * Update arcade to 7.0.0-beta.22416.1 * Workload changes Co-authored-by: Larry Ewing <lewing@microsoft.com> Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com> * [release/7.0-rc1] Make two manifests one for net7 and one for net6 in 7.0.100 sdk band (emscripten-core#163) * Here goes nothing * Update WorkloadManifest.json.in * Update WorkloadManifest.json.in * Try to fix up the multi-targeted build. This will likely need an arcade change to enable manifests withtout packs and an additional change once arcade is updated. * Update eng/emsdk.proj Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> * Rename .pkgproj files * Update PackageVersionNet6 to 6.0.9 * Fix the location of the .net7 pkgproj Co-authored-by: Marc Paine <marcpop@microsoft.com> Co-authored-by: Ankit Jain <radical@gmail.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com> * [release/7.0-rc1] Shorten the name more (emscripten-core#174) * Shorten the name more * [release/7.0-rc1] Check nuget sizes and fix them (emscripten-core#175) * yml: Fail if nuget size exceeds 250MiB, on linux, and macos * Fix the case for no errors * Remove unused binaries Co-authored-by: Ankit Jain <radical@gmail.com> * Add PowerShell-based NuGet size check script and use it on Windows (emscripten-core#176) * Add PowerShell-based NuGet size check script and use it on Windows * Update azure-pipelines.yml * Roll back 6.0.x to 6.0.8 so that packages exist (emscripten-core#177) * Revert "Roll back 6.0.x to 6.0.8 so that packages exist (emscripten-core#177)" (emscripten-core#178) This reverts commit b7a5ae2. * make a 6.0.4 build (emscripten-core#180) * Revert "make a 6.0.4 build (emscripten-core#180)" (emscripten-core#181) This reverts commit eb3232e. * [release/7.0] Update arcade to 7.0.0-beta.22418.4 (emscripten-core#182) * WorkloadManifest.targets: fix condition (emscripten-core#183) Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com> Co-authored-by: Marc Paine <marcpop@microsoft.com> Co-authored-by: Ankit Jain <radical@gmail.com> Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Hello , I try to compile openHEVC source code to *.bc file .
commands :
Waht the problem ? can you help me ?
The text was updated successfully, but these errors were encountered: