From: Ram Viswanadha <ram@jtcsv.com>
To: axp-list@redhat.com
Subject: Re: Core dump before reaching main with CXX!
Date: Mon, 30 Apr 2001 16:17:33 -0700 [thread overview]
Message-ID: <3AEDF28D.549B6F78@jtcsv.com> (raw)
In-Reply-To: Pine.LNX.4.21.0104301931490.16661-100000@neoavalon.sigma6.com
[-- Attachment #1: Type: text/plain, Size: 5170 bytes --]
jeff.sturm@appnet.com wrote:
> On Mon, 30 Apr 2001, Ram Viswanadha wrote:
> > 1) I could not get -ieee option working. The compiler found undefined
> > symbols.
>
> Such as?
cxx -D_LP64 -DHAVE_CONFIG_H -I. -D_REENTRANT -D_REENTRANT -I. -I.
-DICU_DATA_DIR=\"/usr/local/lib/icu/1.8/\" -DUDATA_SO_SUFFIX=\".so\"
-DU_COMMON_LIBNAME=\"libicuuc.so.18.0\" -DUDATA_DLL -g -std gnu -c
-D__USE_STD_IOSTREAM -ieee -DPIC -fPIC -o normlzr.o normlzr.cpp
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 837:
identifier "FLT_INFINITY" is undefined
inline static float infinity() _RWSTD_THROW_SPEC_NULL {return
FLT_INFINITY;}
--------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 838:
identifier "FLT_QNAN" is undefined
inline static float quiet_NaN() _RWSTD_THROW_SPEC_NULL {return
FLT_QNAN;}
---------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 839:
identifier "FLT_SNAN" is undefined
inline static float signaling_NaN() _RWSTD_THROW_SPEC_NULL {return
FLT_SNAN;}
-------------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 909:
identifier "DBL_INFINITY" is undefined
inline static double infinity() _RWSTD_THROW_SPEC_NULL {return
DBL_INFINITY;}
---------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 910:
identifier "DBL_QNAN" is undefined
inline static double quiet_NaN() _RWSTD_THROW_SPEC_NULL {return
DBL_QNAN;}
----------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 911:
identifier "DBL_SNAN" is undefined
inline static double signaling_NaN() _RWSTD_THROW_SPEC_NULL
{return DBL_SNAN;}
--------------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 981:
identifier "LDBL_INFINITY" is undefined
inline static long double infinity() _RWSTD_THROW_SPEC_NULL
{return LDBL_INFINITY;}
--------------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 986:
identifier "DBL_QNAN" is undefined
inline static long double quiet_NaN() _RWSTD_THROW_SPEC_NULL
{return DBL_QNAN;}
---------------------------------------------------------------------------^
cxx: Error: /usr/lib/compaq/cxx-6.3.9.7/alpha-linux/include/cxx/limits,
line 987:
identifier "DBL_SNAN" is undefined
inline static long double signaling_NaN() _RWSTD_THROW_SPEC_NULL
{return DBL_SNAN;}
-------------------------------------------------------------------------------^
cxx: Info: 9 errors detected in the compilation of "normlzr.cpp".
>
>
> > 2)So compiled and built the libraries without -ieee option, but most of
> > our tools are core dumping even before reaching main(). So I am lost.
>
> Did you get a backtrace from gdb?
>
> You've left out a lot of critical details that would make it easier to
> help you.
GNU gdb 4.17.0.11 with Linux support
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "alpha-redhat-linux"...
(gdb) br main
Breakpoint 1 at 0x2bf4: file genrb.c, line 84.
(gdb) r
Starting program: /home/raghu/work/icu/source/tools/genrb/genrb
Cannot insert breakpoint 1:
Temporarily disabling shared library breakpoints:
1 -2
Program received signal SIGSEGV, Segmentation fault.
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x20001002aac
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable). In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.
Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
0x20001002aac in ?? ()
(gdb) bt
#0 0x20001002aac in ?? ()
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x20000524400
(gdb) set heuristic-fence-post 300
(gdb) bt
#0 0x20001002aac in ?? ()
Cannot access memory at address 0x200005243fc.
(gdb) quit
The program is running. Exit anyway? (y or n) y
The program was compiled using -gall switch which, supposedly,includes all
the debug information.
Regards,
Ram
>
> --
> Jeff Sturm
> jeff.sturm@commerceone.com
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list
[-- Attachment #2: Card for Ram Viswanadha --]
[-- Type: text/x-vcard, Size: 190 bytes --]
begin:vcard
n:Viswanadha;Ram
x-mozilla-html:FALSE
org:IBM;International Components for Unicode
adr:;;;;;;
version:2.1
email;internet:ram@jtcsv.com
title:Unicode Software Engineer
end:vcard
next prev parent reply other threads:[~2001-04-30 23:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-30 22:36 Core dump before reaching main with CXX! Ram Viswanadha
2001-04-30 22:52 ` Uncle George
2001-04-30 22:53 ` Ram Viswanadha
2001-04-30 23:21 ` Uncle George
2001-05-01 16:17 ` Ram Viswanadha
2001-04-30 22:54 ` T. Daniel Crawford
2001-04-30 23:33 ` jeff.sturm
2001-04-30 23:17 ` Ram Viswanadha [this message]
2001-05-01 17:49 ` jeff.sturm
2001-05-01 21:57 ` W Bauske
2001-05-01 22:26 ` jeff.sturm
2001-05-02 2:28 ` W Bauske
2001-05-02 2:15 ` Ram Viswanadha
2001-05-02 3:00 ` W Bauske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox