public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/17850] New: [4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared
@ 2004-10-05 19:03 rearnsha at gcc dot gnu dot org
  2004-10-05 19:05 ` [Bug libstdc++/17850] " rearnsha at gcc dot gnu dot org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2004-10-05 19:03 UTC (permalink / raw)
  To: gcc-bugs

Bootstrapping is failing on an arm-unknown-elf cross because of the following error:

/work/rearnsha/gnu/egcs-cross/gcc/xgcc -shared-libgcc -B/work/rearnsha/gnu/egcs-
cross/gcc/ -nostdinc++ -L/work/rearnsha/gnu/egcs-cross/arm-elf/libstdc++-v3/src 
-L/work/rearnsha/gnu/egcs-cross/arm-elf/libstdc++-v3/src/.libs -nostdinc -B/work
/rearnsha/gnu/egcs-cross/arm-elf/newlib/ -isystem /work/rearnsha/gnu/egcs-cross/
arm-elf/newlib/targ-include -isystem /home/rearnsha/gnusrc/egcs-cross/newlib/lib
c/include -B/work/rearnsha/gnu/testinstall/arm-elf/bin/ -B/work/rearnsha/gnu/tes
tinstall/arm-elf/lib/ -isystem /work/rearnsha/gnu/testinstall/arm-elf/include -i
system /work/rearnsha/gnu/testinstall/arm-elf/sys-include -L/work/rearnsha/gnu/e
gcs-cross/ld -I/work/rearnsha/gnu/egcs-cross/arm-elf/libstdc++-v3/include/arm-el
f -I/work/rearnsha/gnu/egcs-cross/arm-elf/libstdc++-v3/include -I/home/rearnsha/
gnusrc/egcs-cross/libstdc++-v3/libsupc++ -O2 -O2 -g -g -O2 -fno-implicit-templat
es -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -c
 c++locale.cc -o c++locale.o
c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&, std::_Ios
_Iostate&, int* const&) [with _Tv = long double]':
c++locale.cc:123: error: 'strtold' was not declared in this scope
gnumake[3]: *** [c++locale.lo] Error 1

This was probably introduced by the following patch

2004-10-03  Roger Sayle  <roger@eyesopen.com>

        * config/locale/generic/c_locale.cc (__convert_to_v): Use
        _GLIBCXX_HAVE_STRTOF instead _GLIBCXX_USE_C99 to check for strtof.
        Likewise, use _GLIBCXX_HAVE_STRTOLD instead of _GLIBCXX_USE_C99
        to check for presence of strtold.

-- 
           Summary: [4.0 regression] bootstrap failure - libstdc++ uses
                    strtold when undeclared
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: critical
          Priority: P2
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rearnsha at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,roger at eyesopen dot
                    com
GCC target triplet: arm-unknown-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17850


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2004-10-07 21:24 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-05 19:03 [Bug libstdc++/17850] New: [4.0 regression] bootstrap failure - libstdc++ uses strtold when undeclared rearnsha at gcc dot gnu dot org
2004-10-05 19:05 ` [Bug libstdc++/17850] " rearnsha at gcc dot gnu dot org
2004-10-05 19:16 ` [Bug libstdc++/17850] [3.4/4.0 " pinskia at gcc dot gnu dot org
2004-10-05 19:21 ` rearnsha at gcc dot gnu dot org
2004-10-05 20:58 ` roger at eyesopen dot com
2004-10-06  0:05 ` rearnsha at gcc dot gnu dot org
2004-10-07  3:37 ` bkoz at gcc dot gnu dot org
2004-10-07  3:40 ` bkoz at gcc dot gnu dot org
2004-10-07  8:32 ` rearnsha at gcc dot gnu dot org
2004-10-07 15:39 ` bkoz at gcc dot gnu dot org
2004-10-07 15:52 ` cvs-commit at gcc dot gnu dot org
2004-10-07 16:06 ` [Bug libstdc++/17850] [3.4 " pinskia at gcc dot gnu dot org
2004-10-07 21:04 ` cvs-commit at gcc dot gnu dot org
2004-10-07 21:24 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).