Bug 1719810 - rpmlint: E: library-not-linked-against-libc (libHS*.so files not directly linked to libc.so)
Summary: rpmlint: E: library-not-linked-against-libc (libHS*.so files not directly lin...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: ghc
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-12 15:19 UTC by Jens Petersen
Modified: 2019-09-06 10:49 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Jens Petersen 2019-06-12 15:19:00 UTC
Description of problem:
See comments in bug 1711896 for details.

rpmlint warns that libraries are not getting linked to libc.so.

Also there are many undefined-non-weak-symbol warnings
(not sure if this is related to above).


Version-Release number of selected component (if applicable):
ghc-8.4.4

Additional info:
Need to check if this is specfic to the Fedora builds/configuration.

Comment 1 Ben Cotton 2019-08-13 17:06:19 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 2 Ben Cotton 2019-08-13 19:11:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 3 Jens Petersen 2019-09-06 08:56:13 UTC
I reported this upstream now as an RFE now.

https://gitlab.haskell.org/ghc/ghc/issues/17157

Basically problem is ghc does not link libHSrts at build time, since the exact rts is chosen at runtime.
It seems like using weak symbols might solve this but that requires upstream work.

Comment 4 Jens Petersen 2019-09-06 10:01:58 UTC
https://gitlab.haskell.org/ghc/ghc/issues/17157 is about the undefined RTS symbols rpmlint warnings.

I am not sure yet if library-not-linked-against-libc is a real problem or not.

Comment 5 Jens Petersen 2019-09-06 10:49:48 UTC
I reported bug 1749738 against rpmlint to query if library-not-linked-against-libc is really an error.


Note You need to log in before you can comment on or make changes to this bug.