Bug 278173 - lang/tcl9: fails to build when base built WITH_LLVM_BINUTILS
Summary: lang/tcl9: fails to build when base built WITH_LLVM_BINUTILS
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-tcltk (Nobody)
URL:
Keywords:
Depends on:
Blocks: 258872
  Show dependency treegraph
 
Reported: 2024-04-04 16:59 UTC by Ed Maste
Modified: 2024-04-05 12:28 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (tcltk)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer freebsd_triage 2024-04-04 16:59:45 UTC
Installing libtcl9.0.so to /wrkdirs/usr/ports/lang/tcl9/work/stage/usr/local/lib/
Installing tclsh as /wrkdirs/usr/ports/lang/tcl9/work/stage/usr/local/bin/tclsh9.0
Installing tclConfig.sh to /wrkdirs/usr/ports/lang/tcl9/work/stage/usr/local/lib/tcl9.0/
Installing tclooConfig.sh to /wrkdirs/usr/ports/lang/tcl9/work/stage/usr/local/lib/tcl9.0/
Installing libtclstub9.0.a to /wrkdirs/usr/ports/lang/tcl9/work/stage/usr/local/lib/
strip: error: '/wrkdirs/usr/ports/lang/tcl9/work/stage/usr/local/lib/_inst.20041_': not stripping symbol '.L.str' because it is named in a relocation
*** Error code 1

https://pkg-status.freebsd.org/gohan04/data/mainamd64PR258872-default-foo/2024-04-01_17h03m03s/logs/errors/tcl90-9.0.b1_1.log

see https://github.com/llvm/llvm-project/issues/47468 and
Comment 1 Ed Maste freebsd_committer freebsd_triage 2024-04-04 17:07:40 UTC
The trailing "and" was supposed to mention PR270768 and PR277712

It looks like this was fixed upstream, then reverted: https://core.tcl-lang.org/tcl/tktview/718de2132f487cf29dfdd0be2b90fcc0107c2aa7
then reapplied: https://core.tcl-lang.org/tcl/info/af4865b183
so I'm not sure what's up
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-04-05 12:27:02 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c562c2e908700878ad60414f307611721d7c80bd

commit c562c2e908700878ad60414f307611721d7c80bd
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-04-05 12:23:29 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-04-05 12:26:51 +0000

    lang/tcl9: fix linking with LLVM binutils

    PR:             278173
    Reported by:    emaste

 lang/tcl9/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
Comment 3 Pietro Cerutti freebsd_committer freebsd_triage 2024-04-05 12:28:17 UTC
thanks, sorry.