lichray / nvi2

A multibyte fork of the nvi editor for BSD
Other
144 stars 34 forks source link

memmove : error at compilation #123

Closed jartusV closed 11 months ago

jartusV commented 11 months ago

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

jartusV commented 11 months ago

[a4e086c]

Seems to work. Compiles fine.