Overview
| Artifact ID: | f79ea6c3269c050cc79cbe286cbd63fa9af47160583029a875c4b4096151b694 |
|---|---|
| Ticket: | 840660e5a1ab8a7bfe61d404913caa9ef3d18d35
fixstrtod.c breaks cross compilation |
| User & Date: | dkf on 2018-10-24 19:44:45 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
[20:35] <maartenBE> Hey, I'm trying to package tcl for conan. While cross building from x64 to x86, I get the following error during linking: [20:35] <maartenBE> fixstrtod.o: In function `fixstrtod': [20:35] <maartenBE> fixstrtod.c:(.text+0x0): multiple definition of `fixstrtod' [20:35] <maartenBE> strtod.o:strtod.c:(.text+0x0): first defined here [20:35] <maartenBE> collect2: error: ld returned 1 exit status [20:37] dkf you probably don't need fixstrtod.c [20:37] dkf it's very very old compatibility code to work around a problem in (IIRC) ancient versions of Solaris [20:38] <maartenBE> I know, this is using the 8.6.8 tar ball. [20:38] dkf It belongs to Tcl's pre-history (i.e., it comes from before the first commit we still have in our VCS repository) [20:39] dkf some quirk of cross-compilation seems to have enabled it [20:39] dkf (history that old is archaeology) [20:40] dkf digging out the medieval midden of code [20:41] <maartenBE> configure spits out these lines [20:41] <maartenBE> checking for strtod... yes [20:41] <maartenBE> checking proper strtod implementation... unknown [20:41] <maartenBE> checking for strtod... (cached) yes [20:41] <maartenBE> checking for Solaris2.4/Tru64 strtod bugs... buggy [20:42] <maartenBE> It would be awesome if you could forward this on the mailing list.
- foundin changed to: "8.6.8"
- is_private changed to: "0"
- login: "dkf"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "dkf"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "fixstrtod.c breaks cross compilation"
- type changed to: "Bug"