Date: Wed, 14 Feb 2018 14:27:42 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 225890] 'strip' corrupts static libraries Message-ID: <bug-225890-8-OsZArKDyT1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-225890-8@https.bugs.freebsd.org/bugzilla/> References: <bug-225890-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225890 --- Comment #1 from Ed Maste <emaste@freebsd.org> --- GNU strip behaves the same way, and I would suggest using objcopy instead. = GNU strip's man page reports that -R <sectionnme> removes "any section named <sectionname> from the output file, in addition to whatever sections would otherwise be removed." WRT ELF Tool Chain strip, it appears it defaults to STRIP_ALL (-s) unless o= ne of these options is set: -S,-g,-d, --only-keep-debug, --strip-unneeded, -x, -X, -N It seems to me that -R should be included in the list, and that the behavio= ur currently provided by -R should instead be obtained with -R -s, but that wo= uld be a divergence from GNU strip that we probably do not want to have. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225890-8-OsZArKDyT1>