armv7 compilation fails with error: unknown type name '__fp16'
Categories
(Core :: Machine Learning: General, defect)
Tracking
()
People
(Reporter: m95d+git, Unassigned, NeedInfo)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
8.92 MB,
text/x-log
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:143.0) Gecko/20100101 Firefox/143.0
Steps to reproduce:
The system is armv7 running Gentoo.
Actual results:
Since v144, compilation on armv7 fails with this error:
224:31.03 /usr/lib/ccache/bin/armv7a-unknown-linux-gnueabihf-gcc -o quants-arm.o -c -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox_build/dist/system_wrappers -include /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/config/gcc_hidden.h -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fstrict-flex-arrays=1 -DNDEBUG=1 -DTRIMMED=1 -D_GNU_SOURCE=1 -DGGML_USE_CPU=1 '-DGGML_VERSION="GGML_VERSION"' '-DGGML_COMMIT="GGML_COMMIT"' -DGGML_SHARED=1 -DLLAMA_SHARED=1 -DGGML_BUILD=1 -DLLAMA_BUILD=1 -DGGML_BACKEND_SHARED=1 -DGGML_BACKEND_BUILD=1 -DMOZ_HAS_MOZGLUE -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox_build/third_party/llama.cpp -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/include -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src/ggml-cpu -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/include -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox_build/dist/include -I/usr/include/nspr -I/usr/include/nss -I/usr/include/nspr -I/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox_build/dist/include/nss -I/usr/include/libpng16 -I/usr/include/pixman-1 -DMOZILLA_CLIENT -include /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox_build/mozilla-config.h -pthread -ffunction-sections -fdata-sections -fno-math-errno -pipe -fPIC -pipe -fomit-frame-pointer -mcpu=cortex-a17 -mfpu=neon-vfpv4 -mfloat-abi=hard -O2 -fomit-frame-pointer -funwind-tables -Wall -Wempty-body -Wignored-qualifiers -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wduplicated-cond -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-error=coverage-mismatch -Wno-error=free-nonheap-object -Wno-multistatement-macros -Wno-error=class-memaccess -Wformat -Wformat-security -Wformat-overflow=2 -Wno-psabi -Wno-error=builtin-macro-redefined -Wno-sign-compare -Wno-unused-function -Wno-unreachable-code -Wno-tautological-unsigned-enum-zero-compare -fno-strict-aliasing -ffp-contract=off -MD -MP -MF .deps/quants-arm.o.pp -fdiagnostics-color /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src/ggml-cpu/arch/arm/quants-arm.c
224:34.52 In file included from /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src/ggml-cpu/arch/arm/quants-arm.c:6:
224:34.52 /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h: In function 'neon_compute_fp16_to_fp32':
224:34.53 /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h:45:9: error: unknown type name '__fp16'; did you mean '__bf16'?
224:34.53 45 | __fp16 tmp;
224:34.53 | ^~~~~~
224:34.53 | __bf16
224:34.54 /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h: In function 'neon_compute_fp32_to_fp16':
224:34.54 /var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/third_party/llama.cpp/ggml/src/ggml-cpu/simd-mappings.h:52:9: error: unknown type name '__fp16'; did you mean '__bf16'?
224:34.55 52 | __fp16 tmp = f;
224:34.55 | ^~~~~~
224:34.55 | __bf16
224:34.55 At top level:
224:34.55 cc1: note: unrecognized command-line option '-Wno-tautological-unsigned-enum-zero-compare' may have been intended to silence earlier diagnostics
224:34.59 gmake[4]: *** [/var/tmp2/portage/www-client/firefox-144.0-r1/work/firefox-144.0/config/rules.mk:580: quants-arm.o] Error 1
v143.x didn't have this problem. It's also affecting v146.0.
I'm attaching the complete log.
Expected results:
Build success.
Thanks.
| Reporter | ||
Comment 1•6 months ago
|
||
PS: Please note that --enable-rust-simd is not set.
Comment 2•6 months ago
|
||
The severity field is not set for this bug.
:haik, could you have a look please?
For more information, please visit BugBot documentation.
Updated•6 months ago
|
Description
•