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

 Christos Zoulas wrote:
 >  Try this: https://www.netbsd.org/~christos/strip-piclib.diff
 
 Works for me.  I did a successful release build with this, and
 the _pic.a libraries are a reasonable size, for example:
 
   # 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
 
 I also ran ran the ATF tests, and there were no more failures than usual.
 -- 
 Andreas Gustafsson, gson%gson.org@localhost
 


Home | Main Index | Thread Index | Old Index