Go Back   ZeroC Forums > Bug Reports

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-03-2005
minifat minifat is offline
Registered User
 
Name: Yan Yaqin
Organization: CEPRI
Project: data interface
 
Join Date: Jul 2004
Location: Beijing, China
Posts: 40
Compile error on Redhat Enterprise Linux 3.0 update 2

[root@c0101 Ice-2.1.1]# uname -a
Linux c0101 2.4.21-15.EL #1 SMP Thu Apr 22 00:09:47 EDT 2004 x86_64 x86_64 x86_64 GNU/Linux

[root@c0101 Ice-2.1.1]# gcc -v
Reading specs from /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)
[root@c0101 Ice-2.1.1]#

c++ -c -I../../include -I.. -DICE_PACK_API_EXPORTS -DGPL_BUILD -DHAVE_READLINE -O2 -DNDEBUG -m64 -ftemplate-depth-128 -fPIC -Wall -D_REENTRANT Registry.cpp
Registry.cpp: In member function `bool IcePack::Registry::start(bool)':
Registry.cpp:320: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
make[2]: *** [Registry.o] Error 1
make[2]: Leaving directory `/home/yyq/Ice-2.1.1/src/IcePack'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/yyq/Ice-2.1.1/src'
make: *** [all] Error 1

After turn off OPTIMIZE, it's ok.
Reply With Quote
  #2 (permalink)  
Old 06-03-2005
marc's Avatar
marc marc is offline
ZeroC Staff
 
Name: Marc Laukien
Organization: ZeroC, Inc.
Project: The Internet Communications Engine
 
Join Date: Feb 2003
Location: Florida
Posts: 1,781
This is an internal error in the GNU C++ compiler version you are using, and not an Ice bug. Let me suggest that you try a newer compiler version. (But don't use the latest GCC 4.0 yet, it has some bugs that make it unusable for Ice. These bugs will be fixed in GCC 4.0.1, which is not released yet.)
Reply With Quote
  #3 (permalink)  
Old 06-03-2005
minifat minifat is offline
Registered User
 
Name: Yan Yaqin
Organization: CEPRI
Project: data interface
 
Join Date: Jul 2004
Location: Beijing, China
Posts: 40
Thanks! maybe i will try gcc-3.4.4
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Build error in Redhat Linux 9.0 wuqiu Help Center 10 05-16-2006 11:39 PM
Ice2.0 compile error on linux! rc_hz Help Center 1 12-18-2004 08:09 AM
Redhat Enterprise Linux (RHEL) support? kent144 Help Center 3 08-07-2004 09:19 PM
Make on Red Hat Enterprise Linux ES release 2.1 (Panama) fails ahartveld Bug Reports 6 10-07-2003 12:07 PM
linux compile error tiberius Help Center 2 09-12-2003 09:57 AM


All times are GMT -4. The time now is 05:47 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.