Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-164

[gcc 3.4.2/HP-UX 11.11] configuration failure due to long_double not being defined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.1.3
    • 4.2.0
    • Configuration
    • None

    Description

      The library fails to compile with gcc 3.4.2 on HP-UX 11.11:

      $ nice make BUILDTYPE=8d BUILDDIR=/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2
      GNUmakefile:283: "CONFIG not specified, using gcc.config"
      creating BUILDDIR=/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2
      generating /house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/makefile.in from /house/sebor/stdcxx-4.1.3/etc/config/gcc.config
      make[1]: Entering directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2'
      make[2]: Entering directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include'
      make config
      make[3]: Entering directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include'

      configuring for gcc-3.4.2 on hp-ux-b.11.11-9000-800

      checking if compiler is sane ok
      checking if linker is sane ok
      checking if run environment is sane ok
      checking system architecture ILP32 big endian
      ...
      checking for wint_t in <wchar.h> and <wctype.h> ok
      make[3]: Leaving directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include'
      touch config.h
      make[2]: Leaving directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include'
      make[2]: Entering directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/lib'
      generating dependencies for $(TOPDIR)/src/atomic-cxx.S
      cc1: warning: command line option "-nostdinc+" is valid for C/ObjC+ but not for C
      generating dependencies for $(TOPDIR)/src/wctype.cpp
      ...
      generating dependencies for $(TOPDIR)/src/assert.cpp
      make[2]: Leaving directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/lib'
      make[2]: Entering directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/lib'
      gcc -c -I/house/sebor/stdcxx-4.1.3/include/ansi -D_RWSTD_USE_CONFIG -I/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include -I/house/sebor/stdcxx-4.1.3/include -pedantic -nostdinc++ -O2 -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC /house/sebor/stdcxx-4.1.3/src/assert.cpp
      gcc -c -I/house/sebor/stdcxx-4.1.3/include/ansi -D_RWSTD_USE_CONFIG -I/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include -I/house/sebor/stdcxx-4.1.3/include -pedantic -nostdinc++ -O2 -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC /house/sebor/stdcxx-4.1.3/src/atomic-cxx.S
      cc1: warning: command line option "-nostdinc+" is valid for C/ObjC+ but not for C
      gcc -c -I/house/sebor/stdcxx-4.1.3/include/ansi -D_RWSTD_USE_CONFIG -I/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/include -I/house/sebor/stdcxx-4.1.3/include -pedantic -nostdinc++ -O2 -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -fPIC /house/sebor/stdcxx-4.1.3/src/bitset.cpp
      In file included from /house/sebor/stdcxx-4.1.3/include/rw/_strref.h:28,
      from /house/sebor/stdcxx-4.1.3/include/string:36,
      from /house/sebor/stdcxx-4.1.3/include/bitset:27,
      from /house/sebor/stdcxx-4.1.3/src/bitset.cpp:24:
      /house/sebor/stdcxx-4.1.3/include/rw/_allocator.h: In member function `long unsigned int std::allocator<_TypeT>::max_size() const':
      /house/sebor/stdcxx-4.1.3/include/rw/_allocator.h:155: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/rw/_allocator.h:155: error: (Each undeclared identifier is reported only once for each function it appears in.)
      /house/sebor/stdcxx-4.1.3/include/rw/_allocator.h: In member function `long unsigned int std::allocator<const _TypeT>::max_size() const':
      /house/sebor/stdcxx-4.1.3/include/rw/_allocator.h:246: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      In file included from /house/sebor/stdcxx-4.1.3/include/bitset:27,
      from /house/sebor/stdcxx-4.1.3/src/bitset.cpp:24:
      /house/sebor/stdcxx-4.1.3/include/string: At global scope:
      /house/sebor/stdcxx-4.1.3/include/string:138: error: `_RWSTD_SIZE_MAX' was not declared in this scope
      In file included from /house/sebor/stdcxx-4.1.3/src/bitset.cpp:24:
      /house/sebor/stdcxx-4.1.3/include/bitset:87: error: `_RWSTD_CHAR_BIT' was not declared in this scope
      /house/sebor/stdcxx-4.1.3/include/bitset:199: error: `_RWSTD_SIZE_MAX' was not declared in this scope
      /house/sebor/stdcxx-4.1.3/include/bitset:233: error: `_RWSTD_SIZE_MAX' was not declared in this scope
      /house/sebor/stdcxx-4.1.3/include/bitset:246: error: `_RWSTD_SIZE_MAX' was not declared in this scope
      /house/sebor/stdcxx-4.1.3/include/bitset:264: error: `_RWSTD_SIZE_MAX' was not declared in this scope
      /house/sebor/stdcxx-4.1.3/include/bitset:277: error: `_RWSTD_SIZE_MAX' was not declared in this scope
      /house/sebor/stdcxx-4.1.3/include/bitset:295: error: `_RWSTD_SIZE_MAX' was not declared in this scope
      /house/sebor/stdcxx-4.1.3/include/bitset: In member function `void std::bitset<_Size>::_C_from_ulong(long unsigned int)':
      /house/sebor/stdcxx-4.1.3/include/bitset:101: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/bitset: In constructor `std::bitset<_Size>::bitset(const char*, long unsigned int, long unsigned int, char, char)':
      /house/sebor/stdcxx-4.1.3/include/bitset:266: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/bitset: In constructor `std::bitset<_Size>::bitset(const wchar_t*, long unsigned int, long unsigned int, wchar_t, wchar_t)':
      /house/sebor/stdcxx-4.1.3/include/bitset:279: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/bitset: In constructor `std::bitset<_Size>::bitset(const _CharT*, long unsigned int, long unsigned int, _CharT, _CharT)':
      /house/sebor/stdcxx-4.1.3/include/bitset:297: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/bitset: In member function `std::bitset<_Size>& std::bitset<_Size>::flip()':
      /house/sebor/stdcxx-4.1.3/include/bitset:375: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/bitset: In member function `std::bitset<_Size>& std::bitset<_Size>::set()':
      /house/sebor/stdcxx-4.1.3/include/bitset:515: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/bitset: In member function `std::bitset<_Size>& std::bitset<_Size>::operator<<=(long unsigned int)':
      /house/sebor/stdcxx-4.1.3/include/bitset:559: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      In file included from /house/sebor/stdcxx-4.1.3/include/bitset:738,
      from /house/sebor/stdcxx-4.1.3/src/bitset.cpp:24:
      /house/sebor/stdcxx-4.1.3/include/bitset.cc: In function `void _rw::_rw_bitset(long unsigned int*, long unsigned int, const _CharT*, long unsigned int, const _Traits*, _CharT, _CharT, long unsigned int, long unsigned int, const char*, const char*)':
      /house/sebor/stdcxx-4.1.3/include/bitset.cc:33: error: `_RWSTD_CHAR_BIT' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/include/bitset.cc:35: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp: In function `void _rw::_rw_bitset(long unsigned int*, long unsigned int, const _CharT*, long unsigned int, const _Traits*, _CharT, _CharT, long unsigned int, long unsigned int, const char*, const char*) [with _CharT = char, _Traits = std::char_traits<char>]':
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp:80: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp: In function `void _rw::_rw_bitset(long unsigned int*, long unsigned int, const _CharT*, long unsigned int, const _Traits*, _CharT, _CharT, long unsigned int, long unsigned int, const char*, const char*) [with _CharT = wchar_t, _Traits = std::char_traits<wchar_t>]':
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp:136: error: `_RWSTD_SIZE_MAX' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp: In function `void _rw::_rw_shl(long unsigned int*, long unsigned int, long unsigned int)':
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp:230: error: `_RWSTD_CHAR_BIT' undeclared (first use this function)
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp: In function `void _rw::_rw_shr(long unsigned int*, long unsigned int, long unsigned int)':
      /house/sebor/stdcxx-4.1.3/src/bitset.cpp:269: error: `_RWSTD_CHAR_BIT' undeclared (first use this function)
      make[2]: *** [bitset.o] Error 1
      make[2]: Leaving directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2/lib'
      make[1]: *** [lib] Error 2
      make[1]: Leaving directory `/house/sebor/build/stdcxx-4.1.3-gcc-3.4.2'
      make: *** [libstd] Error 2

      Attachments

        Issue Links

          Activity

            People

              sebor Martin Sebor
              sebor Martin Sebor
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: