Skip to content
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

failed at xavs_svn #633

Open
lzy0702 opened this issue Jun 17, 2022 · 7 comments
Open

failed at xavs_svn #633

lzy0702 opened this issue Jun 17, 2022 · 7 comments

Comments

@lzy0702
Copy link

lzy0702 commented Jun 17, 2022

Ubuntu 22.04 LTS
in VMWare workstation 16.2
CPU: Intel i7-1260P

 ./cross_compile_ffmpeg.sh --gcc-cpu-count=12 --disable-nonfree=n  --build-intel-qsv=y --cflags='-march=skylake -mtune=alderlake -Ofast'
setting cflags as -march=skylake -mtune=alderlake -Ofast
     ##################### Welcome ######################
  Welcome to the ffmpeg cross-compile builder-helper script.
  Downloads and builds will be installed to directories within /home/lzy0702/ffmpeg-windows-build-helpers/sandbox
  If this is not ok, then exit now, and cd to the directory where you'd
  like them installed, then run this script again from there.
  NB that once you build your compilers, you can no longer rename/move
  the sandbox directory, since it will have some hard coded paths in there.
  You can, of course, rebuild ffmpeg from within it, etc.
Fri Jun 17 04:07:48 PM EDT 2022
sit back, this may take awhile...
MinGW-w64 compilers both already installed, not re-installing...
selecting multi build (both win32 and win64)...since both cross compilers are present assuming you want both...

Starting 32-bit builds...
Building ffmpeg dependency libraries...
doing git checkout origin/master
M	Makefile
HEAD 目前位于 9d0ef11 Merge pull request #103 from pali/master
fetched no code changes, not forcing reconfigure for that...
Already made /home/lzy0702/ffmpeg-windows-build-helpers/sandbox/win32 dlfcn-win32_git ...
not svn Updating xavs_svn since usually svn repo's aren't updated frequently enough...
configuring xavs_svn (/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/win32/xavs_svn) as $ PKG_CONFIG_PATH=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32/lib/pkgconfig PATH=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin:$PATH ./configure --host=i686-w64-mingw32 --prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 --cross-prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32-
all touch files already_configured* touchname= already_configured_7de7d1094986308b9613e6ff44c4062f-
config options --host=i686-w64-mingw32 --prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 --cross-prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32- ./configure
No working C compiler found.
failed configure xavs_svn
@lzy0702
Copy link
Author

lzy0702 commented Jun 17, 2022

Ovbiously, I have "build-essential" package installed.

@copyliu
Copy link
Contributor

copyliu commented Jun 22, 2022

you need a LANG=en_US or LANG=C environment

@lzy0702
Copy link
Author

lzy0702 commented Jun 22, 2022

you need a LANG=en_US or LANG=C environment

I switched to en_US, and still have the same problem.
LANG=en_US LANGUAGE=en_US:en LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=en_US
**************Starting 64-bit builds... Building ffmpeg dependency libraries... doing git checkout origin/master M Makefile HEAD is now at 9d0ef11 Merge pull request #103 from pali/master fetched no code changes, not forcing reconfigure for that... Already made /home/lzy0702/ffmpeg-windows-build-helpers/sandbox/win64 dlfcn-win32_git ... not svn Updating xavs_svn since usually svn repo's aren't updated frequently enough... configuring xavs_svn (/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/win64/xavs_svn) as $ PKG_CONFIG_PATH=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32/lib/pkgconfig PATH=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin:$PATH ./configure --host=x86_64-w64-mingw32 --prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --cross-prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- all touch files already_configured* touchname= already_configured_80d75c940d8ead15d2a23c177cfd9366- config options --host=x86_64-w64-mingw32 --prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x86_64-w64-mingw32 --cross-prefix=/home/lzy0702/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w64-mingw32- ./configure No working C compiler found. failed configure xavs_svn

@copyliu
Copy link
Contributor

copyliu commented Jun 23, 2022

nuke sandbox and try with LANG=C again?

@lzy0702
Copy link
Author

lzy0702 commented Jun 23, 2022

nuke sandbox and try with LANG=C again?

unfortunately, same error message.

@lzy0702
Copy link
Author

lzy0702 commented Jun 23, 2022

As I tried, it seems the GCC 10.2 in the toolchain does not support 'alderlabke' architecture. GCC 10.2 only supports up to tigerlake. Maybe it's necessary to upgrade the toolchain to most up to date GCC.

@absidue
Copy link
Contributor

absidue commented Jul 18, 2022

Faced the same issue when trying to compile for AMD Zen 3 processors, 10.2 doesn't support Zen 3 processors -march=znver3, unfortunately it only goes up to Zen 2.
GCC version 10.2 docs: https://gcc.gnu.org/onlinedocs/gcc-10.2.0/gcc/x86-Options.html
gcc latest version docs: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants