You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building on Fedora 41, the toolchain outputs warnings about missing version information for libtinfo:
/home/<user>/CEdev/bin/ez80-clang: /lib64/libtinfo.so.6: no version information available (required by /home/<user>/CEdev/bin/ez80-clang)
This warning appears for both ez80-clang and ez80-link during the build process. The warning obviously doesn't affect functionality but it does flood the build output.
$ readelf -V ~/CEdev/bin/ez80-clang | grep VERNEED
# No VERNEED entries found
The issue appears to be distribution-specific, possibly due to differences in how libtinfo is built between Ubuntu and Fedora. The toolchain binary expects version information that isn't present in Fedora's libtinfo, despite having a compatible version (6.5).
Currently using a wrapper script to filter out the warnings:
#!/bin/bash
TOOL_PATH="$(cedev-config --prefix)/bin/${CMD_NAME}"exec3>&2"$TOOL_PATH""$@"2>>(grep -v "libtinfo.so.6: no version information available">&3)exec3>&-
Is this a known issue with Fedora systems? Would it be possible to build the toolchain with different libtinfo linking options to avoid these warnings? Or is there a current workaround that I'm missing.
The text was updated successfully, but these errors were encountered:
If we updated the compiler we would no longer need libtinfo. That might be a bit too much work though, so for now you could always just build the compiler/linker for fedora manually.... or we could probably do that.
I tested with the nightly build, but the warning persists in the same manner, flooding the console as the compiler builds each file:
[compiling] src/file1.c
/home/.../CEdev/bin/ez80-clang: /lib64/libtinfo.so.6: no version information available (required by /home/.../CEdev/bin/ez80-clang)
[compiling] src/file2.c
/home/.../CEdev/bin/ez80-clang: /lib64/libtinfo.so.6: no version information available (required by /home/.../CEdev/bin/ez80-clang)
# etc lol
[compiling] src/main.c
/home/.../CEdev/bin/ez80-clang: /lib64/libtinfo.so.6: no version information available (required by /home/.../CEdev/bin/ez80-clang)
[convimg] icon.png
[linking] bin/demo.bin
[success] bin/demo.8xp, 6969 bytes
My afore-written wrapper script is still a sufficient local solution for me though. :)
Uh oh!
There was an error while loading. Please reload this page.
Issue:
When building on Fedora 41, the toolchain outputs warnings about missing version information for libtinfo:
This warning appears for both ez80-clang and ez80-link during the build process. The warning obviously doesn't affect functionality but it does flood the build output.
Environment:
/lib64/libtinfo.so.6
->libtinfo.so.6.5
Digging a little bit deeper:
$ readelf -V /lib64/libtinfo.so.6 # Shows GLIBC versions 2.2.5 through 2.33
The issue appears to be distribution-specific, possibly due to differences in how libtinfo is built between Ubuntu and Fedora. The toolchain binary expects version information that isn't present in Fedora's libtinfo, despite having a compatible version (6.5).
Currently using a wrapper script to filter out the warnings:
Is this a known issue with Fedora systems? Would it be possible to build the toolchain with different libtinfo linking options to avoid these warnings? Or is there a current workaround that I'm missing.
The text was updated successfully, but these errors were encountered: