Overview
| Artifact ID: | fa03955fa88d57cb7a4236e797b1052beddb46b9 |
|---|---|
| Ticket: | 440891ffffffffffffffffffffffffffffffffff
Linux inlining defeats compat/*.c |
| User & Date: | dgp on 2001-07-13 01:05:09 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
I wanted to test compat/strtod.c on Linux 6.2 on my Alpha XL-300: $ cd unix $ setenv LIBOBJS strtod.o $ ./configure $ make test but the resulting tclsh didn't use the strtod() from compat/strtod.c. The problem was that with optimization level "-O" the compiler egcs-2.91.66 and the header files from glibc-devel-2.1.3-21 automatically inlines the function strtod() so it can't be replaced. The attached patch fixes the problem. It detects the intent to link in routines from compat/* and in that case adds to EXTRA_CFLAGS the switch -fno-inline.
- foundin changed to: "obsolete: 8.4a3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "53. Configuration and Build Tools"
- title changed to: "Linux inlining defeats compat/*.c"
- type changed to: "Bug"