Use strip --strip-unneeded instead of strip -x. strip -x strips all non-global symbols, but there are some non-global symbols referenced by relocations. ELF Tool Chain strip and GNU strip silently retain those symbols, but LLVM strip is more strict and reports an error. PR: 270958 Sponsored by: The FreeBSD Foundation
Details
Details
Diff Detail
Diff Detail
- Repository
- R11 FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
math/trlan/Makefile | ||
---|---|---|
51 | or we could just drop -x and not replace it with --strip-unneeded, just install the unstripped .a. It's not clear what's the "right" thing to do wrt stripping .a archives - for example, see this Red Hat bug report https://bugzilla.redhat.com/show_bug.cgi?id=1395280 or our tcl bug report https://core.tcl-lang.org/tcl/tktview/718de2132f487cf29dfdd0be2b90fcc0107c2aa7 the strip -x was here from inception, 9f04bb57b17ee |
Comment Actions
As we discussed privately, we don't usually strip static libraries, so either not stripping or --strip-uneeeded would be fine.
Also worth noting that the tarball isn't fetchable except from our cache and the site from WWW, http://crd.lbl.gov/~kewu/trlan.html, gives an HTTP 404. It might be best to mark this port as deprecated.