NetBSD-Bugs archive

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

Re: lib/54449: _pic.a libraries contain unwanted debug information



The following reply was made to PR lib/54449; it has been noted by GNATS.

From: Christos Zoulas <christos%zoulas.com@localhost>
To: Andreas Gustafsson <gson%gson.org@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: lib/54449: _pic.a libraries contain unwanted debug information
Date: Sat, 10 Aug 2019 14:19:04 +0300

 There has been some discussion to not delete the debugging symbols from =
 the libraries,
 but instead to not install them by default.
 
 christos
 
 > On Aug 10, 2019, at 11:16 AM, Andreas Gustafsson <gson%gson.org@localhost> =
 wrote:
 >=20
 > Christos Zoulas wrote:
 >> Try this: https://www.netbsd.org/~christos/strip-piclib.diff
 >=20
 > Works for me.  I did a successful release build with this, and
 > the _pic.a libraries are a reasonable size, for example:
 >=20
 >  # cd /usr/lib
 >  # ls -al libcurses*
 >  -r--r--r--  1 root  wheel  372206 Aug  8 14:00 libcurses.a
 >  lrwxr-xr-x  1 root  wheel      16 Aug  8 14:00 libcurses.so -> =
 libcurses.so.8.2
 >  lrwxr-xr-x  1 root  wheel      16 Aug  8 14:00 libcurses.so.8 -> =
 libcurses.so.8.2
 >  -r--r--r--  1 root  wheel  196560 Aug  8 14:00 libcurses.so.8.2
 >  -r--r--r--  1 root  wheel  400126 Aug  8 14:00 libcurses_p.a
 >  -r--r--r--  1 root  wheel  356246 Aug  8 14:00 libcurses_pic.a
 >=20
 > I also ran ran the ATF tests, and there were no more failures than =
 usual.
 > --=20
 > Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index