From: <no...@so...> - 2001-07-13 01:11:04
|
Bugs item #440891, was opened at 2001-07-12 18:05 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=440891&group_id=10894 Category: Configure and Build Tools Group: 8.4a3 Status: Open Resolution: None Priority: 5 Submitted By: Don Porter (dgp) >Assigned to: Mo DeJong (mdejong) Summary: Linux inlining defeats compat/*.c Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2001-07-12 18:11 Message: Logged In: YES user_id=80530 assigning to maintainer for review. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=110894&aid=440891&group_id=10894 |