[Bug 277712] lang/tcl86: strip: error: ... not stripping symbol '.L.str.1' because it is named in a relocation

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 15 Mar 2024 06:02:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277712

            Bug ID: 277712
           Summary: lang/tcl86: strip: error: ... not stripping symbol
                    '.L.str.1' because it is named in a relocation
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tcltk@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(tcltk@FreeBSD.org)
          Assignee: tcltk@FreeBSD.org

Host is a recent CURRENT running a poudriere jail (also CURRENT as its host,
FreeBSD 15.0-CURRENT #9 master-n268772-906521f8176: Wed Mar 13 06:22:59 CET
2024 amd64). Either on a 14.0-RELENG host and jail, 14-STABLE host and jail and
on bare metal CURRENT host, port lang/tcl86 fails to compile due to the strip
error shown below:

[...]
cc -O2 -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe  
-Wl,-z,muldefs -fstack-protector-strong  -Wl,--export-dynamic tclAppInit.o 
-L/wrkdirs/usr/ports/lang/tcl86/work/tcl8.6.14/unix -ltcl86 libtclstub86.a -ldl
-lz -lpthread -lm   "-Wl,-rpath,/usr/local/lib" -o tclsh
===========================================================================
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: stage          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Staging for tcl86-8.6.14_1
===>   Generating temporary packing list
/usr/bin/make install-binaries install-msgs  install-headers   
INSTALL_PROGRAM="STRIPPROG='strip' /bin/sh
/wrkdirs/usr/ports/lang/tcl86/work/tcl8.6.14/unix/install-sh -c -s" 
INSTALL_LIBRARY="STRIPPROG='strip -x' /bin/sh
/wrkdirs/usr/ports/lang/tcl86/work/tcl8.6.14/unix/install-sh -c -s"
Making directory /wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/lib/tcl8.6
Installing libtcl86.so.1 to
/wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/lib/
Installing libtcl86.a to /wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/lib
Installing tclsh as
/wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/bin/tclsh8.6
Installing tclConfig.sh to
/wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/lib/tcl8.6/
Installing tclooConfig.sh to
/wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/lib/tcl8.6/
Installing libtclstub86.a to
/wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/lib/
strip: error:
'/wrkdirs/usr/ports/lang/tcl86/work/stage/usr/local/lib/_inst.76732_': not
stripping symbol '.L.str.1' because it is named in a relocation
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/lang/tcl86/work/tcl8.6.14/unix
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.