Overview
| Artifact ID: | 93a5a8decdeed21c17fba191d9be60b341f0562765389301a3cf6a5c53e6dfb2 |
|---|---|
| Ticket: | 718de2132f487cf29dfdd0be2b90fcc0107c2aa7
review use of strip on the stubs library |
| User & Date: | gahr on 2023-04-13 14:19:33 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
Over at FreeBSD, I got a bug report regarding Tcl (8.6) not building using the LLVM linker: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270768. TL;DR INSTALL_STRIP_LIBRARY uses strip -x (https://core.tcl-lang.org/tcl/file?ci=3a6e95a25219a787&name=unix/Makefile.in&ln=154), which means we want to strip all non-global symbols, but .L.str.1 is referenced by relocations: # readelf -r tclStubLib.o | grep .L.str.1 000000000000004e 0000000300000002 R_X86_64_PC32 0000000000000031 .L.str.1 - 4 00000000000000f3 0000000300000002 R_X86_64_PC32 0000000000000031 .L.str.1 - 4 0000000000000153 0000000300000002 R_X86_64_PC32 0000000000000031 .L.str.1 - 4 Is -x correct? Can we do without it?
- foundin changed to: "8.6"
- is_private changed to: "0"
- login: "gahr"
- priority changed to: "5 Medium"
- private_contact changed to: "438e59f1f1c891b29d2528ed82d1e629cecc6336"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "gahr"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "review use of strip on the stubs library"
- type changed to: "Bug"