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