Date: Mon, 30 Jun 2003 12:03:57 -0700 (PDT) From: Ruslan Ermilov <ru@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/share/mk bsd.lib.mk Message-ID: <200306301903.h5UJ3viK011519@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ru 2003/06/30 12:03:57 PDT FreeBSD src repository Modified files: share/mk bsd.lib.mk Log: The use of ld(1) to strip compiler local and non-global symbols from object files has bitrotted over the last thirteen years, and it now does more harm than good. An attempt to work around the problems caused by using ld(1) for stripping was to pass LDFLAGS to the ld(1) command, but this was not right either as ${LDFLAGS} should, by design, be used with cc(1) and not ld(1). One of the proposed solutions was to use the objcopy(1) utility to do the strip work, and the other would be to use strip(1), but Bruce Evans suggested not stripping any symbols at all. This works by leaving the grunt work to the final strip(1) command (when installing the binary). Submitted by: bde Revision Changes Path 1.143 +0 -36 src/share/mk/bsd.lib.mk
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306301903.h5UJ3viK011519>