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

libavif git fails #2709

Open
Fishman0919 opened this issue Jun 3, 2024 · 1 comment
Open

libavif git fails #2709

Fishman0919 opened this issue Jun 3, 2024 · 1 comment

Comments

@Fishman0919
Copy link

07:29:21 Running git clone for libavif...
07:29:25 Running git update for libavif...
07:29:25 ┌ libavif git .............................. [Recently updated]
07:29:25 ├ Running cmake...
07:29:29 ├ Running build...
Likely error (tail of the failed operation logfile):
[1/2] Linking CXX executable avifenc.exe
FAILED: avifenc.exe
C:\Windows\system32\cmd.exe /C "cd . && C:\MABS\msys64\clang64\bin\ccache.exe clang++ -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -O3 -DNDEBUG -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -static-libgcc --start-no-unused-arguments -static-libstdc++ --end-no-unused-arguments CMakeFiles/avifenc.dir/apps/avifenc.c.o CMakeFiles/avifenc.dir/apps/utf8.rc.obj -o avifenc.exe -Wl,--out-implib,libavifenc.dll.a -Wl,--major-image-version,0,--minor-image-version,0 libavif_apps.a libavif_internal.a C:/MABS/msys64/clang64/lib/libyuv.a -lm -pthread C:/MABS/local64/lib/libdav1d.a C:/MABS/local64/lib/librav1e.a -lntdll -luserenv -lws2_32 -lbcrypt C:/MABS/local64/lib/libaom.a C:/MABS/local64/lib/libpng.a C:/MABS/msys64/clang64/lib/libz.a C:/MABS/msys64/clang64/lib/libjpeg.a -lmingwthrd -lmingwthrd -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
ld.lld: error: undefined symbol: _setjmp

referenced by libaom.a(av1_cx_iface.c.o):(update_encoder_cfg)
referenced by libaom.a(av1_cx_iface.c.o):(update_encoder_cfg)
referenced by libaom.a(av1_cx_iface.c.o):(encoder_encode)
referenced 22 more times
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
build failed. Check C:/MABS/build/libavif-git/build-64bit/ab-suite.build.log
This is required for other packages, so this script will exit.
07:29:31 Creating diagnostics file...

logs.zip

@L4cache
Copy link
Contributor

L4cache commented Jun 3, 2024

did you just switched from gcc to clang?
I think this happens when you use clang (lld) to link some libraries built by gcc

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

2 participants