Texinfo 6.7 for Toolchain Fails to Compile (step 35)
dslm4515 opened this issue · 2 comments
dslm4515 commented
Looks like missing symbols in host's ncurses library:
Error relocating /lib/libncursesw.so.6: __vfprintf_chk: symbol not found
Error relocating /lib/libncursesw.so.6: __poll_chk: symbol not found
Error relocating /lib/libncursesw.so.6: __memcpy_chk: symbol not found
Error relocating /lib/libncursesw.so.6: __vsnprintf_chk: symbol not found
Error relocating /lib/libncursesw.so.6: __strcpy_chk: symbol not found
Error relocating /lib/libncursesw.so.6: __fprintf_chk: symbol not found
Error relocating /lib/libncursesw.so.6: __sprintf_chk: symbol not found
make[4]: *** [Makefile:2640: funs.h] Error 127
make[4]: Leaving directory '/mnt/mlfs/sources/texinfo-6.7/tools/info'
make[3]: *** [Makefile:1224: all-recursive] Error 1
make[3]: Leaving directory '/mnt/mlfs/sources/texinfo-6.7/tools'
make[2]: *** [Makefile:1163: all] Error 2
make[2]: Leaving directory '/mnt/mlfs/sources/texinfo-6.7/tools'
make[1]: *** [Makefile:1224: all-recursive] Error 1
make[1]: Leaving directory '/mnt/mlfs/sources/texinfo-6.7'
make: *** [Makefile:1163: all] Error 2
[mlfs@arch64UEFI texinfo-6.7]$
Host system is currently archlinux. Not sure if my instructions need revision or something wrong with host's ncurses libraries
dslm4515 commented
Also clearing the console with clear throws the same error... only if under mlfs user. If i switch terminals and login as root or another unprivileged user on the host, executing clear does not throw an error.
dslm4515 commented
Looks like clear is actually /tools/bin/clear which uses /tools/lib/ld-musl-x86_64.so.1
Adding /tools/etc/ld-musl-$ARCH.path with /tools/lib causes clear to execute without errors.