[uClinux-dev] BINFMT_RELOC error when linking to pthreads

Paul_Dale at au.securecomputing.com Paul_Dale at au.securecomputing.com
Wed Feb 6 17:28:48 EST 2008


Gavin wrote:

> The other thing that frequently helps is to disable PIC code, which can be
> done by disabling XIP and shared libraries in the vendor config file,
> followed by a clean rebuild.  Basically you need to make sure that the
> resulting binary doesn't have the Has-PIC-GOT flag (according to flthdr).

This would work as the data and code segments get merged into a single lump and the undecidability goes away.  You lose the benefits of code sharing though :-(


Regards,

Pauli
-- 
Dr Paul Dale
Software Grunt

Secure Computing(r) 
your trusted source for enterprise security(tm)
www.securecomputing.com <http://www.securecomputing.com/> 




More information about the uClinux-dev mailing list