-
-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
Description
An error occures when building for Version 1.17.0, it does not occure with 1.16.2. I'm not yet sure if it is ARM64 specific.
../src/jit/jit-code.c: In function ‘code_load_elf’:
../src/jit/jit-code.c:1325:28: warning: implicit declaration of function ‘code_emit_got’ [-Wimplicit-function-declaration]
1325 | void *got = code_emit_got(blob, ptr);
| ^~~~~~~~~~~~~
../src/jit/jit-code.c:1325:28: warning: initialization of ‘void *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
../src/jit/jit-code.c: At top level:
../src/jit/jit-code.c:830:13: warning: ‘arm64_patch_page_base_rel21’ defined but not used [-Wunused-function]
830 | static void arm64_patch_page_base_rel21(uint32_t *patch, void *ptr)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/jit/jit-code.c:810:13: warning: ‘arm64_patch_page_offset21’ defined but not used [-Wunused-function]
810 | static void arm64_patch_page_offset21(code_blob_t *blob, uint32_t *patch,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
AR lib/libsha1.a
AR lib/libfst.a
AR lib/libnvc.a
CCLD bin/nvc
mold: error: undefined symbol: code_emit_got
>>> referenced by <artificial>
>>> /tmp/ccj7HGJb.ltrans32.ltrans.o:(jit_interp)
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:3218: bin/nvc] Error 1
make: *** [Makefile:2665: all] Error 2
The build commands are:
./autogen.sh
mkdir build && cd build
../configure
make -j"$(nproc)"
make install
Is this introduced with the new version? Thanks in advance!
Georg