[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dh_strip and -X

On Fri, Jan 18, 2002 at 04:55:31PM +0100, Stefano Zacchiroli wrote:
> On Thu, Jan 17, 2002 at 03:20:12PM -0600, Steve Langasek wrote:
> > Every ELF binary I've ever seen has a .text section, so I'm sure there 
> > must be more to it than that.  Either ocaml's compiler is placing 
> > important data in a section normally not used for non-expendable 
> > information, or strip (or the standard Debian use of strip) is 
> > mistakenly removing a section/symbol which it shouldn't.  /Something/ 
> > has a bug, so it would be nice if this was fixed (at least eventually) 
> > so that ocaml-based binaries can also benefit from strip. :)
> I don't know very well the ocaml executable internals, so I will forward
> this question to the ocaml development team.

Well, the problem is with bytecode executables, which are comprised of the
virtual machine (ocamlrun) and the actual bytecode program to be run by it.

strip simply removes this bytecode program, and as thus, there is nothing
anymore for the virtual machine to run.


Sven Luther

Reply to: