https://bugzilla.redhat.com/show_bug.cgi?id=2162872

Jerry James <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|fedora-review?              |fedora-review+



--- Comment #6 from Jerry James <[email protected]> ---
(In reply to Jens Petersen from comment #4)
> Could this be related with the undefined-non-weak-symbol warning?
> I don't think it is overlinked.

Actually, the library is overlinked, in the sense that it is directly linked
with libraries that supply no symbols it needs.  You can verify this by running
"ldd -u
/usr/lib64/ghc-9.2.6/lib/libHSconstraints-0.13.4-InOzZ0BhTs66yu6vYmTru-ghc9.2.6.so".
 This suggests it was linked without -Wl,--as-needed.  Then again, this seems
to be true of every other Haskell shared library.  Perhaps -Wl,--as-needed is
not used when linking Haskell libraries?  Sorry if I am asking stupid
questions.  I know very little about the ghc toolchain.

Interestingly, the libraries in /usr/lib64/ghc-9.2.6/lib do not have the
GNU_RELRO program header, meaning they were linked without -Wl,-z,relro, but
the libraries in the x86_64-linux-ghc-9.2.6 subdirectory do have that header.

Anyway, this package uses the required macros to build and install, so all this
must be oddities of the way ghc is used in Fedora.  This package is APPROVED.


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2162872
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to