[Bug 2162872] Review Request: ghc-constraints - Constraint manipulation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--- Comment #7 from Jens Petersen <petersen@xxxxxxxxxx> ---
Thank you, Jerry

I filed https://gitlab.haskell.org/ghc/ghc/-/issues/23216
about the overlinking issue you mentioned.
Let's see what upstream thinks about it.

(In reply to Jerry James from comment #6)
> 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.

Okay, I don't know enough about linking to understand the implications.


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




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux