Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0900e5f958a63873745f0de78a9a0969133c6c9d068dba10b5eda5554f94a81a
Ticket: 718de2132f487cf29dfdd0be2b90fcc0107c2aa7
review use of strip on the stubs library
User & Date: emaste on 2023-04-24 16:53:23
Changes

  1. icomment:
    One other note - there were only two significant ports in the FreeBSD ports collection with this issue, TCL and PostgreSQL.
    
    PostgreSQL is now fixed, with the change here:
    https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=a14afd3bdc21c0c56401fb8cb2fce74f4b7dc446
    
    They changed -x to --strip-unneeded, but they were already using --strip-uneeded on shared libraries. This is only in the case that strip's -V output includes "GNU strip", so that's how they avoided running into this on Darwin etc.
    
    LLVM's strip includes "GNU strip" in its version string:
    # strip -V
    llvm-strip, compatible with GNU strip
    LLVM (http://llvm.org/):
      LLVM version 15.0.7
      Optimized build with assertions.
      Default target: x86_64-unknown-freebsd14.0
      Host CPU: znver2
    
    There seems to be no consensus on stripping .a archives, so it would be good to understand why the strip is there in the first place in order to find the best path forward.
    
  2. login: "emaste"
  3. mimetype: "text/plain"