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

Re: Bug#415194: libextlib-ocaml-dev: No debugging information

On Mon, 2007-04-09 at 15:12 +0200, Stefano Zacchiroli wrote:

> So, apparently, Julien's guess is right: it is indeed possible to link
> without debugging information OCaml objects which have been previously
> linked with debugging information. 

Of course native code (I mean C) is just the same. You can
run strip on object files and executables, and it also has
no impact on performance .. not even much on load time:
if the OS isn't completely brain dead the pages for the
library will be mmaped right off the disk and the RAM
for the mmaped debug symbols won't be allocated unless
they're used.

So again .. the situation is quite similar to C,
yet Debian has a policy not to ship the debug symbols.

In the old days perhaps this made sense, but not on
a modern 64 bit machine, where you have heaps of
both address and disk space (compared to program 
code sizes anyhow).

So either Debian is out of touch .. or there are additional
reasons like running Linux on a mobile phone or cost of 
downloading a complete Debian installation being blown up:
Ubuntu tries to fit the whole desktop environment on a single CD.

Again .. simply a data point .. this time on the opposite side
of the argument compared to my last one (to show I'm neutral :).

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

Reply to: