[uClibc] ARM shared libs segfault

Erik Andersen andersen at codepoet.org
Fri May 21 00:29:37 UTC 2004


On Thu May 20, 2004 at 03:22:21PM -0700, Kenneth Crudup wrote:
> 
> On Thu, 20 May 2004, David Poole wrote:
> 
> > The linker isn't creating a correct executable. The output needs to
> > have a TEXTREL section in the .dynamic section so the loader will know
> > to mark the code segments read/write. The farthest I tracked it is the
> > pc_count and count fields of the elf32-arm_relocs_copied structure then
> > I ran out of time.
> 
> I know I keep asking, but is this in the latest snapshot yet?

No, it is not in the latest snapshot and it will not be in any
future snapshots.  This is a hack, demonstrating the nature of
the problem, not a solution fixing the problem.  The Right
Thing(tm) would be to find the linker bug and fix it.  It may
very well be this bug is fixed already, by someone, somewhere.

Adding random hacks working around compiler or linker bugs is
generally a bad idea.  That would be sortof like putting a
band-aid over a big infected splinter and taking anti-pain
medication, instead of pulling out the splinter and applying
antibiotic ointment.  Yes it would address the symptoms, but
would do nothing to solve the actual problem...

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--



More information about the uClibc mailing list