From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 07AF82FAFD for ; Mon, 30 Apr 2001 19:27:55 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f3UNOrE18394 for axp-list@listman.redhat.com; Mon, 30 Apr 2001 19:24:53 -0400 Received: from w110.web2010.com (root@w110.web2010.com [216.157.57.254]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f3UNOrb18390 for ; Mon, 30 Apr 2001 19:24:53 -0400 Received: from jtcsv.com (ss06.co.us.ibm.com [32.97.110.71]) by w110.web2010.com (8.9.3/8.9.0) with ESMTP id TAA19892 for ; Mon, 30 Apr 2001 19:27:38 -0400 (EDT) Message-ID: <3AEDF28D.549B6F78@jtcsv.com> Date: Mon, 30 Apr 2001 16:17:33 -0700 From: Ram Viswanadha X-Mailer: Mozilla 4.5 [en] (WinNT; U) X-Accept-Language: en,zh,zh-TW,af,zh-CN,ja MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Core dump before reaching main with CXX! References: Content-Type: multipart/mixed; boundary="------------347A250414BD9264E25DFB1C" X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: This is a multi-part message in MIME format. --------------347A250414BD9264E25DFB1C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------347A250414BD9264E25DFB1C Content-Type: text/x-vcard; charset=us-ascii; name="ram.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Ram Viswanadha Content-Disposition: attachment; filename="ram.vcf" 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 --------------347A250414BD9264E25DFB1C--