Re: Possible ld-so bug.

Jeff Epler (jepler@inetnebr.com)
Mon, 15 Feb 1999 23:28:45 -0600


On Mon, Feb 15, 1999 at 06:37:55PM -0500, Richard B. Johnson wrote:
> Well you installed glibc-2.0.112 over glibc-2.0.111 That's okay! They
> have different version numbers. I installed glibc-2.0.7 over glibc-2.0.7
> The new one was compiled with a different C compiler. Same version number
> different code.

You mean you changed the contents of a shared library while it was being
used? It's not surprising that this broke things! FWIW, I suspect it
would have worked if it unlinked/renamed the old libs and then placed the
new, but it's hard to make this an atomic operation.

This isn't an ld.so bug. If you modified the image of any program while it
was running (say, by moving the entry point to fputs 16 bytes earlier)
you would expect it to run erratically. Or just limp. If it ran at all.

Jeff

-- 
\/ http://www.redhat.com/                        Jeff Epler jepler@inetnebr.com
According to my best recollection, I don't remember.
		-- Vincent "Jimmy Blue Eyes" Alo

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/