lichray / nvi2

A multibyte fork of the nvi editor for BSD

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

memmove : error at compilation

jartusV opened this issue · comments

Hi,

Since "[6c26f11]" I can't compile.

cat /proc/version
Linux version 6.5.5-arch1-1 (linux@archlinux) (gcc (GCC) 13.2.1 20230801, GNU ld (GNU Binutils) 2.41.0) #1 SMP PREEMPT_DYNAMIC Sat, 23 Sep 2023 22:55:13 +0000

gcc --version
gcc (GCC) 13.2.1 20230801

cmake --version
cmake version 3.27.6

ldd --version
ldd (GNU libc) 2.38

Error at compilation:
...
...
[ 99%] Building C object CMakeFiles/nvi.dir/vi/vs_smap.c.o
[100%] Building C object CMakeFiles/nvi.dir/vi/vs_split.c.o
[100%] Linking C executable nvi
/usr/bin/ld: CMakeFiles/nvi.dir/common/log.c.o: in function apply_with': log.c:(.text+0x1259): undefined reference to __builtin_is_aligned'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/nvi.dir/build.make:1978: nvi] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/nvi.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Any clue ?
Thanks

[a4e086c]

Seems to work.
Compiles fine.