You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/03/18 20:54:00 UTC

[jira] Commented: (STDCXX-164) [gcc 3.4.2/HP-UX 11.11] configuration failure due to long_double not being defined

    [ http://issues.apache.org/jira/browse/STDCXX-164?page=comments#action_12370952 ] 

Martin Sebor commented on STDCXX-164:
-------------------------------------

Here's the relevant portion of config.log:

gcc -c -pedantic -nostdinc++ -O2  -Wall -W -Wcast-qual -Winline -Wshadow -Wwrite-strings -Wno-long-long -Wcast-align -D_RWSTD_USE_CONFIG -I. /house/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp
/house/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp: In function `int main()':
/house/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp:428: warning: comparison of unsigned expression < 0 is always false
/house/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp:785: error: `long_double' does not name a type
/house/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp:785: error: extra semicolon
/house/sebor/stdcxx-4.1.3/etc/config/src/LIMITS.cpp:788: error: 'union main()::<anonymous>' has no member named 'data'

> [gcc 3.4.2/HP-UX 11.11] configuration failure due to long_double not being defined
> ----------------------------------------------------------------------------------
>
>          Key: STDCXX-164
>          URL: http://issues.apache.org/jira/browse/STDCXX-164
>      Project: C++ Standard Library
>         Type: Bug
>   Components: Configuration
>     Versions: 4.1.3
>  Environment: $ uname -mrs && gcc -v
> HP-UX B.11.11 9000/800
> Reading specs from /usr/local/lib/gcc/hppa2.0w-hp-hpux11.11/3.4.2/specs
> Configured with: /scratch/njs/pkgbuild/3.3.1/hpux-11/gcc-3.4.2/configure --enable-languages=c,c++ --enable-threads=posix --disable-nls --with-gnu-as --without-gnu-ld --with-as=/usr/local/bin/as --with-ld=/usr/ccs/bin/ld --with-libiconv-prefix=/usr/local --prefix=/usr/local
> Thread model: posix
> gcc version 3.4.2
>     Reporter: Martin Sebor
>     Assignee: Martin Sebor
>     Priority: Critical
>      Fix For: 4.1.4

>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira