On Sat, Jan 8, 2022 at 6:37 AM Mattia Verga via devel
<devel@lists.fedoraproject.org> wrote:
> `E: shared-library-without-dependency-information
> /usr/lib64/libapogee.so.3.2`
> I'm not sure if this is a rpmlint false positive. All I can found
> searching is an issue in rpmlint which says that the library could be
> statically linked [3], but running ldd on the file shows it is shared.
> (as far I understand, I'm not a software developer)

I see this happen with libraries that do not depend on any symbols in
libc.  Check pretty much any ocaml-* package, for example, and rpmlint
will report this.  If your library functions as expected, then ignore
this message.

> `E: missing-PT_GNU_STACK-section /usr/lib64/libapogee.so.3.2`
> I can't find anything searching for this online. Maybe another false
> positive?

This means that the toolchain thinks your library needs an executable
stack.  That usually happens because the project includes assembly
language files, and those files do not contain the magic to tell the
toolchain that the stack does not need to be executable.  Try adding
-Wa,--noexecstack to the build flags or -Wl,-z,noexecstack to the
linker flags.
-- 
Jerry James
http://www.jamezone.org/
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to