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 2005/09/20 19:18:28 UTC
[jira] Created: (STDCXX-38) [Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
[Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
---------------------------------------------------------------------
Key: STDCXX-38
URL: http://issues.apache.org/jira/browse/STDCXX-38
Project: STDCXX
Type: Bug
Components: Build
Versions: 4.1.2
Environment: Compaq C++ 7.1 -O2
Reporter: Martin Sebor
Assigned to: Martin Sebor
Priority: Critical
Fix For: 4.1.3
cxx -c -D_RWSTD_SHARED_LIB -pthread -D_RWSTD_USE_CONFIG -I/build/sebor/cxx-7.1-12d/include -I/build/sebor/dev/stdlib/include -D_RWSTD_NO_EXPORT -x cxx -nocxxstd -std strict_ansi_errors -O2 -ptr repository.ti -w1 -msg_disable 450 /build/sebor/dev/stdlib/src/collate.cpp
cxx: Error: /build/sebor/dev/stdlib/include/limits, line 368: identifier
"_RWSTD_FLT_HAS_DENORM" is undefined
_RWSTD_STATIC (float, float_denorm_style, has_denorm,
----^
cxx: Error: /build/sebor/dev/stdlib/include/limits, line 415: identifier
"_RWSTD_DBL_HAS_DENORM" is undefined
_RWSTD_STATIC (double, float_denorm_style, has_denorm,
----^
cxx: Error: /build/sebor/dev/stdlib/include/limits, line 464: identifier
"_RWSTD_LDBL_HAS_DENORM" is undefined
_RWSTD_STATIC (long double, float_denorm_style, has_denorm,
----^
cxx: Info: 3 errors detected in the compilation of "/build/sebor/dev/stdlib/src/collate.cpp".
--
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
[jira] Resolved: (STDCXX-38) [Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-38?page=all ]
Martin Sebor resolved STDCXX-38:
--------------------------------
Resolution: Fixed
Closing as fixed.
> [Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
> ---------------------------------------------------------------------
>
> Key: STDCXX-38
> URL: http://issues.apache.org/jira/browse/STDCXX-38
> Project: STDCXX
> Type: Bug
> Components: Build
> Versions: 4.1.2
> Environment: Compaq C++ 7.1 -O2
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Critical
> Fix For: 4.1.3
>
> cxx -c -D_RWSTD_SHARED_LIB -pthread -D_RWSTD_USE_CONFIG -I/build/sebor/cxx-7.1-12d/include -I/build/sebor/dev/stdlib/include -D_RWSTD_NO_EXPORT -x cxx -nocxxstd -std strict_ansi_errors -O2 -ptr repository.ti -w1 -msg_disable 450 /build/sebor/dev/stdlib/src/collate.cpp
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 368: identifier
> "_RWSTD_FLT_HAS_DENORM" is undefined
> _RWSTD_STATIC (float, float_denorm_style, has_denorm,
> ----^
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 415: identifier
> "_RWSTD_DBL_HAS_DENORM" is undefined
> _RWSTD_STATIC (double, float_denorm_style, has_denorm,
> ----^
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 464: identifier
> "_RWSTD_LDBL_HAS_DENORM" is undefined
> _RWSTD_STATIC (long double, float_denorm_style, has_denorm,
> ----^
> cxx: Info: 3 errors detected in the compilation of "/build/sebor/dev/stdlib/src/collate.cpp".
--
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
[jira] Commented: (STDCXX-38) [Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-38?page=comments#action_12330030 ]
Martin Sebor commented on STDCXX-38:
------------------------------------
The INFINITY.cpp test responsible for defining the macros unexpectedly exits with SIGFPE due to the arithmetic on a denormalized number:
$ cxx -g3 -c -x cxx -nocxxstd -std strict_ansi_errors -O2 -w1 -msg_disable 450 -D_RWSTD_SHARED_LIB -pthread -D_RWSTD_USE_CONFIG -I. /build/sebor/dev/stdlib/etc/config/src/INFINITY.cpp && cxx INFINITY.o -nocxxstd -liconv -pthread -lm -o INFINITY
$ ladebug INFINITY
Welcome to the Ladebug Debugger Version 68 (built Sep 16 2002 for Tru64 UNIX)
------------------
object file name: INFINITY
Reading symbolic information ...done
(ladebug) r
// IEEE 754 infinities and NANs for a little endian architecture
// (values not computed due to floating exception trapping)
#define _RWSTD_FLT_INF_BITS { 0, 0, '\x80', '\x7f' }
#define _RWSTD_FLT_QNAN_BITS { 0, 0, '\xc0', '\xff' }
#define _RWSTD_FLT_SNAN_BITS { '\x1', 0, '\x80', '\x7f' }
#define _RWSTD_FLT_DENORM_MIN_BITS { '\x1', 0, 0, 0 }
Thread received signal FPE
stopped at [int main(void):787 0x120002308]
787 printf ("#define _RWSTD_FLT_HAS_DENORM %d\n", f_den.val ? 1 : 0);
(ladebug) p f_den.val
2.65249474e-315
> [Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
> ---------------------------------------------------------------------
>
> Key: STDCXX-38
> URL: http://issues.apache.org/jira/browse/STDCXX-38
> Project: STDCXX
> Type: Bug
> Components: Build
> Versions: 4.1.2
> Environment: Compaq C++ 7.1 -O2
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Critical
> Fix For: 4.1.3
>
> cxx -c -D_RWSTD_SHARED_LIB -pthread -D_RWSTD_USE_CONFIG -I/build/sebor/cxx-7.1-12d/include -I/build/sebor/dev/stdlib/include -D_RWSTD_NO_EXPORT -x cxx -nocxxstd -std strict_ansi_errors -O2 -ptr repository.ti -w1 -msg_disable 450 /build/sebor/dev/stdlib/src/collate.cpp
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 368: identifier
> "_RWSTD_FLT_HAS_DENORM" is undefined
> _RWSTD_STATIC (float, float_denorm_style, has_denorm,
> ----^
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 415: identifier
> "_RWSTD_DBL_HAS_DENORM" is undefined
> _RWSTD_STATIC (double, float_denorm_style, has_denorm,
> ----^
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 464: identifier
> "_RWSTD_LDBL_HAS_DENORM" is undefined
> _RWSTD_STATIC (long double, float_denorm_style, has_denorm,
> ----^
> cxx: Info: 3 errors detected in the compilation of "/build/sebor/dev/stdlib/src/collate.cpp".
--
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
[jira] Closed: (STDCXX-38) [Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/STDCXX-38?page=all ]
Martin Sebor closed STDCXX-38:
------------------------------
Fix confirmed.
> [Compaq C++ -O2] build failure due to _RWSTD_*_HAS_DENORM not defined
> ---------------------------------------------------------------------
>
> Key: STDCXX-38
> URL: http://issues.apache.org/jira/browse/STDCXX-38
> Project: STDCXX
> Type: Bug
> Components: Build
> Versions: 4.1.2
> Environment: Compaq C++ 7.1 -O2
> Reporter: Martin Sebor
> Assignee: Martin Sebor
> Priority: Critical
> Fix For: 4.1.3
>
> cxx -c -D_RWSTD_SHARED_LIB -pthread -D_RWSTD_USE_CONFIG -I/build/sebor/cxx-7.1-12d/include -I/build/sebor/dev/stdlib/include -D_RWSTD_NO_EXPORT -x cxx -nocxxstd -std strict_ansi_errors -O2 -ptr repository.ti -w1 -msg_disable 450 /build/sebor/dev/stdlib/src/collate.cpp
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 368: identifier
> "_RWSTD_FLT_HAS_DENORM" is undefined
> _RWSTD_STATIC (float, float_denorm_style, has_denorm,
> ----^
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 415: identifier
> "_RWSTD_DBL_HAS_DENORM" is undefined
> _RWSTD_STATIC (double, float_denorm_style, has_denorm,
> ----^
> cxx: Error: /build/sebor/dev/stdlib/include/limits, line 464: identifier
> "_RWSTD_LDBL_HAS_DENORM" is undefined
> _RWSTD_STATIC (long double, float_denorm_style, has_denorm,
> ----^
> cxx: Info: 3 errors detected in the compilation of "/build/sebor/dev/stdlib/src/collate.cpp".
--
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