[BUG] libDSS.so has broken linkage on hardened linux
Raphael Collet
raphael.collet at uclouvain.be
Sun Jul 6 12:02:19 CEST 2008
Dear Keri,
Thanks a lot for the patches you sent. This really helps, since I am
really not good for all these configure/linking stuff. I will push your
patches on the svn trunk and branch mozart-1-4-x on Monday. They will
be part of Mozart 1.4.1, which should probably show up soon.
Cheers,
raph
Keri Harris wrote:
> DSS linked dynamically on a linux system with a hardened kernel is causing
> problems due to TEXTRELs:
>
> $ scanelf -qyRF '%T %p' libDSS.so
> libDSS.so: _ZTV14ThreadMediator [0x41B7E] in (optimized out: previous
> _ZN14ThreadMediatorC2Ev) [0x41B7C]
> libDSS.so: _ZTV14ThreadMediator [0x41B82] in (optimized out: previous
> _ZN14ThreadMediatorC2Ev) [0x41B7C]
> <snip>
> libDSS.so:
> _ZN13_dss_internal11DksBackbone24m_installBackboneServiceEPNS_12LargeMessageE
> [0x82AE8] in (optimized out: previous
> _ZN13_dss_internal11DksBackbone15m_receivedRouteEiPNS_10DksMessageE)
> [0x82994]
> libDSS.so: _ZN13_dss_internal12LargeMessage7isEmptyEv [0x82964] in
> (optimized out: previous
> _ZN13_dss_internal11DksBackbone19m_newResponsabilityEiiiPNS_10DksMessageE)
> [0x8291C]
> libDSS.so
>
> $ scanelf -qyRF '%T %p' libDSS.so | wc -l
> 5329
>
> libDSS.so should be linked as PIC. The attached patch addresses this.
>
>
> ------------------------------------------------------------------------
>
> _________________________________________________________________________________
> mozart-hackers mailing list mozart-hackers at mozart-oz.org
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
More information about the mozart-hackers
mailing list