[BUG] libDSS.so has broken linkage on hardened linux

Raphael Collet raphael.collet at uclouvain.be
Wed Jul 9 10:26:36 CEST 2008


Dear Keri,

The three patches you have sent recently (support for ultrasparc, 
parallel make support, and this one) have been applied to both the trunk 
and the release maintenance branch (mozart-1-4-x).  They will be part of 
Mozart 1.4.1.

Thanks again for your support!

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