Some of you may notice the new snapshots are quite a big bigger.
This is because we are going to start compiling libraries with
-g (and linking .so libraries with -X instead of -x).
This has some incredibe consequences for developers. We can
now use gdb to actually see where we are in the libraries, as long
as a modern source tree is in /usr/src
# gdb obj/ls
Starting program: /usr/obj/bin/ls/ls
(gdb) break in write
Breakpoint 1, 0x1c01ac42 in write ()
#0 0x1c01ac42 in write ()
#1 0x1c01a1f1 in __sflush (fp=0x3c0044f8) at /usr/src/lib/libc/stdio/fflush.c:75
#2 0x1c006775 in __swbuf (c=10, fp=0x3c0044f8) at /usr/src/lib/libc/stdio/wbuf.c:81
#3 0x1c0019f7 in printcol ()
#4 0x1c0010c5 in display ()
#5 0x1c000c41 in traverse ()
#6 0x1c0009a2 in ls_main ()
#7 0x1c001453 in main ()
81 if (fflush(fp))
82 return (EOF);
83 return (c);
This will make 3.9 take a bit more diskspace, but what the heck, OpenBSD
is really small.
This is really super friendly to developers.
Not commited yet by Mark Kettenis, but it is coming ...
Theo de Raadt wrote:
> Some of you may notice the new snapshots are quite a big bigger.
> This is because we are going to start compiling libraries with
> -g (and linking .so libraries with -X instead of -x).
Great idea. Now I can finaly send useful backtraces for all the
coredumps I get recently.
If people want to save on diskspace they can strip the libraries
I also noticed it is possible to install the symbols in separate
files. Is that perhaps an option? So to create a symbols39.tgz
Lbh unir whfg ivbyngrq gur Qvtvgny Zvyyraavhz Pbclevtug Npg ol oernxvat gur
cebgrpgvba bs pbclevtugrq zngrevny. Vs lbh ner abg n pvgvmra be erfvqrag bs
gur HFN, lbh evfx orvat vzcevfbarq naq uryq jvgubhg onvy sbe hc gb gjb jrrxf
hcba ragel gb gur HFN (c) Copyright 2001 by Hartmann Schaffer (signature only)
Simon Morgan wrote:
> Theo de Raadt <deraadt <at> cvs.openbsd.org> writes:
> > This will make 3.9 take a bit more diskspace, but what the heck, OpenBSD
> > is really small.
> Just out of curiosity, any idea roughly how much more?
yafc [hidden email]:/pub/OpenBSD/snapshots/i386> l base38.tgz
-r--r--r-- 1 1114 1114 40343214 Dec 06 20:36 base38.tgz
yafc [hidden email]:/pub/OpenBSD/snapshots/i386> l ../../3.8/i386/base38.tgz
-r--r--r-- 1 1114 1114 36790935 Sep 16 19:30 base38.tgz