Rocky Linux sys_nerr, sys_errlist deprecation

Sam James sam@gentoo.org
Mon Feb 3 20:41:05 GMT 2025


Arian Cabrera <acabrera@ciq.com> writes:

> To whom it may concern,
>
> I wanted to raise a question, regarding binutils-devel shipping libiberty library with deprecated functions (sys_nerr,
> sys_errlist) causing the following errors in Rocky Linux versions using glibbc 2.32 and up. 

Note that libiberty isn't really supposed to be a public library at all,
it's really intended to be used statically linked within a project like
binutils or gcc.

>
> Why the following doesn't work, if binutils ships liberty specifically for this? Correct? 
> Any workaround? If the workaround is to change code and move away from using liberty, could you please explain the reason
> why? 

I suspect it's because the libiberty config.h isn't being included so it
doesn't know it needs to define the fallbacks.


More information about the Binutils mailing list